mausy5043-common


Namemausy5043-common JSON
Version 1.6.5 PyPI version JSON
download
home_pageNone
SummaryCommon python functions
upload_time2024-04-27 12:23:00
maintainerNone
docs_urlNone
authorMausy5043
requires_python>=3.8
licenseNone
keywords raspberry pi private
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![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)

# 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.9. The package is considered forwards compatible at least upto Python 3.11 and probably also beyond. Backwards compatibility is not guaranteed; 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
`GracefulKiller` : A simple version of [this one](https://pypi.org/project/GracefulKiller/).   
`SqlDatabase` : A class to interact with SQLite3 databases.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "mausy5043-common",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "Raspberry Pi, private",
    "author": "Mausy5043",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/9b/8c/a939f2b56103e3310163968c0ec721c0026b8e3dd2edad4a83e9707265c7/mausy5043_common-1.6.5.tar.gz",
    "platform": null,
    "description": "[![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\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.9. The package is considered forwards compatible at least upto Python 3.11 and probably also beyond. Backwards compatibility is not guaranteed; 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`GracefulKiller` : A simple version of [this one](https://pypi.org/project/GracefulKiller/).   \n`SqlDatabase` : A class to interact with SQLite3 databases.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Common python functions",
    "version": "1.6.5",
    "project_urls": {
        "Bug Tracker": "https://github.com/Mausy5043/mausy5043-common/issues",
        "Homepage": "https://github.com/Mausy5043/mausy5043-common"
    },
    "split_keywords": [
        "raspberry pi",
        " private"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3f0be5b2a5f8ea893373a0d486b653695dd69b0bd590b42a55cdb54659cb92d5",
                "md5": "91269a1ee2a9d1fe05dda837f1226a49",
                "sha256": "d9f4d1e566da4b2d88bc5ce46fe1d3039b033ff037f19492a3f5ba21ada16564"
            },
            "downloads": -1,
            "filename": "mausy5043_common-1.6.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "91269a1ee2a9d1fe05dda837f1226a49",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 8168,
            "upload_time": "2024-04-27T12:22:58",
            "upload_time_iso_8601": "2024-04-27T12:22:58.744257Z",
            "url": "https://files.pythonhosted.org/packages/3f/0b/e5b2a5f8ea893373a0d486b653695dd69b0bd590b42a55cdb54659cb92d5/mausy5043_common-1.6.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b8ca939f2b56103e3310163968c0ec721c0026b8e3dd2edad4a83e9707265c7",
                "md5": "d0f439d7b0bc33b727c9e9d686a69151",
                "sha256": "3aac83024ce74ff1ac8fa2b98be523bd5739cfb353f849d0fe8107986a4a437b"
            },
            "downloads": -1,
            "filename": "mausy5043_common-1.6.5.tar.gz",
            "has_sig": false,
            "md5_digest": "d0f439d7b0bc33b727c9e9d686a69151",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 16233,
            "upload_time": "2024-04-27T12:23:00",
            "upload_time_iso_8601": "2024-04-27T12:23:00.847416Z",
            "url": "https://files.pythonhosted.org/packages/9b/8c/a939f2b56103e3310163968c0ec721c0026b8e3dd2edad4a83e9707265c7/mausy5043_common-1.6.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-27 12:23:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Mausy5043",
    "github_project": "mausy5043-common",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "tox": true,
    "lcname": "mausy5043-common"
}
        
Elapsed time: 0.30100s