{ "info": { "author": "Pat Daburu", "author_email": "pat@daburu.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries" ], "description": "dbgdb\n=====\n\nThis is a library containing\n`Luigi `__ tasks to\nhelp you get that data into (and out of) your GIS databases. The library\nalso comes with a command-line interface based on\n`Click `__ that can be helpful for running\ntasks individually.\n\nGetting Started\n---------------\n\nPrerequisites\n~~~~~~~~~~~~~\n\npip install\n^^^^^^^^^^^\n\nYou can use pip to install the library itself.\n\n.. code:: bash\n\n pip install dbgdb\n\nGDAL/OGR\n^^^^^^^^\n\nYou will also need ``ogr2ogr`` which you can get by installing\n`GDAL `__.\n\n**Note: In this early version we expect ``ogr2ogr`` to be in your system\npath. Improvements on that point are forthcoming.**\n\nUsing Tasks\n-----------\n\nThis library contains a number of tasks that you can use in your Luigi\npipelines.\n\nPgLoadTask\n~~~~~~~~~~\n\nUse\n```PgLoadTask`` `__\ntask to import your data (likely a file geodatabase) to your PostgreSQL\ndatabase.\n\nPgExtractTask\n~~~~~~~~~~~~~\n\nUse a\n```PgExtractTask`` `__\nto get your data out of the database.\n\nPgDropSchemaTask\n~~~~~~~~~~~~~~~~\n\nIf you need to drop the import schema because you're starting the\nprocess over, use\n```PgDropSchemaTask`` `__.\n\nUsing the Command Line\n----------------------\n\nA Note about the CLI and Luigi\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nMost of the commands you run with the command-line interface (CLI)\ncreate Luigi tasks which are then submitted to a Luigi scheduler. The\n*-l* parameter indicates that the tasks should be run using the local\nscheduler. The examples listed below use this parameter.\n\nGetting Help\n~~~~~~~~~~~~\n\n``dbgdb`` has its own command-line help.\n\n.. code:: bash\n\n dbgdb --help\n\nLoad Data\n~~~~~~~~~\n\nYou can load a file geodatabase with the ``load`` subcommand.\n\n.. code:: bash\n\n dbgdb -l load --schema myschema /path/to/your/data.gdb\n\nExtract Data\n~~~~~~~~~~~~\n\nYou can extract all of the data within a schema to an output file with\nthe ``extract`` subcommand.\n\n.. code:: bash\n\n dbgdb -l extract --schema myschema /path/to/your/exported/data.db\n\n**Note: At the moment, we can export to\n`GeoPackage `__ or\n`Spatialite `__\nformats. Support for ESRI File Geodatabses (gdb) is still in the\nworks.**\n\nDrop a Schema\n~~~~~~~~~~~~~\n\nIf the target schema for your ``load`` command already exists, you may\nnotice Luigi reports there was nothing to do because, from the task's\nperspective, the work is already done. If you need to drop a schema, you\ncan use the ``drop`` subcommand.\n\n.. code:: bash\n\n dbgdb -l drop schema myschema\n\nResources\n---------\n\nWould you like to learn more? Check out the links below!\n\n- `Luigi `__\n- `Click `__\n\nAuthors\n-------\n\n- **Pat Daburu** - *Initial work* -\n `github `__\n\nSee also the list of\n`contributors `__\nwho participated in this project.\n\nLicense\n-------\n\nThis project is licensed under the MIT License - see the\n`LICENSE.md `__ file for details", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/patdaburu/dbgdb/archive/0.0.5.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://dbgdb.readthedocs.io/en/latest/index.html", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dbgdb", "package_url": "https://pypi.org/project/dbgdb/", "platform": "", "project_url": "https://pypi.org/project/dbgdb/", "project_urls": { "Download": "https://github.com/patdaburu/dbgdb/archive/0.0.5.tar.gz", "Homepage": "http://dbgdb.readthedocs.io/en/latest/index.html" }, "release_url": "https://pypi.org/project/dbgdb/0.0.5/", "requires_dist": null, "requires_python": ">=3.6", "summary": "dbgdb", "version": "0.0.5" }, "last_serial": 4039169, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a7117e10e3c9e9f20d30e9681c860f80", "sha256": "e6f814d01bb70793f401816444d4aeb111243fa45a22104f8ff9660b35cfa9c9" }, "downloads": -1, "filename": "dbgdb-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a7117e10e3c9e9f20d30e9681c860f80", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 8946, "upload_time": "2018-05-20T21:40:59", "url": "https://files.pythonhosted.org/packages/2c/20/c3327ee00dc8f0e3b005d52dfdd71fcea308ed490fa0b541dfe10a62410c/dbgdb-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "c77df26878d43b91f5d5fb5f49ff5290", "sha256": "08a20f86d08d986f5322eb3bd1e88fce6da6157697f03b85e4506d157df135f1" }, "downloads": -1, "filename": "dbgdb-0.0.2.tar.gz", "has_sig": false, "md5_digest": "c77df26878d43b91f5d5fb5f49ff5290", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 9037, "upload_time": "2018-05-21T22:59:25", "url": "https://files.pythonhosted.org/packages/3e/c2/9736354d5172a1461e25aafdecbfb6ae320dfd5c237326a03dc3ad5c5938/dbgdb-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "7359ac2ab87f5ca89ba0fb446389bc35", "sha256": "c288c6fcc0b7f0cb8211c3a09f3922170b5df2c6f4357128d7d55ca0b0183428" }, "downloads": -1, "filename": "dbgdb-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7359ac2ab87f5ca89ba0fb446389bc35", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 9037, "upload_time": "2018-05-22T08:55:54", "url": "https://files.pythonhosted.org/packages/22/f9/0e092247ab05ba4608442fbf402d49df16b046ce76be2f63040f265b14d8/dbgdb-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "5e841a856eea6a99f1d21cd5dd14d8da", "sha256": "276a8412420187d8225ff03776c782e514ff43cddccf6dbcff8b5eb8f69dc6f0" }, "downloads": -1, "filename": "dbgdb-0.0.4.tar.gz", "has_sig": false, "md5_digest": "5e841a856eea6a99f1d21cd5dd14d8da", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 9009, "upload_time": "2018-07-05T20:07:03", "url": "https://files.pythonhosted.org/packages/d4/fa/bdd874546c797f452260be11dff8390ce2121f6074c46e6d543e48d8b8c0/dbgdb-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "6503aa633d3cfd591197fe90d3fda3e0", "sha256": "165623eefa8bada3965b171f9453acea0be1e54810e321f73b52a7f223adc07d" }, "downloads": -1, "filename": "dbgdb-0.0.5.tar.gz", "has_sig": false, "md5_digest": "6503aa633d3cfd591197fe90d3fda3e0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 11753, "upload_time": "2018-07-07T16:17:11", "url": "https://files.pythonhosted.org/packages/d4/ad/05c1b63c70ff02e718e82a0f72f368c2258fe58fe7636cb384b9b336e421/dbgdb-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6503aa633d3cfd591197fe90d3fda3e0", "sha256": "165623eefa8bada3965b171f9453acea0be1e54810e321f73b52a7f223adc07d" }, "downloads": -1, "filename": "dbgdb-0.0.5.tar.gz", "has_sig": false, "md5_digest": "6503aa633d3cfd591197fe90d3fda3e0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 11753, "upload_time": "2018-07-07T16:17:11", "url": "https://files.pythonhosted.org/packages/d4/ad/05c1b63c70ff02e718e82a0f72f368c2258fe58fe7636cb384b9b336e421/dbgdb-0.0.5.tar.gz" } ] }