Metadata-Version: 2.1
Name: inoopa_utils
Version: 4.3.9
Summary: Collection of utils used at Inoopa.
Home-page: https://bitbucket.org/inoopa/inoopa_utils/
Author: Dev Inoopa
Author-email: dev@inoopa.com
Requires-Python: >=3.10
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: boto3 (>=1.34.18,<2.0.0)
Requires-Dist: dnspython (>=2.6.1,<3.0.0)
Requires-Dist: iniconfig (>=2.0.0,<3.0.0)
Requires-Dist: openai (>=1.14.3,<2.0.0)
Requires-Dist: pandas (>=2.0.3,<3.0.0)
Requires-Dist: pendulum (>=2.1.2)
Requires-Dist: pymongo (>=4.6.1,<5.0.0)
Requires-Dist: python-dotenv (==1.0.0)
Requires-Dist: python-logging-loki (>=0.3.1,<0.4.0)
Requires-Dist: rabbitpy (>=2.0.1,<3.0.0)
Requires-Dist: rich (>=13.7.1,<14.0.0)
Requires-Dist: tenacity (>=8.2.3,<9.0.0)
Requires-Dist: tiktoken (>=0.6.0,<0.7.0)
Requires-Dist: tldextract (>=5.1.2,<6.0.0)
Requires-Dist: typesense (>=0.21.0,<0.22.0)
Requires-Dist: unidecode (>=1.3.8,<2.0.0)
Project-URL: Repository, https://bitbucket.org/inoopa/inoopa_utils/
Description-Content-Type: text/markdown

# 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

```bash
pip install inoopa_utils
```

```python
from inoopa_utils.mongodb_helpers import DbManagerMongo

db_manager = DbManagerMongo()
```

## How to publish package to Pypi

After any code change, **update the package version** in [pyproject.toml](./pyproject.toml) at the key `version`.

Then, at the root of the repo:

```bash
# Login to Pypi
poetry config pypi-token.pypi <Pypi API token here>

# Build project
poetry build

# Publish
poetry publish
```

