# Accounting Center [](https://travis-ci.org/uzh/acpy) [](https://pypi.org/project/acpy/)
The 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. The idea is that users authenticate on the service using an LDAP compliant account, and can see their own resource usage, and group resource usage. If users are group administrators, they can add/remove users from the group.
In 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. These controllers will also check (and modify) existing group structures within their respective systems.
The package is self contained and has a command line interface. Information regarding the configuration options can be found in the docs. Details regarding the CLI options can be found in the [docs](https://acpy.readthedocs.io/en/latest/) (and by running acpy –help). The application is hosted on port 8080 by default. In 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).
NOTE: this is all still alpha, only use as a reference for the time being
## Installation Either install the package using pip: `bash pip install acpy ` or clone this repo and run: `bash pip install -e . ` or simply build and run the docker image: `bash docker build -t acpy . docker run -p 8080:8080 acpy start `
## Using Information regarding available commands: `bash acpy --help ` To run the tests: `bash python -m pytest tests/ ` To start the service: `bash acpy start `
Metadata
Release files for acpy 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| acpy-0.5.tar.gz | 21.4 kB | Without provenance | Details |
Release files / acpy-0.5.tar.gz
| Download URL | acpy-0.5.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1d9171df5cea168e30688eea074806bb6a05e1f2f114c91a7c5adfc8e4618cb
|
|
BLAKE2b-256 checksum How to use checksums |
57a367a3896bc0ad08c27cbfb110001ba6f2f6f4e2733e9d9267e5c984844eac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3
|
Security for acpy 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.