pony


Namepony JSON
Version 0.7.17 PyPI version JSON
download
home_pagehttps://ponyorm.com
SummaryPony Object-Relational Mapper
upload_time2023-09-25 09:42:59
maintainer
docs_urlNone
authorAlexander Kozlovsky <alexander.kozlovsky@gmail.com>, Alexey Malashkevich <alexey@ponyorm.org>, Alexander Tischenko <sashaaero@yandex.ru>
requires_python
licenseApache License Version 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
About
=========
Pony ORM is easy to use and powerful object-relational mapper for Python.
Using Pony, developers can create and maintain database-oriented software applications
faster and with less effort. One of the most interesting features of Pony is
its ability to write queries to the database using generator expressions.
Pony then analyzes the abstract syntax tree of a generator and translates it
to its SQL equivalent.

Following is an example of a query in Pony::

    select(p for p in Product if p.name.startswith('A') and p.cost <= 1000)

Such approach simplify the code and allows a programmer to concentrate
on the business logic of the application.

Pony translates queries to SQL using a specific database dialect.
Currently Pony works with SQLite, MySQL, PostgreSQL and Oracle databases.

The package `pony.orm.examples <https://github.com/ponyorm/pony/tree/orm/pony/orm/examples>`_
contains several examples.

Installation
=================
::

    pip install pony

Entity-Relationship Diagram Editor
=============================================
`Pony online ER Diagram Editor <https://editor.ponyorm.com>`_ is a great tool for prototyping.
You can draw your ER diagram online, generate  Pony entity declarations or SQL script for
creating database schema based on the diagram and start working with the database in seconds.

Pony ORM Links:
=================
- Main site: https://ponyorm.com
- Documentation: https://docs.ponyorm.com
- GitHub: https://github.com/ponyorm/pony
- Mailing list:  http://ponyorm-list.ponyorm.com
- ER Diagram Editor: https://editor.ponyorm.com
- Blog: https://blog.ponyorm.com



            

Raw data

            {
    "_id": null,
    "home_page": "https://ponyorm.com",
    "name": "pony",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Alexander Kozlovsky <alexander.kozlovsky@gmail.com>, Alexey Malashkevich <alexey@ponyorm.org>, Alexander Tischenko <sashaaero@yandex.ru>",
    "author_email": "team@ponyorm.com",
    "download_url": "https://files.pythonhosted.org/packages/8a/f5/da8d34d321c879a606eef4afe5eead40c5480ac433dbae2e65f94e14fa22/pony-0.7.17.tar.gz",
    "platform": null,
    "description": "\r\nAbout\r\n=========\r\nPony ORM is easy to use and powerful object-relational mapper for Python.\r\nUsing Pony, developers can create and maintain database-oriented software applications\r\nfaster and with less effort. One of the most interesting features of Pony is\r\nits ability to write queries to the database using generator expressions.\r\nPony then analyzes the abstract syntax tree of a generator and translates it\r\nto its SQL equivalent.\r\n\r\nFollowing is an example of a query in Pony::\r\n\r\n    select(p for p in Product if p.name.startswith('A') and p.cost <= 1000)\r\n\r\nSuch approach simplify the code and allows a programmer to concentrate\r\non the business logic of the application.\r\n\r\nPony translates queries to SQL using a specific database dialect.\r\nCurrently Pony works with SQLite, MySQL, PostgreSQL and Oracle databases.\r\n\r\nThe package `pony.orm.examples <https://github.com/ponyorm/pony/tree/orm/pony/orm/examples>`_\r\ncontains several examples.\r\n\r\nInstallation\r\n=================\r\n::\r\n\r\n    pip install pony\r\n\r\nEntity-Relationship Diagram Editor\r\n=============================================\r\n`Pony online ER Diagram Editor <https://editor.ponyorm.com>`_ is a great tool for prototyping.\r\nYou can draw your ER diagram online, generate  Pony entity declarations or SQL script for\r\ncreating database schema based on the diagram and start working with the database in seconds.\r\n\r\nPony ORM Links:\r\n=================\r\n- Main site: https://ponyorm.com\r\n- Documentation: https://docs.ponyorm.com\r\n- GitHub: https://github.com/ponyorm/pony\r\n- Mailing list:  http://ponyorm-list.ponyorm.com\r\n- ER Diagram Editor: https://editor.ponyorm.com\r\n- Blog: https://blog.ponyorm.com\r\n\r\n\r\n",
    "bugtrack_url": null,
    "license": "Apache License Version 2.0",
    "summary": "Pony Object-Relational Mapper",
    "version": "0.7.17",
    "project_urls": {
        "Documentation": "https://docs.ponyorm.org",
        "Download": "http://pypi.python.org/pypi/pony/",
        "Homepage": "https://ponyorm.com",
        "Source": "https://github.com/ponyorm/pony"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "758598364c3fae233e5d41754a2a6b33425a95f5f9686ac156b26d648f0b8777",
                "md5": "e857f729f8559eb7a3a26005cc74463f",
                "sha256": "c37e9b44f975d147b79cf56925b16b0e40b2b47ba5958d0c01579f37a5a24f7c"
            },
            "downloads": -1,
            "filename": "pony-0.7.17-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e857f729f8559eb7a3a26005cc74463f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 316700,
            "upload_time": "2023-09-25T09:42:56",
            "upload_time_iso_8601": "2023-09-25T09:42:56.466508Z",
            "url": "https://files.pythonhosted.org/packages/75/85/98364c3fae233e5d41754a2a6b33425a95f5f9686ac156b26d648f0b8777/pony-0.7.17-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8af5da8d34d321c879a606eef4afe5eead40c5480ac433dbae2e65f94e14fa22",
                "md5": "9bb4a82957489664a6f2d30af26a5df8",
                "sha256": "b72172d57abd5e0846cd8d71231572da20f526327bf0d33348a9276f624d8aa7"
            },
            "downloads": -1,
            "filename": "pony-0.7.17.tar.gz",
            "has_sig": false,
            "md5_digest": "9bb4a82957489664a6f2d30af26a5df8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 257961,
            "upload_time": "2023-09-25T09:42:59",
            "upload_time_iso_8601": "2023-09-25T09:42:59.751759Z",
            "url": "https://files.pythonhosted.org/packages/8a/f5/da8d34d321c879a606eef4afe5eead40c5480ac433dbae2e65f94e14fa22/pony-0.7.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-25 09:42:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ponyorm",
    "github_project": "pony",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pony"
}
        
Elapsed time: 0.11941s