# 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
```
Raw data
{
"_id": null,
"home_page": "https://bitbucket.org/inoopa/inoopa_utils/",
"name": "inoopa_utils",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Dev Inoopa",
"author_email": "dev@inoopa.com",
"download_url": "https://files.pythonhosted.org/packages/d3/84/285e1a95c8ae810c0c7f8bd803bec870b2d2c7e2929440c58c0f61f3bd2c/inoopa_utils-5.6.0.tar.gz",
"platform": null,
"description": "# Inoopa's helpers\n\nThis repo contains helper functions we use in all of our python projects.\n\n## This is pushed publicly to Pypi, so NEVER commit any secret here\n\n## How to use this package in your code\n\n```bash\npip install inoopa_utils\n```\n\n```python\nfrom inoopa_utils.mongodb_helpers import DbManagerMongo\n\ndb_manager = DbManagerMongo()\n```\n\n## How to publish package to Pypi\n\nAfter any code change, **update the package version** in [pyproject.toml](./pyproject.toml) at the key `version`.\n\nThen, at the root of the repo:\n\n```bash\n# Login to Pypi\npoetry config pypi-token.pypi <Pypi API token here>\n\n# Build project\npoetry build\n\n# Publish\npoetry publish\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Collection of utils used at Inoopa.",
"version": "5.6.0",
"project_urls": {
"Homepage": "https://bitbucket.org/inoopa/inoopa_utils/",
"Repository": "https://bitbucket.org/inoopa/inoopa_utils/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5a0fe2d5b292c032a09c7009c626e4c560aa923da6d71352abde02495ff5922c",
"md5": "b9911976ca36833f824e9285da9b9583",
"sha256": "cb28ed0091da39a517f9f69e6bf1fb2ef12c16ab626497e8cd6b658087f19ab6"
},
"downloads": -1,
"filename": "inoopa_utils-5.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b9911976ca36833f824e9285da9b9583",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 40210,
"upload_time": "2025-01-23T09:38:15",
"upload_time_iso_8601": "2025-01-23T09:38:15.325824Z",
"url": "https://files.pythonhosted.org/packages/5a/0f/e2d5b292c032a09c7009c626e4c560aa923da6d71352abde02495ff5922c/inoopa_utils-5.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d384285e1a95c8ae810c0c7f8bd803bec870b2d2c7e2929440c58c0f61f3bd2c",
"md5": "fd739541313759f415800e37b942af70",
"sha256": "91fc2d7d9fd55130292b08131aea0a238cd0ce685158a143c190bed34bc6af7b"
},
"downloads": -1,
"filename": "inoopa_utils-5.6.0.tar.gz",
"has_sig": false,
"md5_digest": "fd739541313759f415800e37b942af70",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 32209,
"upload_time": "2025-01-23T09:38:17",
"upload_time_iso_8601": "2025-01-23T09:38:17.658400Z",
"url": "https://files.pythonhosted.org/packages/d3/84/285e1a95c8ae810c0c7f8bd803bec870b2d2c7e2929440c58c0f61f3bd2c/inoopa_utils-5.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-23 09:38:17",
"github": false,
"gitlab": false,
"bitbucket": true,
"codeberg": false,
"bitbucket_user": "inoopa",
"bitbucket_project": "inoopa_utils",
"lcname": "inoopa_utils"
}