{ "info": { "author": "Dwayne McNab", "author_email": "dmcnab@imperiadata.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2.7", "Topic :: Database :: Database Engines/Servers" ], "description": "======\nmacapi\n======\n\n|Python 27|\n\n**What is macapi?** macapi is a tool used to easily access MongoDB Atlas by leverating its resful api. It's primarily used to easilty adminsiter Atlas clusters and groups.\n\n\n\n.. figure:: https://github.com/dmcna005/macapi/blob/master/macapi.png\n :alt: macapi\n--------------------------------------------------\n\nInstallation\n------------\n\n.. code-block:: console\n\n $ pip install macapi\n\n**The toolkit constists of the following tools**:\n\n\n``alerts``\n~~~~~~~~~~\n\nUsed to get and create alert configuration for a single group.\n\n.. code-block:: console\n\n $ alerts -h\n\n usage: alerts [-h] [-G] [-U] [-C] [-D] [-f FILE] -g GROUP_ID -u API_USER -k\n API_KEY\n\n optional arguments:\n -h, --help show this help message and exit\n -G, --get get a group alert and monitoring configuration\n -U, --update update current alerts configuration\n -C, --create replace current alerts confifuration\n -D, --delete delte a single alert\n -f FILE, --file FILE write file to current directory unless absolute path\n is provided\n -g GROUP_ID, --group_id GROUP_ID\n -u API_USER, --api_user API_USER\n -k API_KEY, --api_key API_KEY\n\n\n``cluster``\n~~~~~~~~~~~\n\nUsed to create and modify cluster configurations for a given group.\n\n.. code-block:: console\n\n $ cluster -h\n\n usage: cluster [-h] [-G] [-C] [-f FILE] -n NAME -g GROUP_ID -u API_USER -k\n API_KEY [-D] [--resize] [--size SIZE] [--nodes NODES]\n [--shards SHARDS]\n\n optional arguments:\n\n -h, --help show this help message and exit\n -G, --get get's the currnet group cluster configuration\n -C, --create creates a new cluster\n -f FILE, --file FILE write file to current directy or path\n -n NAME, --name NAME the name of the cluster\n -g GROUP_ID, --group_id GROUP_ID\n id of the group that you are trying to make the\n changes for\n -u API_USER, --api_user API_USER\n the email address you use to login\n -k API_KEY, --api_key API_KEY\n Your Atlas api key\n -D, --delete deletes a cluster from a project\n --resize resizes an instace\n --size SIZE size of an instance in ['M10',...,'M60']\n --nodes NODES number of nodes per shard or replicaSet\n --shards SHARDS number of replicaSets to deploy\n\n\n``ip_whitelist``\n~~~~~~~~~~~~~~~~\n\n Used to create, delete, update and getip whitelist information for a single group in Atlas.\n\n .. code-block:: console\n\n $ ipwhitelist -h\n usage: ipwhitelist [-h] [-G] [-C] [-D] [-f FILE] -g GROUP_ID -u API_USER -k\n API_KEY\n\n optional arguments:\n -h, --help show this help message and exit\n -G, --get get's the currnet group IP Whitelist\n -C, --create replace current alerts confifuration\n\n -D, --delete delte a single alert\n -f FILE, --file FILE write file to current directory unless absolute path\n is provided\n -g GROUP_ID, --group_id GROUP_ID\n id of the group that you are trying to make the\n changes for\n -u API_USER, --api_user API_USER\n the email address you use to login\n -k API_KEY, --api_key API_KEY\n Your Atlas api key\n\n\n\n\n\n.. |Python 27| image:: https://img.shields.io/badge/Python-2.7-brightgreen.svg?style=flat\n :target: http://python.org\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.com/dmcna005/macapi", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "macapi", "package_url": "https://pypi.org/project/macapi/", "platform": "", "project_url": "https://pypi.org/project/macapi/", "project_urls": { "Homepage": "https://github.com/dmcna005/macapi" }, "release_url": "https://pypi.org/project/macapi/1.0.5/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "scripts written to interact with mongodb cloud api", "version": "1.0.5" }, "last_serial": 4671623, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "b06759d517ffda4cdc69480cadbff1fc", "sha256": "1f1701ee56df21fe179927f0a3d69ba768c87900e1eca8b4a3b4a3bcac89945f" }, "downloads": -1, "filename": "macapi-1.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "b06759d517ffda4cdc69480cadbff1fc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 14489, "upload_time": "2018-12-21T21:37:44", "url": "https://files.pythonhosted.org/packages/4c/cd/45cafdcf14d9be554265dbe1721ec76a03b19897a34fda0c30e7f928e0dd/macapi-1.0.2-py2-none-any.whl" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "d8ea051c3f0923321999e83af9e33b90", "sha256": "123c5391a29f6e3cf8f6f3d90b23c927cd0e41f7efaaaa9570bba180101648f7" }, "downloads": -1, "filename": "macapi-1.0.4-py2-none-any.whl", "has_sig": false, "md5_digest": "d8ea051c3f0923321999e83af9e33b90", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15059, "upload_time": "2018-12-21T22:49:34", "url": "https://files.pythonhosted.org/packages/20/4e/cb171c5ad49d0ded8396b4812dfc4ec2332336e00c2635abed233ed3e988/macapi-1.0.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d03a2c7ea874968dd2335f5ccacd7e82", "sha256": "e508a2874cac754da4852fbfeef9e87282160380fc32008e2080bb7331cb9993" }, "downloads": -1, "filename": "macapi-1.0.4.tar.gz", "has_sig": false, "md5_digest": "d03a2c7ea874968dd2335f5ccacd7e82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13002, "upload_time": "2018-12-21T22:49:36", "url": "https://files.pythonhosted.org/packages/48/a1/f7fb64009137b85b7956cbb317ded70f6a15290b5621e888eba939f25df5/macapi-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "a7d3793a46a1211e743cfee4a27fcb81", "sha256": "f596f4727b28b000ea66dc96aa66e668f42f48fbeeafe62f6456b356a0382718" }, "downloads": -1, "filename": "macapi-1.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "a7d3793a46a1211e743cfee4a27fcb81", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15095, "upload_time": "2019-01-08T06:25:04", "url": "https://files.pythonhosted.org/packages/ff/a6/f2c00317000043841c33b4b7b8f4981ed9c51a5fc29f162b33326a6c9942/macapi-1.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f686e62e1442a030d8baad2ea991001e", "sha256": "2d73bc5117ce06dd37c5439bc0a4047564f57f4523ebe3eb9ed5361108b48626" }, "downloads": -1, "filename": "macapi-1.0.5.tar.gz", "has_sig": false, "md5_digest": "f686e62e1442a030d8baad2ea991001e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12602, "upload_time": "2019-01-08T06:25:05", "url": "https://files.pythonhosted.org/packages/52/12/63274081afadcd887082768813f6f1e0a20497588946527c64e72ac45452/macapi-1.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a7d3793a46a1211e743cfee4a27fcb81", "sha256": "f596f4727b28b000ea66dc96aa66e668f42f48fbeeafe62f6456b356a0382718" }, "downloads": -1, "filename": "macapi-1.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "a7d3793a46a1211e743cfee4a27fcb81", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 15095, "upload_time": "2019-01-08T06:25:04", "url": "https://files.pythonhosted.org/packages/ff/a6/f2c00317000043841c33b4b7b8f4981ed9c51a5fc29f162b33326a6c9942/macapi-1.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f686e62e1442a030d8baad2ea991001e", "sha256": "2d73bc5117ce06dd37c5439bc0a4047564f57f4523ebe3eb9ed5361108b48626" }, "downloads": -1, "filename": "macapi-1.0.5.tar.gz", "has_sig": false, "md5_digest": "f686e62e1442a030d8baad2ea991001e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12602, "upload_time": "2019-01-08T06:25:05", "url": "https://files.pythonhosted.org/packages/52/12/63274081afadcd887082768813f6f1e0a20497588946527c64e72ac45452/macapi-1.0.5.tar.gz" } ] }