{ "info": { "author": "David Davis", "author_email": "davisd50@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7" ], "description": "sparc.db\n========\n\nDatabase interaction utilities for the SPARC platform.\n\nSQL Databases\n-------------\nInteractions to SQL databases are provided via SQLAlchemy (http://www.sqlalchemy.org/).\nIn addition, z3c.saconfig (https://pypi.python.org/pypi/z3c.saconfig) is \nprovided to allow connection configuration andintegration of SQLAlchemy in ZCA.\n\n### Usage - SQLite memory DB connection\n These steps will give you access to a SQLAlchemy session, see the SQLAlchemy\n docs to understand how to interact with this object.\n >>> import sparc.db\n >>> from sparc.common import Configure\n >>> from zope.component import getUtility\n >>> from z3c.saconfig.interfaces import IEngineFactory, IScopedSession\n >>> Configure((sparc.db, 'memory.zcml',))\n >>> myEngine = getUtility(IEngineFactory, name=\"memory_engine\")\n >>> mySession = getUtility(IScopedSession, name=\"memory_session\")\n \n The above example gives access to a in-memoery SQLite instance. In practice,\n you would create your own db.zcml with the appropriate connection information.\n See SAConfig documentation on how to create the ZCML configu file.\nsparc.db\n==========\n\n0.0.3\n++++++++++++++++++\n\n* pypi packaging update\n\n0.0.2\n++++++++++++++++++\n\n* include zcml configuration files in packaging\n\n0.0.1\n++++++++++++++++++\n\n* initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/davisd50/sparc.db", "keywords": "zca", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "sparc.db", "package_url": "https://pypi.org/project/sparc.db/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sparc.db/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/davisd50/sparc.db" }, "release_url": "https://pypi.org/project/sparc.db/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "Database interaction utilities for the SPARC platform", "version": "0.0.3" }, "last_serial": 1792289, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5566235463c531ba2edc4f4abbbed6c7", "sha256": "978bfb74d05ec93009409e6935ac0b914bdf930c80cfc623defa0643977e06d1" }, "downloads": -1, "filename": "sparc.db-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5566235463c531ba2edc4f4abbbed6c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7518, "upload_time": "2015-10-16T17:08:25", "url": "https://files.pythonhosted.org/packages/c5/7e/8f3bf8201683cd729b5f3875dc5e3dfcb0a3d806f8ad1b1120225e616548/sparc.db-0.0.1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "9179306c2d232834ff115cd7761e8aac", "sha256": "00ac41b7e1129984e257e94df99c7e841f9977f51fc1c47b84ecb984528d8468" }, "downloads": -1, "filename": "sparc.db-0.0.3.tar.gz", "has_sig": false, "md5_digest": "9179306c2d232834ff115cd7761e8aac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9077, "upload_time": "2015-10-29T18:22:26", "url": "https://files.pythonhosted.org/packages/f9/f2/bc3e1eff665c10c0d03d15c2caf89576286d909d92420237d37807d3741c/sparc.db-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9179306c2d232834ff115cd7761e8aac", "sha256": "00ac41b7e1129984e257e94df99c7e841f9977f51fc1c47b84ecb984528d8468" }, "downloads": -1, "filename": "sparc.db-0.0.3.tar.gz", "has_sig": false, "md5_digest": "9179306c2d232834ff115cd7761e8aac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9077, "upload_time": "2015-10-29T18:22:26", "url": "https://files.pythonhosted.org/packages/f9/f2/bc3e1eff665c10c0d03d15c2caf89576286d909d92420237d37807d3741c/sparc.db-0.0.3.tar.gz" } ] }