cythereal-neomodel


Namecythereal-neomodel JSON
Version 3.3.5 PyPI version JSON
download
home_pagehttp://github.com/neo4j-contrib/neomodel
SummaryAn object mapper for the neo4j graph database.
upload_time2024-04-22 17:34:34
maintainerNone
docs_urlNone
authorRobin Edwards
requires_pythonNone
licenseMIT
keywords graph neo4j orm ogm
VCS
bugtrack_url
requirements neo4j
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://raw.githubusercontent.com/neo4j-contrib/neomodel/master/doc/source/_static/neomodel-300.png
   :alt: neomodel

NOTE: This is a customized version of neomodel for personal use. Use the
`official version`_ instead.

An Object Graph Mapper (OGM) for the neo4j_ graph database, built on the awesome neo4j_driver_

- Familiar Django model style definitions.
- Powerful query API.
- Enforce your schema through cardinality restrictions.
- Full transaction support.
- Thread safe.
- pre/post save/delete hooks.
- Django integration via django_neomodel_

.. _django_neomodel: https://github.com/neo4j-contrib/django-neomodel
.. _neo4j: https://neo4j.com/
.. _neo4j_driver: https://github.com/neo4j/neo4j-python-driver
.. _official version: https://github.com/neo4j-contrib/neomodel

.. image:: https://secure.travis-ci.org/neo4j-contrib/neomodel.png
    :target: https://secure.travis-ci.org/neo4j-contrib/neomodel/

.. image:: https://readthedocs.org/projects/neomodel/badge/?version=latest
    :alt: Documentation Status
    :scale: 100%
    :target: https://neomodel.readthedocs.io/en/latest/?badge=latest


Documentation
=============

Available on readthedocs_.

.. _readthedocs: http://neomodel.readthedocs.org

Requirements
============

- Python 2.7 (Up to version 3.3.1), 3.4+
- neo4j 3.0, 3.1, 3.2, 3.3

Installation
============

Install from pypi (recommended)::

    $ pip install neomodel

To install from github::

    $ pip install git+git://github.com/neo4j-contrib/neomodel.git@HEAD#egg=neomodel-dev

Upgrading 2.x to 3.x
====================

 * Now utilises neo4j_driver as the backend which uses bolt so neo4j 3 is required
 * Connection now set through config.DATABASE_URL (see getting started docs)
 * The deprecated category() method on StructuredNode has been removed
 * The deprecated index property on StructuredNode has been removed
 * The streaming=True flag is now irrelevant with bolt and produces a deprecation warning
 * Batch operations must now be wrapped in a transaction in order to be atomic
 * Indexing NodeSets returns a single node now as opposed to a list

Contributing
============

Ideas, bugs, tests and pull requests always welcome. 

As of release `3.3.5` we now have a curated list of issues / development targets for
`neomodel` available on `the Wiki <https://github.com/neo4j-contrib/neomodel/wiki/TODOs-&-Enhancements>`_.

If you are interested in developing `neomodel` further, pick a subject from the list and open a Pull Request (PR) for 
it. If you are adding a feature that is not captured in that list yet, consider if the work for it could also 
contribute towards delivering any of the existing todo items too.

Running the test suite
----------------------

Make sure you have a Neo4j database version 3 or higher to run the tests on.::

    $ export NEO4J_BOLT_URL=bolt://neo4j:neo4j@localhost:7687 # (the default)

Setup a virtual environment, install neomodel for development and run the test suite::

    $ virtualenv venv
    $ source venv/bin/activate
    $ python setup.py develop
    $ pytest

If you are running a neo4j database for the first time the test suite will set the password to 'test'.
If the database is already populated, the test suite will abort with an error message and ask you to re-run it with the
`--resetdb` switch. This is a safeguard to ensure that the test suite does not accidentally wipe out a database if
you happen to not have restarted your Neo4j server to point to a (usually named) `debug.db` database.

If you have ``docker-compose`` installed, you can run the test suite against all supported Python
interpreters and neo4j versions::

    # in the project's root folder:
    $ ./tests-with-docker-compose.sh


