Collection of utils used at Inoopa.
Project description
Inoopa's helpers
This repo contains helper functions we use in all of our python projects.
This is pushed publicly to Pypi, so NEVER commit any secret here
How to use this package in your code
pip install inoopa_utils
from inoopa_utils.mongodb_helpers import DbManagerMongo
db_manager = DbManagerMongo()
Development Setup
This project uses UV for dependency management.
# Install UV (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install dependencies
uv sync
# Install development dependencies
uv sync --dev
# Add a new dependency
uv add <package-name>
# Add a new development dependency
uv add --dev <package-name>
How to publish package to Pypi
After any code change, update the package version in pyproject.toml at the key version.
Then, at the root of the repo:
# Build project
uv build
# Publish (requires PyPI token to be configured)
uv publish
Note: You'll need to configure your PyPI credentials. You can either:
- Set the
UV_PUBLISH_TOKENenvironment variable with your PyPI token - Use
uv publish --username __token__ --password <your-token>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inoopa_utils-6.2.1.tar.gz.
File metadata
- Download URL: inoopa_utils-6.2.1.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b33ebc11872611b1e116ced3a62056db3795ed9275cda1ee5d7e83e19b0e651
|
|
| MD5 |
ba67dcf22eeeb9354fa1a3e6fd2e7d9b
|
|
| BLAKE2b-256 |
2abcfb2e774f1a690b257cc2986a15871c81f38a95cb71fbb57186e1ff2bf6b7
|
File details
Details for the file inoopa_utils-6.2.1-py3-none-any.whl.
File metadata
- Download URL: inoopa_utils-6.2.1-py3-none-any.whl
- Upload date:
- Size: 37.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95b402289924e5f4b7ba97636f96916f7e6bd0189b5d34f9fd0cdc85e95d4a89
|
|
| MD5 |
671950213aa4b9f29d883ca3e8582c6f
|
|
| BLAKE2b-256 |
22f3a803b1d2e1393565cad669b8a62a90f12bf065fb7cdb23e5d3ad32c52030
|