{ "info": { "author": "Pim Witlox", "author_email": "pim.witlox@uzh.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "# Accounting Center [![Build Status](https://travis-ci.org/uzh/acpy.svg?branch=master)](https://travis-ci.org/uzh/acpy) [![PyPI version fury.io](https://badge.fury.io/py/acpy.svg)](https://pypi.org/project/acpy/)\n\nThe Accounting Center (API) aims to provide a stable rest interface for accounting resource usage of clusters and private clouds and managing users of a group/tenant.\nThe idea is that users authenticate on the service using an LDAP compliant account, and can see their own resource usage, and group resource usage.\nIf users are group administrators, they can add/remove users from the group.\n\nIn some magical way to be defined (probably with a couple of hacky scripts and cron), cluster controllers and cloud controllers will regularly update resource usage using a service account.\nThese controllers will also check (and modify) existing group structures within their respective systems.\n\nThe package is self contained and has a command line interface.\nInformation regarding the configuration options can be found in the docs.\nDetails regarding the CLI options can be found in the [docs](https://acpy.readthedocs.io/en/latest/) (and by running acpy --help).\nThe application is hosted on port 8080 by default.\nIn production run [nginx](https://www.nginx.com/) in front of it as a reverse proxy, with HTTPS configured (check the [docs](https://acpy.readthedocs.io/en/latest/) for the recommended installation and settings).\n\nNOTE: this is all still alpha, only use as a reference for the time being\n\n## Installation\nEither install the package using pip:\n```bash\npip install acpy\n```\nor clone this repo and run:\n```bash\npip install -e .\n```\nor simply build and run the docker image:\n```bash\ndocker build -t acpy .\ndocker run -p 8080:8080 acpy start\n```\n\n## Using\nInformation regarding available commands:\n```bash\nacpy --help\n```\nTo run the tests:\n```bash\npython -m pytest tests/\n```\nTo start the service:\n```bash\nacpy start\n```", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/uzh/acpy", "keywords": "Web,Python,Python3,REST", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "acpy", "package_url": "https://pypi.org/project/acpy/", "platform": "", "project_url": "https://pypi.org/project/acpy/", "project_urls": { "Documentation": "https://acpy.readthedocs.io/en/latest/", "Homepage": "https://github.com/uzh/acpy", "Source": "https://github.com/uzh/acpy/", "Tracker": "https://github.com/uzh/acpy/issues" }, "release_url": "https://pypi.org/project/acpy/0.5/", "requires_dist": null, "requires_python": ">=3.5", "summary": "Accounting Center API", "version": "0.5" }, "last_serial": 4580668, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "6a852e284188f51f01be2eb9eee3ca97", "sha256": "b1d9171df5cea168e30688eea074806bb6a05e1f2f114c91a7c5adfc8e4618cb" }, "downloads": -1, "filename": "acpy-0.5.tar.gz", "has_sig": false, "md5_digest": "6a852e284188f51f01be2eb9eee3ca97", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 21408, "upload_time": "2018-12-10T13:12:51", "url": "https://files.pythonhosted.org/packages/57/a3/67a3896bc0ad08c27cbfb110001ba6f2f6f4e2733e9d9267e5c984844eac/acpy-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6a852e284188f51f01be2eb9eee3ca97", "sha256": "b1d9171df5cea168e30688eea074806bb6a05e1f2f114c91a7c5adfc8e4618cb" }, "downloads": -1, "filename": "acpy-0.5.tar.gz", "has_sig": false, "md5_digest": "6a852e284188f51f01be2eb9eee3ca97", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 21408, "upload_time": "2018-12-10T13:12:51", "url": "https://files.pythonhosted.org/packages/57/a3/67a3896bc0ad08c27cbfb110001ba6f2f6f4e2733e9d9267e5c984844eac/acpy-0.5.tar.gz" } ] }