{ "info": { "author": "Atrio, Inc.", "author_email": "notify@atrio.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "..\n.. Copyright (c) 2017-2018 Atrio, Inc.\n..\n.. All rights reserved.\n..\n\nAlfredo Library for Python\n##########################\n\n Idiomatic way for Python developers to integrate with Alfredo services.\n\n|deploy| |versions|\n\n.. |deploy| image:: https://img.shields.io/pypi/v/alfredo-python.svg\n :target: https://pypi.python.org/pypi/alfredo-python\n.. |versions| image:: https://img.shields.io/pypi/pyversions/alfredo-python.svg\n :target: https://pypi.python.org/pypi/alfredo-python\n\n\n\n.. contents::\n\n.. section-numbering::\n\n\n\nInstallation\n============\n\nOn most systems, you can use ``pip`` (recommended):\n\n.. code-block:: bash\n\n # Make sure we have an up-to-date version of pip and setuptools:\n pip install --upgrade pip setuptools\n\n pip install alfredo-python\n\nBoth Python 2 and 3 are supported.\n\n\n\nCommand Line Interface Usage\n============================\n\nThe main command to interact with Alfredo stack is ``alfredo``.\n\nInput is expected to be in YAML format, and also the output is serialized in that way.\n\nYou can set ``RUOTE_ROOT`` and/or ``VIRGO_ROOT`` env vars to point the CLI and the SDK to your desired installation of the Alfredo stack.\n\nAfter that, you can execute ``alfredo`` to get the usage help.\n\nYou can also execute ``alfredo -help`` to get an updated list of the options you have, with examples.\n\n\n\nPython Software Development Kit\n===============================\n\nThe main module you need to import to interact with the Alfredo stack is ``alfredo``.\n\nThe main functions of the module are the ``ruote`` and ``virgo`` ones, to get the client object to further interact with respective services.\n\nYou can use ``alfredo.ruote()`` to get annonymous access to the open endpoints in Ruote. The same applies for ``virgo``.\n\nFor instance, you can use the annonymous access to get a token given an email and a password.\n\nPlease feel free of using the Python console to get used to the SDK prior to using it in real Python code.\n\n.. code-block:: python\n\n >>> alfredo.ruote().sso.token_by_email.create(email='alice@example.com', password='*******')\n\n 400 - Bad Request\n\n non_field_errors:\n - Unable to log in with provided credentials.\n\n >>> alfredo.ruote().sso.token_by_email.create(email='alice@example.com', password='********')\n\n 200 - OK\n\n token: b1cff2aab075744ddda6b00805617f561e940107\n\n\nYou can use ``alfredo.ruote(token='b1cff2aab075744ddda6b00805617f561e940107')`` to get an authenticated client against Ruote.\n\n.. code-block:: python\n\n >>> alfredo.ruote(token='b1bff2aab075744ddda6b00805617f561e940107')\n\n 200 - OK\n\n AWSclusters: http://api.teamjamon.com/AWSclusters/\n apps: http://api.teamjamon.com/apps/\n clusters: http://api.teamjamon.com/clusters/\n datasets: http://api.teamjamon.com/datasets/\n files: http://api.teamjamon.com/files/\n jobs: http://api.teamjamon.com/jobs/\n queues: http://api.teamjamon.com/queues/\n users: http://api.teamjamon.com/users/\n vdcs: http://api.teamjamon.com/vdcs/\n\n\nMost of the functions mimic the url structure of the http API, and receives named parameters as input.\n\nPlease refer to the Alfredo API documentation for further details.\n\n\n\nDevelopment\n===========\n\nYou can create your fork of the repo before making any change.\n\nNever forget to install the requirements first if you are using an isolated virtualenv: ``pip install -r requirements.txt``\n\nAnd to include the test requirements if you are planning to pass the tests locally ``pip install -r requirements-test.txt``\n\nYou can run the tests using ``nosetests --with-coverage --cover-package=alfredo --stop``\n\nCurrently, the main branch is ``develop`` because the code is still in beta. You can make PRs against ``develop``.\n\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://gitlab.atrio.io/atrio/alfredo-python-sdk", "keywords": "alfredo python sdk", "license": "LGPL 2.1", "maintainer": "", "maintainer_email": "", "name": "alfredo-python", "package_url": "https://pypi.org/project/alfredo-python/", "platform": "", "project_url": "https://pypi.org/project/alfredo-python/", "project_urls": { "Homepage": "https://gitlab.atrio.io/atrio/alfredo-python-sdk" }, "release_url": "https://pypi.org/project/alfredo-python/0.0.8/", "requires_dist": [ "docopt", "requests", "requests-toolbelt", "ruamel.yaml" ], "requires_python": "", "summary": "..", "version": "0.0.8" }, "last_serial": 5954182, "releases": { "0.0.2.post2": [ { "comment_text": "", "digests": { "md5": "f5ff6f1bcad4a6e1c4a816bdf12b714b", "sha256": "5b439f303700b3cd85550bd9a13f97fb3d8e6070a29432ae4cae2beb44b02612" }, "downloads": -1, "filename": "alfredo_python-0.0.2.post2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f5ff6f1bcad4a6e1c4a816bdf12b714b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13653, "upload_time": "2017-11-01T14:24:51", "url": "https://files.pythonhosted.org/packages/50/b0/dc09e83902338a8fe1d2b782a14feb80bdd686ab609f068bc20de6b8c33e/alfredo_python-0.0.2.post2-py2.py3-none-any.whl" } ], "0.0.2.post3": [ { "comment_text": "", "digests": { "md5": "4a0212b981e7c13300fd83dd4d4cb90c", "sha256": "206fcfbf9d5fff9a19581dac7a8b57a87d46e94931dbd04f272e315e86a5ba8c" }, "downloads": -1, "filename": "alfredo_python-0.0.2.post3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4a0212b981e7c13300fd83dd4d4cb90c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13663, "upload_time": "2017-11-01T15:00:12", "url": "https://files.pythonhosted.org/packages/07/35/de252f3bf15fdce6ed15d82580c84399534cae1e5a8472c31129c8ea5e05/alfredo_python-0.0.2.post3-py2.py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "db15afd797ebc10bc85b16715d6432ff", "sha256": "308a4f3c2d2b00617f0dfd202d9abdf2bd97c2f7e887187297ab2c22b272d8c4" }, "downloads": -1, "filename": "alfredo_python-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "db15afd797ebc10bc85b16715d6432ff", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13909, "upload_time": "2017-11-12T19:04:57", "url": "https://files.pythonhosted.org/packages/ca/da/264c58088dd16e86e5b3c75a7f4b6ef1040a49799166b60d857358966dc1/alfredo_python-0.0.3-py2.py3-none-any.whl" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "ffdcd9c093b26824c474585abc4a46dc", "sha256": "18c72d2b2bf83a2d5af19c362d81c3ef84a6405c45ec2af94f3d22d19eb2b0d6" }, "downloads": -1, "filename": "alfredo_python-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ffdcd9c093b26824c474585abc4a46dc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20796, "upload_time": "2019-01-09T17:23:04", "url": "https://files.pythonhosted.org/packages/98/16/df24e55012c0bd718d0f3253bff4b7e1c4ad593c8641c2640fad4e2f065f/alfredo_python-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fedd3d1420036935fc9881c24c490090", "sha256": "37758e5f5952e1215df2e912f13873b830aa272f65948d795db643173a5b2d1d" }, "downloads": -1, "filename": "alfredo-python-0.0.4.tar.gz", "has_sig": false, "md5_digest": "fedd3d1420036935fc9881c24c490090", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10589, "upload_time": "2019-01-09T17:23:05", "url": "https://files.pythonhosted.org/packages/35/71/421af68f7f602fdd70fc8ab9961572d73612dbdfd859685119737f869ba7/alfredo-python-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "efc34cfea6a6ec3c69acf3b7b849ea9a", "sha256": "6f5c861689cfaf84d0a9c9191fe1dbe82f896dd3830aa473957be0cc50e36e72" }, "downloads": -1, "filename": "alfredo_python-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "efc34cfea6a6ec3c69acf3b7b849ea9a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22477, "upload_time": "2019-06-23T11:08:48", "url": "https://files.pythonhosted.org/packages/7d/33/42d402801ed741137113d85e713300e78e0a611ea88933e1a514ea55d070/alfredo_python-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9e88f974e7975735fcd3f14a180451bf", "sha256": "1f5f8544806da261da728ca579c23e01e3d786033027e8f4dfebbf5d2be4fe58" }, "downloads": -1, "filename": "alfredo-python-0.0.5.tar.gz", "has_sig": false, "md5_digest": "9e88f974e7975735fcd3f14a180451bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11547, "upload_time": "2019-06-23T11:08:50", "url": "https://files.pythonhosted.org/packages/b8/6a/5d9390aeef7373d773c2d2b8796027cfa72635ff033d0cf07cf44c3e8100/alfredo-python-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "2ff5eaa0c685f0f8973b934d0f52e194", "sha256": "2d81277f4d822aac8e6c75a44635ad211399f1286cb6195d2f24af6517f26583" }, "downloads": -1, "filename": "alfredo_python-0.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ff5eaa0c685f0f8973b934d0f52e194", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20796, "upload_time": "2019-07-23T10:16:16", "url": "https://files.pythonhosted.org/packages/bf/40/75d47f87c3f0e6d1df0e35c243c91653c50b071ce8614cea2a36eccf96ff/alfredo_python-0.0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c3beb57ff978ab04e01b24b8a56506bd", "sha256": "72c43c89ea89c5f391e65d1a717c9578df1597caabcedf76f0ba24d7a39a587e" }, "downloads": -1, "filename": "alfredo-python-0.0.6.tar.gz", "has_sig": false, "md5_digest": "c3beb57ff978ab04e01b24b8a56506bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9232, "upload_time": "2019-07-23T10:16:18", "url": "https://files.pythonhosted.org/packages/ad/e7/dd0c1fecac812ea1085f4ad3cc2ce5b3b9399e5f87534806795b89c9c717/alfredo-python-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "6f6f33afaf52155c5a04a5b5d87bdd62", "sha256": "873ae3b2e6deb27681fcc430d0b96a22745609592f6aebc232f8ca64f8ea6d4b" }, "downloads": -1, "filename": "alfredo_python-0.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6f6f33afaf52155c5a04a5b5d87bdd62", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22485, "upload_time": "2019-07-23T12:30:20", "url": "https://files.pythonhosted.org/packages/0c/dd/f7a7efa582915d727fb1240cf9602eb6698b1fbd65a6b54c7190039615f9/alfredo_python-0.0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4da38d42ddc8b67646268f37fd0581f3", "sha256": "870349e73357d8b02a6b818f9878a68f08541ffa123320e931bed21f74250586" }, "downloads": -1, "filename": "alfredo-python-0.0.7.tar.gz", "has_sig": false, "md5_digest": "4da38d42ddc8b67646268f37fd0581f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10040, "upload_time": "2019-07-23T12:30:21", "url": "https://files.pythonhosted.org/packages/4e/9f/c8523650a309e44994190d49b7805088ea8f03a0352ac7d34e5ef4d6cd96/alfredo-python-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "9f60fbe76b044f2b5d06d9419b7a65fb", "sha256": "f9bc2b89d8a69b68fecfae2a444c28c4325e9e50c9fcc30edf6bdb640f464b70" }, "downloads": -1, "filename": "alfredo_python-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9f60fbe76b044f2b5d06d9419b7a65fb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22542, "upload_time": "2019-07-31T08:14:30", "url": "https://files.pythonhosted.org/packages/26/de/b6405d3dc9115cce1969a9afee0f92920cc6ceb9abe889ad346286dcbd18/alfredo_python-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4f7dc8cf60f4a4e4ebb7ae952a7e4b0", "sha256": "eff62cd27b110b06d7619a627c2523a53d3b42214540aec012fe74d3234904a0" }, "downloads": -1, "filename": "alfredo-python-0.0.8.tar.gz", "has_sig": false, "md5_digest": "f4f7dc8cf60f4a4e4ebb7ae952a7e4b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10124, "upload_time": "2019-07-31T08:14:32", "url": "https://files.pythonhosted.org/packages/19/23/3824ffd6083a6ae78764a24d551bc32c343f9ef6f22fcf65525b10e0da80/alfredo-python-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9f60fbe76b044f2b5d06d9419b7a65fb", "sha256": "f9bc2b89d8a69b68fecfae2a444c28c4325e9e50c9fcc30edf6bdb640f464b70" }, "downloads": -1, "filename": "alfredo_python-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9f60fbe76b044f2b5d06d9419b7a65fb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 22542, "upload_time": "2019-07-31T08:14:30", "url": "https://files.pythonhosted.org/packages/26/de/b6405d3dc9115cce1969a9afee0f92920cc6ceb9abe889ad346286dcbd18/alfredo_python-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f4f7dc8cf60f4a4e4ebb7ae952a7e4b0", "sha256": "eff62cd27b110b06d7619a627c2523a53d3b42214540aec012fe74d3234904a0" }, "downloads": -1, "filename": "alfredo-python-0.0.8.tar.gz", "has_sig": false, "md5_digest": "f4f7dc8cf60f4a4e4ebb7ae952a7e4b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10124, "upload_time": "2019-07-31T08:14:32", "url": "https://files.pythonhosted.org/packages/19/23/3824ffd6083a6ae78764a24d551bc32c343f9ef6f22fcf65525b10e0da80/alfredo-python-0.0.8.tar.gz" } ] }