@trws and I discussed offline that it might be nice to think about and eventually implement a long-term storage solution for flux-accounting and its contents. As it stands now, flux-accounting utilizes SQLite to store all user, bank, association, queue, and job data to complete its functions, which is lightweight and portable. Offering a more centralized storage option such as PostgreSQL (for which there exists a Python API to interface with such a DB) might be a nice evolution for this module, perhaps as a way to offer a center-wide solution for all things flux-accounting, like managing accounts, banks, projects, etc.
couple neat PyPI projects that allow for containerized testing with PostgreSQL DBs and could be useful here:
https://pypi.org/project/pytest-postgresql/
https://pypi.org/project/testcontainers/
@trws and I discussed offline that it might be nice to think about and eventually implement a long-term storage solution for flux-accounting and its contents. As it stands now, flux-accounting utilizes SQLite to store all user, bank, association, queue, and job data to complete its functions, which is lightweight and portable. Offering a more centralized storage option such as PostgreSQL (for which there exists a Python API to interface with such a DB) might be a nice evolution for this module, perhaps as a way to offer a center-wide solution for all things flux-accounting, like managing accounts, banks, projects, etc.
couple neat PyPI projects that allow for containerized testing with PostgreSQL DBs and could be useful here:
https://pypi.org/project/pytest-postgresql/
https://pypi.org/project/testcontainers/