Skip to main content

object-relational mapper for the git object store

Project description


-=} Git ORM {=-
Git Object-Relational Mapper


Git-orm provides a django model like interface for storing objects in a git
repository.


INSTALLATION:

Compile libgit2[1] from source or install it via your distributions package
manager. Currently git-orm is tested with libgit2 version 0.17.0.
Afterwards execute the setup script (root permissions might be needed):

$ ./setup.py install


HACKING:

PEP 8[2] should be followed for every new code.
An exception to this rule is when creating custom exceptions (no pun intended).
The pass keyword should appear on the same line as the class keyword when no
methods are overwritten in the subclass. So multiple custom exceptions may be
declared without wasting screen space.
e.g.:

class FrobnicationNotPossible(Exception): pass
class IDontWantToDoThis(Exception): pass

Automatic style checking and detection of common errors is possible with pep8
and pyflakes. Both tools are available on pypi.

When hacking on git-orm you can install it in development mode.

$ ./setup.py develop

Development mode allows to change the source code without reinstalling the
package.

Please run the test suite before opening a pull request or committing in the
master branch.

$ ./setup.py nosetests

Every non-trivial code should have according tests.


AUTHORS & CONTRIBUTORS:

Martin Natano <natano@natano.net>
Andreas Kopecky <andreas.kopecky@gmail.com>


[1] https://github.com/libgit2/libgit2
[2] http://www.python.org/dev/peps/pep-0008/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for git-orm, version 0.1a0
Filename, size File type Python version Upload date Hashes
Filename, size git-orm-0.1a0.tar.gz (11.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page