{ "info": { "author": "Shravan Murali", "author_email": "shravanmurali@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Topic :: Education" ], "description": "ORM - Creator \n------------- \n\nDescription \n~~~~~~~~~~~ \n\nMap SQL (MySQl) table(s) and generate ORM classes for them automatically !! \nThis proves to be very useful especially in cases where the number of tables is huge \n\nDemo \n~~~~ \n\nFrom command line \n''''''''''''''''' \n\n.. image:: https://cloud.githubusercontent.com/assets/10980285/17341384/f58637a4-5911-11e6-9309-deb9c4ae3dd8.gif \n\nAs a python module \n'''''''''''''''''' \n.. image:: https://cloud.githubusercontent.com/assets/10980285/17342191/a87677f4-5915-11e6-8cd1-7060eead65b3.gif \n\n\n\nInstallation \n~~~~~~~~~~~~ \n\nUsing this repository \n''''''''''''''''''''' \n\n.. code:: sh\n\n git clone http://github.com/shravan97/ORM-Creator \n\n\n\n.. code:: sh\n\n cd ORM-Creator \n\n\n\n.. code:: sh\n\n python setup.py install \n\n\n\nUsing pip \n''''''''' \n\nComing up soon !\n\nUsage \n~~~~~ \n\n.. code:: sh\n\n usage: orm-creator [-h] [-db DB] [-t TABLES [TABLES ...]] [-host HOST]\n [-u UNAME] [-o OUTFILE]\n\n optional arguments:\n -h, --help show this help message and exit\n -db DB The name of database from which tables will have to\n mapped\n -t TABLES [TABLES ...]\n List of table names each separated by one or more\n space\n -host HOST Name of the MySql host For Eg., localhost ,\n mysql.mydomain.com ,....etc\n -u UNAME Your Mysql username\n -o OUTFILE Output file name ,along with its extension and\n absolute path For Eg. , /home/shravan97/Desktop/out.py \n\n \n\nSample \n~~~~~~ \n\nAs a command line app \n''''''''''''''''''''' \n\n.. code:: sh\n \n orm-creator -u root -db demo -t users migrations -o /var/www/flaskApp/db.py\n\n # The above statement maps `users` and `migrations` tables \n \n\n \n\nAs a module \n''''''''''' \n\n.. code:: python\n\n from orm_creator import ormCreator\n oc = ormCreator(config,'demo',['users','migrations'],'/var/www/flaskApp/db.py')\n\n # config is stored as a dict . For eg. , config = {'uname':'root','password':'**','host':'localhost'}\n\n oc.generate_file()\n\n \n\n\nPlease check `here `__ \n\n\n\nContributions \n~~~~~~~~~~~~~ \n\nFound any cool idea that could be implemented here ? Go ahead and give a pull request :smile: ! \nYou may as well put it up as an issue `here `__ \n\nContributors \n~~~~~~~~~~~~ \n\n- `shravan97 `__ \n\n\nLicense \n~~~~~~~ \n\nGNU General Public License v3 (GPLv3) \n\n.. image:: https://cloud.githubusercontent.com/assets/10980285/16361582/a40f472a-3bb2-11e6-80c4-dd633af6c284.png ", "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/shravan97/ORM-Creator", "keywords": "sqlalchemy,automate,ORM,MySql", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "orm-creator", "package_url": "https://pypi.org/project/orm-creator/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/orm-creator/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/shravan97/ORM-Creator" }, "release_url": "https://pypi.org/project/orm-creator/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Automatically maps sql tables and generates classes for ORM manipulation", "version": "1.0.0" }, "last_serial": 2260566, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "481dd0a35afd9f398211d7ad8d2e1b82", "sha256": "de9428fee9d1b399cf023d065d0da5e00f031623351978ebf7fae61e2467c8da" }, "downloads": -1, "filename": "orm-creator-1.0.0.tar.gz", "has_sig": false, "md5_digest": "481dd0a35afd9f398211d7ad8d2e1b82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4382, "upload_time": "2016-08-03T19:04:49", "url": "https://files.pythonhosted.org/packages/23/19/824d79e7582e86254e77959e29b4d91002a023cde380cc7e3cc4c67bdbe4/orm-creator-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "481dd0a35afd9f398211d7ad8d2e1b82", "sha256": "de9428fee9d1b399cf023d065d0da5e00f031623351978ebf7fae61e2467c8da" }, "downloads": -1, "filename": "orm-creator-1.0.0.tar.gz", "has_sig": false, "md5_digest": "481dd0a35afd9f398211d7ad8d2e1b82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4382, "upload_time": "2016-08-03T19:04:49", "url": "https://files.pythonhosted.org/packages/23/19/824d79e7582e86254e77959e29b4d91002a023cde380cc7e3cc4c67bdbe4/orm-creator-1.0.0.tar.gz" } ] }