Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install magento

How to install magento

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install magento
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.4Never BuiltWhy not?
0.1.1 Failed View build log
Windows (64-bit)
0.4Never BuiltWhy not?
0.1.1 Failed View build log
Mac OS X (10.5+)
0.4Never BuiltWhy not?
0.1.1 Failed View build log
Linux (32-bit)
0.1.4
0.4Never BuiltWhy not?
0.1.4 Available View build log
0.1.1 Failed View build log
Linux (64-bit)
0.4 Available View build log
0.1.4 Available View build log
0.1.1 Failed View build log
Web
 
License
GNU Affero General Public License v3
Dependencies
Depended by
Imports
Lastest release
version 0.4 on Jan 9th, 2014

Python library to connect to Magento Webservices.

Check documentation source code

Usage

System Message: ERROR/3 (<string>, line 11)

Unknown directive type "code-block".

.. code-block:: python

    import magento

    url = 'http://domain.com/'
    apiuser = 'user'
    apipass = 'password'

    with magento.Product(url, apiuser, apipass) as product_api:
        order_filter = {'created_at':{'from':'2011-09-15 00:00:00'}}
        products = product_api.list(order_filter)

    with magento.ProductTypes(url, apiuser, apipass) as product_type_api:
        product_type = product_type_api.list()

    with magento.Product(url, apiuser, apipass) as product_api:
        sku = 'prod1'
        product = product_api.info(sku)

    with magento.API(url, apiuser, apipass) as magento_api:
        # Calling custom APIs if you have extension modules on your
        # magento installation
        websites = magento_api.call('ol_websites.list', [])
        store_group = magento_api.call('ol_groups.list', [])
        store_views = magento_api.call('ol_storeviews.list', [])

    with magento.Order(url, apiuser, apipass) as order_api:
        order_increment_id = '100000001 '
        status = 'canceled'
        order_api.addcomment(order_increment_id, status)

    with magento.Store(url, apiuser, apipass) as store_api:
        store_id = '1'
        store_view_info = store_api.info(store_id)
        store_views = store_api.list()

     with magento.Magento(url, apiuser, apipass) as magento_api:
        magento_info = magento_api.info()


License

GNU Affero General Public License version 3

See LICENSE for more details

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.