.. image:: https://badges.gitter.im/Join%20Chat.svg
   :alt: Join the chat at https://gitter.im/neo4j-contrib/neomodel
   :target: https://gitter.im/neo4j-contrib/neomodel?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge



            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/neo4j-contrib/neomodel",
    "name": "cythereal-neomodel",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "graph neo4j ORM OGM",
    "author": "Robin Edwards",
    "author_email": "robin.ge@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8e/13/c7573ef116900c93fd2cd6cd237a9409dfc5a50da284e541f94965e525df/cythereal-neomodel-3.3.5.tar.gz",
    "platform": null,
    "description": ".. image:: https://raw.githubusercontent.com/neo4j-contrib/neomodel/master/doc/source/_static/neomodel-300.png\n   :alt: neomodel\n\nNOTE: This is a customized version of neomodel for personal use. Use the\n`official version`_ instead.\n\nAn Object Graph Mapper (OGM) for the neo4j_ graph database, built on the awesome neo4j_driver_\n\n- Familiar Django model style definitions.\n- Powerful query API.\n- Enforce your schema through cardinality restrictions.\n- Full transaction support.\n- Thread safe.\n- pre/post save/delete hooks.\n- Django integration via django_neomodel_\n\n.. _django_neomodel: https://github.com/neo4j-contrib/django-neomodel\n.. _neo4j: https://neo4j.com/\n.. _neo4j_driver: https://github.com/neo4j/neo4j-python-driver\n.. _official version: https://github.com/neo4j-contrib/neomodel\n\n.. image:: https://secure.travis-ci.org/neo4j-contrib/neomodel.png\n    :target: https://secure.travis-ci.org/neo4j-contrib/neomodel/\n\n.. image:: https://readthedocs.org/projects/neomodel/badge/?version=latest\n    :alt: Documentation Status\n    :scale: 100%\n    :target: https://neomodel.readthedocs.io/en/latest/?badge=latest\n\n\nDocumentation\n=============\n\nAvailable on readthedocs_.\n\n.. _readthedocs: http://neomodel.readthedocs.org\n\nRequirements\n============\n\n- Python 2.7 (Up to version 3.3.1), 3.4+\n- neo4j 3.0, 3.1, 3.2, 3.3\n\nInstallation\n============\n\nInstall from pypi (recommended)::\n\n    $ pip install neomodel\n\nTo install from github::\n\n    $ pip install git+git://github.com/neo4j-contrib/neomodel.git@HEAD#egg=neomodel-dev\n\nUpgrading 2.x to 3.x\n====================\n\n * Now utilises neo4j_driver as the backend which uses bolt so neo4j 3 is required\n * Connection now set through config.DATABASE_URL (see getting started docs)\n * The deprecated category() method on StructuredNode has been removed\n * The deprecated index property on StructuredNode has been removed\n * The streaming=True flag is now irrelevant with bolt and produces a deprecation warning\n * Batch operations must now be wrapped in a transaction in order to be atomic\n * Indexing NodeSets returns a single node now as opposed to a list\n\nContributing\n============\n\nIdeas, bugs, tests and pull requests always welcome. \n\nAs of release `3.3.5` we now have a curated list of issues / development targets for\n`neomodel` available on `the Wiki <https://github.com/neo4j-contrib/neomodel/wiki/TODOs-&-Enhancements>`_.\n\nIf you are interested in developing `neomodel` further, pick a subject from the list and open a Pull Request (PR) for \nit. If you are adding a feature that is not captured in that list yet, consider if the work for it could also \ncontribute towards delivering any of the existing todo items too.\n\nRunning the test suite\n----------------------\n\nMake sure you have a Neo4j database version 3 or higher to run the tests on.::\n\n    $ export NEO4J_BOLT_URL=bolt://neo4j:neo4j@localhost:7687 # (the default)\n\nSetup a virtual environment, install neomodel for development and run the test suite::\n\n    $ virtualenv venv\n    $ source venv/bin/activate\n    $ python setup.py develop\n    $ pytest\n\nIf you are running a neo4j database for the first time the test suite will set the password to 'test'.\nIf the database is already populated, the test suite will abort with an error message and ask you to re-run it with the\n`--resetdb` switch. This is a safeguard to ensure that the test suite does not accidentally wipe out a database if\nyou happen to not have restarted your Neo4j server to point to a (usually named) `debug.db` database.\n\nIf you have ``docker-compose`` installed, you can run the test suite against all supported Python\ninterpreters and neo4j versions::\n\n    # in the project's root folder:\n    $ ./tests-with-docker-compose.sh\n\n\n.. image:: https://badges.gitter.im/Join%20Chat.svg\n   :alt: Join the chat at https://gitter.im/neo4j-contrib/neomodel\n   :target: https://gitter.im/neo4j-contrib/neomodel?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An object mapper for the neo4j graph database.",
    "version": "3.3.5",
    "project_urls": {
        "Homepage": "http://github.com/neo4j-contrib/neomodel"
    },
    "split_keywords": [
        "graph",
        "neo4j",
        "orm",
        "ogm"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eb3b06862accbb495772c609027bf80b47276c5c1b420bd65d37c967e9be8b5b",
                "md5": "6c1ccf71cf5cb7fbf55556a4cd7de6fd",
                "sha256": "2872d734152d6de14e69f3d8e6e8973a723f3491d76f6aea33f736c29bf613e0"
            },
            "downloads": -1,
            "filename": "cythereal_neomodel-3.3.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6c1ccf71cf5cb7fbf55556a4cd7de6fd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 44558,
            "upload_time": "2024-04-22T17:34:32",
            "upload_time_iso_8601": "2024-04-22T17:34:32.615888Z",
            "url": "https://files.pythonhosted.org/packages/eb/3b/06862accbb495772c609027bf80b47276c5c1b420bd65d37c967e9be8b5b/cythereal_neomodel-3.3.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e13c7573ef116900c93fd2cd6cd237a9409dfc5a50da284e541f94965e525df",
                "md5": "7ccb767c1397761a7f65e5e672aba903",
                "sha256": "80b355ea9118c595b709c5c60b2485304748224632ef98e774a502a435d8266d"
            },
            "downloads": -1,
            "filename": "cythereal-neomodel-3.3.5.tar.gz",
            "has_sig": false,
            "md5_digest": "7ccb767c1397761a7f65e5e672aba903",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 58916,
            "upload_time": "2024-04-22T17:34:34",
            "upload_time_iso_8601": "2024-04-22T17:34:34.568986Z",
            "url": "https://files.pythonhosted.org/packages/8e/13/c7573ef116900c93fd2cd6cd237a9409dfc5a50da284e541f94965e525df/cythereal-neomodel-3.3.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-22 17:34:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "neo4j-contrib",
    "github_project": "neomodel",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "neo4j",
            "specs": [
                [
                    "~=",
                    "5.14.1"
                ]
            ]
        }
    ],
    "lcname": "cythereal-neomodel"
}
        
Elapsed time: 0.27482s