This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Easily create Python objects from dictionaries- basically an ORM that can work with any type of database. Usage example:

from cargo.spec import Spec, unpack
from cargo.fields import Field

class Model(Spec):
    name    = Field(str).With.length(6)
    version = Field(tuple).where.each.Is.An(int)

unpack(Model, {
    'name':'Eugene',
    'version':(0,1)
    })

Nested unpacking is currently supported but the library assumes that you are passing in objects of a reasonable depth (i.e. not recursive) and therefore does not cache the seen values.

cargo is still work in progress and it’s API may change either completeley or partially, or the internal functionality modified without any notice at any given point in time.

You can now get this package easily by installing the latest release from the Python Package Index, something like the following:

$ pip install cargo

If you want to run the test suites or contribute some code you need to install a library called Requires via pip, i.e. which will make the tests run:

$ pip install Requires
$ git clone ssh://git@github.com/eugene-eeo/cargo
$ python cargo/tests.py
Release History

Release History

0.2.15

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting