Acpy
A Python-based REST API service for tracking and managing resource usage and user permissions across clusters and private clouds.

What it is
The Accounting Center (API) is a specialized tool designed to provide a stable REST interface for managing accounting resource usage in computational clusters and private cloud environments. It allows organizations to track and report on resource consumption efficiently.
The service enables users to authenticate via LDAP-compliant accounts, view their personal and group resource usage, and manage group memberships if they are administrators. Cluster and cloud controllers can automatically update resource data using service accounts, ensuring accurate and timely reporting.
Developed in Python 3.5+, the package is installed via pip and includes a command-line interface for managing the API server. It supports both development and production deployments, with recommendations for using gevent and NGINX in production environments for optimal performance.
The API is particularly notable for its focus on multi-tenant resource accounting in scientific and research computing environments, providing granular control over user permissions and resource tracking. It includes JWT token authentication, database integration, and comprehensive logging capabilities.
This solution helps system administrators and research institutions maintain transparent accounting of computational resources across shared infrastructure, making it ideal for universities, research labs, and organizations with private cloud deployments.
This description was generated by AI from the site's public content and may contain errors.
What you can do there
- Track resource usage across clusters and private clouds
- Manage user permissions and group memberships
- Authenticate users via LDAP integration
- Access REST API endpoints for accounting data
- Use CLI tools to start/stop the API service
Who it's for
System administrators, researchers, and organizations managing computational resources in multi-tenant environments
Frequently asked questions about acpy.readthedocs.io
›What is the Accounting Center API used for?
It provides resource accounting and user management for computational clusters and private clouds through a REST API interface.
›How do users authenticate to the service?
Users authenticate using LDAP-compliant accounts, allowing them to view their resource usage and manage group permissions.
›How is resource usage data updated?
Cluster and cloud controllers automatically update resource usage data through service accounts via scheduled scripts.
›How do I install the Accounting Center package?
You can install it using pip with the command 'pip install acpy' and requires Python 3.5 or higher.
›What production deployment options are recommended?
The documentation recommends using gevent as the production server behind an NGINX reverse proxy with systemd service management.
›Can group administrators manage user permissions?
Yes, group administrators can add and remove users from their groups through the API interface.
›What configuration options are available?
The service supports configuration through a config file covering database, LDAP, JWT, logging, and general settings.
