mausy5043-common


Namemausy5043-common JSON
Version 1.12.1 PyPI version JSON
download
home_pageNone
SummaryCommon python functions
upload_time2025-01-01 09:43:17
maintainerNone
docs_urlNone
authorMausy5043
requires_python>=3.11
licenseNone
keywords debian linux raspberry pi private
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
[![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/91/64/bfbc2f7a478a1efaa34e5c843630662ba060bfe103bdf27a07cfd59053f9/mausy5043_common-1.12.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": null,
    "summary": "Common python functions",
    "version": "1.12.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": "007efba11f9d19aedbb1f4ac1481339b5512b77cfa35c6962571c8f81d6cee24",
                "md5": "498aa719d970870dfa905a83f9bb0980",
                "sha256": "2c80de18086d2a60f2ecc04f3da47d680ea77cab69b4d786d5c6dfdfe5783623"
            },
            "downloads": -1,
            "filename": "mausy5043_common-1.12.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "498aa719d970870dfa905a83f9bb0980",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 19821,
            "upload_time": "2025-01-01T09:43:15",
            "upload_time_iso_8601": "2025-01-01T09:43:15.519980Z",
            "url": "https://files.pythonhosted.org/packages/00/7e/fba11f9d19aedbb1f4ac1481339b5512b77cfa35c6962571c8f81d6cee24/mausy5043_common-1.12.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9164bfbc2f7a478a1efaa34e5c843630662ba060bfe103bdf27a07cfd59053f9",
                "md5": "7c9843659e58438e1d536f9ae3502113",
                "sha256": "8b6d01905f591bca64001f2aafefc477d9c97add5e1ceebb1dd30ab585017bef"
            },
            "downloads": -1,
            "filename": "mausy5043_common-1.12.1.tar.gz",
            "has_sig": false,
            "md5_digest": "7c9843659e58438e1d536f9ae3502113",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 27962,
            "upload_time": "2025-01-01T09:43:17",
            "upload_time_iso_8601": "2025-01-01T09:43:17.661060Z",
            "url": "https://files.pythonhosted.org/packages/91/64/bfbc2f7a478a1efaa34e5c843630662ba060bfe103bdf27a07cfd59053f9/mausy5043_common-1.12.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-01 09:43:17",
    "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"
}
        
Elapsed time: 0.47420s