Metadata-Version: 2.3
Name: umnetdb-utils
Version: 0.1.4
Summary: Helper classes for querying UMnet databases
License: MIT
Author: Amy Liebowitz
Author-email: amylieb@umich.edu
Requires-Python: >=3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: oracledb (>=3.1.0,<4.0.0)
Requires-Dist: psycopg[binary] (>=3.2.9,<4.0.0)
Requires-Dist: python-decouple (>=3.8,<4.0)
Requires-Dist: sqlalchemy (>=2.0.41,<3.0.0)
Description-Content-Type: text/markdown

# umnetdb-utils
Helper classes for gathering data from umnet databases

This package is hosted on pypi - you can install it with `pip install umnetdb-utils` and use it in your own code.

## Database Helper Classes
As of May 2025 this repo defines db wrapper classes for Equipdb, Netinfo, Netdisco and UMnetdb (populated by agador, hosted on wintermute).
To use these classes you need to provide credentials, either in a config file that you pass into the initializer, in `.env`, or in your environment:
* Netinfo: `NETINFO_USERNAME`, `NETINFO_PASSSWORD`
* Netdisco: `NETDISCO_DB_USER`, `NETDISCO_DB_PASSWORD`
* Equipdb: `EQUIP_DB_USER`, `EQUIP_DB_PASSWORD`
* UMnetdb: `UMNETDB_USER`, `UMNETDB_PASSWORD`

Netinfo, Netdisco, and Equipdb classes are copied over from `umnet-scripts` which is reaching the end of its life as a package.

