HCP Chargeback Collection utility
Project description
This tool collects chargeback reports from Hitachi Content Platform systems.
Chargeback reports are a good source of information for system analysis, enabling you to adjust storage and bandwidth allocations based on usage patterns. These reports can also serve as input to billing systems that need to determine charges for capacity and bandwidth usage at the tenant or namespace level.
Features
Stores chargeback reports on local disk and/or to an HCP Namespace (with retention added, if required).
Builds up a report repository over an HCPs lifetime, if run regularly.
Remembers the last collection time per Tenant, so that subsequent runs will collect newer reports, only.
Exposes charts (as Excel files), comparing Tenants for entire HCP systems and Namespaces within Tenants
Highly configurable through a config file.
Dependencies
You need to have at least Python 3.4 installed to run hcpcbc.
It depends on the hcpsdk to access HCP and XlsxWriter for chart generation.
Documentation
To be found at readthedocs.org
Installation
Install hcpcbc by running:
$ pip install hcpcbc
-or-
get the source from gitlab.com, unzip and run:
$ python setup.py install
-or-
Fork at gitlab.com
Contribute
Source Code: https://gitlab.com/simont3/hcpcbc
Issue tracker: https://gitlab.com/simont3/hcpcbc/issues
Support
If you’ve found any bugs, please let me know via the Issue Tracker; if you have comments or suggestions, send an email to mailto:sw@snomis.de
License
The MIT License (MIT)
Copyright (c) 2012-2020 Thorsten Simons (sw@snomis.eu)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hcpcbc-2.3.1.tar.gz
.
File metadata
- Download URL: hcpcbc-2.3.1.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b09bdabc2b4f8b5eda92c2b57f4a54f71745ab23e72af31b036a2ecdb25228e0 |
|
MD5 | a0038d3976d06d225e3e28fc9511afe0 |
|
BLAKE2b-256 | 8a894d325130ec3f5f1a2b0baaf87a641d8337418e8597790ab0ae6e1f9014f9 |