[![License](https://img.shields.io/github/license/mausy5043/mausy5043-common)](LICENSE)
[![PyPI version](https://img.shields.io/pypi/v/mausy5043-common.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/mausy5043-common)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/mausy5043-common.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/mausy5043-common)
[![PyPI downloads](https://img.shields.io/pypi/dm/mausy5043-common.svg)](https://pypistats.org/packages/mausy5043-common)
[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/Mausy5043/mausy5043-common/devel.svg)](https://results.pre-commit.ci/latest/github/Mausy5043/mausy5043-common/devel)
# mausy5043-common
This is a Python3 library of functions and classes, mainly for personal use.
## Requirements
**NOTE: user action required !!**
Before trying to use the SQLITE3 functions in this package make sure you have installed the sqlite3 server/client and
the default Python package that comes with it.
Development of this package is done in Python 3.12. Backwards compatibility is not tested; if it works on Python 3.7 or before consider yourself lucky. [Python versions that are end-of-life](https://devguide.python.org/versions/) are not supported.
## Installation
```
python3 -m pip install mausy5043-common
```
## Functions provided
`cat(filename)` : Read a file into a variable.
`syslog_trace(trace, logerr, out2console)` : Log messages to console and/or system log.
`moisture(temperature, relative_humidity, pressure)` : Calculate the moisture content of air given T [degC], RH [%] and P [hPa].
`wet_bulb_temperature(temperature, relative_humidity)` : Calculate the wet bulb temperature of the air given T [degC] and RH [%].
## Classes provided
`SqlDatabase` : A class to interact with SQLite3 databases.
## Disclaimer & License
As of September 2024 `mausy5043-common` is distributed under [AGPL-3.0-or-later](LICENSE).
Raw data
{
"_id": null,
"home_page": null,
"name": "mausy5043-common",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "Debian Linux, Raspberry Pi, private",
"author": "Mausy5043",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/1e/c5/5074130c16e1674d435d6cc8af1dc484c138be5bfc44cac84b8f79e18ea3/mausy5043_common-1.10.1.tar.gz",
"platform": null,
"description": "\n[![License](https://img.shields.io/github/license/mausy5043/mausy5043-common)](LICENSE)\n[![PyPI version](https://img.shields.io/pypi/v/mausy5043-common.svg?logo=pypi&logoColor=FFE873)](https://pypi.org/project/mausy5043-common)\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/mausy5043-common.svg?logo=python&logoColor=FFE873)](https://pypi.org/project/mausy5043-common)\n[![PyPI downloads](https://img.shields.io/pypi/dm/mausy5043-common.svg)](https://pypistats.org/packages/mausy5043-common)\n[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/Mausy5043/mausy5043-common/devel.svg)](https://results.pre-commit.ci/latest/github/Mausy5043/mausy5043-common/devel)\n\n# mausy5043-common\n\nThis is a Python3 library of functions and classes, mainly for personal use.\n\n## Requirements\n\n**NOTE: user action required !!**\nBefore trying to use the SQLITE3 functions in this package make sure you have installed the sqlite3 server/client and\nthe default Python package that comes with it.\n\nDevelopment of this package is done in Python 3.12. Backwards compatibility is not tested; if it works on Python 3.7 or before consider yourself lucky. [Python versions that are end-of-life](https://devguide.python.org/versions/) are not supported.\n\n## Installation\n\n```\npython3 -m pip install mausy5043-common\n```\n\n\n## Functions provided\n`cat(filename)` : Read a file into a variable.\n`syslog_trace(trace, logerr, out2console)` : Log messages to console and/or system log.\n`moisture(temperature, relative_humidity, pressure)` : Calculate the moisture content of air given T [degC], RH [%] and P [hPa].\n`wet_bulb_temperature(temperature, relative_humidity)` : Calculate the wet bulb temperature of the air given T [degC] and RH [%].\n\n## Classes provided\n`SqlDatabase` : A class to interact with SQLite3 databases.\n\n## Disclaimer & License\nAs of September 2024 `mausy5043-common` is distributed under [AGPL-3.0-or-later](LICENSE).\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Common python functions",
"version": "1.10.1",
"project_urls": {
"Bug Tracker": "https://github.com/Mausy5043/mausy5043-common/issues",
"Homepage": "https://github.com/Mausy5043/mausy5043-common"
},
"split_keywords": [
"debian linux",
" raspberry pi",
" private"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fe0127d4e3959d5bc640aa0824d122bb204d5863e940b13bea6ceab9d557024f",
"md5": "9979c29ad227093d486f2afc0c611f24",
"sha256": "696591348eb50bb1c2ce1ed1ff337c850e09a9a4f710e850f03cc8707d680fdc"
},
"downloads": -1,
"filename": "mausy5043_common-1.10.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9979c29ad227093d486f2afc0c611f24",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 19598,
"upload_time": "2024-12-15T08:27:18",
"upload_time_iso_8601": "2024-12-15T08:27:18.395709Z",
"url": "https://files.pythonhosted.org/packages/fe/01/27d4e3959d5bc640aa0824d122bb204d5863e940b13bea6ceab9d557024f/mausy5043_common-1.10.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1ec55074130c16e1674d435d6cc8af1dc484c138be5bfc44cac84b8f79e18ea3",
"md5": "72b9605418b9f9d9031516d532017d83",
"sha256": "f1f02785d43f8f18fea7636bf53c0b43fe825a55f0134fca4429631ba7b19ed5"
},
"downloads": -1,
"filename": "mausy5043_common-1.10.1.tar.gz",
"has_sig": false,
"md5_digest": "72b9605418b9f9d9031516d532017d83",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 27676,
"upload_time": "2024-12-15T08:27:20",
"upload_time_iso_8601": "2024-12-15T08:27:20.625066Z",
"url": "https://files.pythonhosted.org/packages/1e/c5/5074130c16e1674d435d6cc8af1dc484c138be5bfc44cac84b8f79e18ea3/mausy5043_common-1.10.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-15 08:27:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Mausy5043",
"github_project": "mausy5043-common",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "mausy5043-common"
}