{ "info": { "author": "Gavin M. Roy", "author_email": "gavinr@aweber.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython" ], "description": "Analytics Database Tools\n------------------------\nA suite of tools and libraries for managing the analytics database servers.\n\nInstallation\n------------\n\nApplications\n------------\nThe following command-line applications are installed as part of ``anadb-tools``:\n\n+--------------------------+-----------------------------------------------------------+\n| Command | Description |\n+==========================+===========================================================+\n| ``anadb-analyze`` | Inspect each analytics server via CloudFormation and each |\n| | analytics database in PostgreSQL, updating statistics in |\n| | the analytics broker database. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-assign`` | Create & assign a new analytics database for a customer. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-cleanup`` | Backup & Delete analytics databases for closed accounts. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-deploy`` | Deploy DDL to all of the analytics databases. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-migrate`` | Move multiple analytics databases to a different server. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-move`` | Move an analytics database to a different server. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-orphans`` | Cleanup orphaned analytics databases. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-pageview-audit`` | Examine all analytics databases to determine which have |\n| | pageview data. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-s3backup`` | Backup the data in an analytics database to Amazon S3. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-sequence-fix`` | Reset all of the sequences in an analytics database. |\n+--------------------------+-----------------------------------------------------------+\n| ``anadb-skeleton`` | Create a skeleton CLI application using anadb-tools. |\n+--------------------------+-----------------------------------------------------------+\n\nCommon Environment Variables\n----------------------------\n\nThe following environment variables allow for overriding the database connection\ninformation that can be provided by command line switches:\n\n+----------------------+---------------------------------------------------------------+\n| Variable | Description |\n+======================+===============================================================+\n| ``ANABROKER_HOST`` | The database server to connect to the analytics broker on |\n+----------------------+---------------------------------------------------------------+\n| ``ANABROKER_PORT`` | The port to connect to the analytics broker database on |\n+----------------------+---------------------------------------------------------------+\n| ``ANABROKER_DBNAME`` | The analytics broker database name. |\n| | Default: analytics_broker |\n+----------------------+---------------------------------------------------------------+\n| ``ANABROKER_USER`` | The user to connect as to the analytics broker db server. |\n| | Default: the current shell user |\n+----------------------+---------------------------------------------------------------+\n| ``ANADB_USER`` | The user to connect to an analytics database server as. |\n| | Default: the current shell user |\n+----------------------+---------------------------------------------------------------+\n| ``APPDB_HOST`` | The database server to connect to for the app database. |\n+----------------------+---------------------------------------------------------------+\n| ``APPDB_PORT`` | The database server port to connect on for the app database. |\n+----------------------+---------------------------------------------------------------+\n| ``APPDB_DBNAME`` | The database name to connect to for the app database. |\n| | Default: ``app`` |\n+----------------------+---------------------------------------------------------------+\n| ``APPDB_USER`` | The user to connect to the app database server as. |\n| | Default: the current shell user |\n+----------------------+---------------------------------------------------------------+\n\nLibrary Modules\n---------------\n\n+----------------------------+-----------------------------------------------------------+\n| Module | Description |\n+============================+===========================================================+\n| ``anadb_tools.anabroker`` | Methods for connecting to and interacting with anabroker. |\n+----------------------------+-----------------------------------------------------------+\n| ``anadb_tools.anadb`` | Methods for connecting to and interacting with account |\n| | specified analytics databases. |\n+----------------------------+-----------------------------------------------------------+\n| ``anadb_tools.appdb`` | Methods for connecting to and interacting with the app |\n| | database. |\n+----------------------------+-----------------------------------------------------------+\n| ``anadb_tools.common`` | Misc common methods including argument parsing and |\n| | logging configuration. |\n+----------------------------+-----------------------------------------------------------+\n| ``anadb_tools.database`` | Low-level database commands, including backup. |\n+----------------------------+-----------------------------------------------------------+\n| ``anadb_tools.exceptions`` | Common exceptions for the anadb-tools package. |\n+----------------------------+-----------------------------------------------------------+\n| ``anadb_tools.memcached`` | Clears caching keys for analytics broker assignment info. |\n+----------------------------+-----------------------------------------------------------+\n\nDevelopment\n-----------\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.aweber.com/dba/anadb-tools/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "anadb-tools", "package_url": "https://pypi.org/project/anadb-tools/", "platform": "", "project_url": "https://pypi.org/project/anadb-tools/", "project_urls": { "Homepage": "https://github.aweber.com/dba/anadb-tools/" }, "release_url": "https://pypi.org/project/anadb-tools/0.12.2/", "requires_dist": [ "pgpasslib", "arrow", "boto3", "consulate", "psycopg2", "redis", "requests" ], "requires_python": "", "summary": "A collection tools for managing the analytics databases", "version": "0.12.2" }, "last_serial": 4226450, "releases": { "0.12.2": [ { "comment_text": "", "digests": { "md5": "c4343089398f30491f5aee3ee1944a51", "sha256": "bba8345195c5f3662aacf318a1058134558e73691136d8150911cd3b6af0bb60" }, "downloads": -1, "filename": "anadb_tools-0.12.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c4343089398f30491f5aee3ee1944a51", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 37559, "upload_time": "2018-08-31T13:53:22", "url": "https://files.pythonhosted.org/packages/44/9f/f39f74bb5d45404e36aeae0ab1cc967f993b1ebf579569649e3fa789bae2/anadb_tools-0.12.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4343089398f30491f5aee3ee1944a51", "sha256": "bba8345195c5f3662aacf318a1058134558e73691136d8150911cd3b6af0bb60" }, "downloads": -1, "filename": "anadb_tools-0.12.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c4343089398f30491f5aee3ee1944a51", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 37559, "upload_time": "2018-08-31T13:53:22", "url": "https://files.pythonhosted.org/packages/44/9f/f39f74bb5d45404e36aeae0ab1cc967f993b1ebf579569649e3fa789bae2/anadb_tools-0.12.2-py3-none-any.whl" } ] }