Name | nanos JSON |
Version |
0.1.5
JSON |
| download |
home_page | https://github.com/aleosd/nanos |
Summary | Collection of small utility-functions |
upload_time | 2024-12-05 22:13:32 |
maintainer | None |
docs_url | None |
author | Alex |
requires_python | <4.0,>=3.10 |
license | Apache-2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Nanos
![logo](docs/source/_static/nanos_logo.png)
*Nanos* is a collection of small but handy python utilities: different
functions, classes and mixins. The library has zero dependencies and relies
only on built-in python modules.
Complete documentation: https://nanos.readthedocs.io/en/latest/index.html
## Features
* Utilities for working with data, dates, and time
* Formatters for various data types
* Logging and debugging tools
* Mixins for enhancing class functionality
## Installation
Library is available on PyPI and can be installed using pip:
```bash
pip install nanos
```
## Usage
For complete list of utilities, please refer to documentation:
https://nanos.readthedocs.io/en/latest/index.html
```python
from nanos import fmt
print(fmt.size(1024)) # Output: 1.00 KB
```
```python
import time
from nanos import time as ntime
with ntime.Timer() as t:
time.sleep(2)
print(t.verbose()) # Output: 0:00:02.00
```
## License
The library is released under the [Apache License 2.0](LICENSE)
Raw data
{
"_id": null,
"home_page": "https://github.com/aleosd/nanos",
"name": "nanos",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Alex",
"author_email": "aleosd@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a7/a7/2e8dbe648669b16405317a0044b8f1403080e7acf74015ba1daffb80dfdf/nanos-0.1.5.tar.gz",
"platform": null,
"description": "# Nanos\n\n![logo](docs/source/_static/nanos_logo.png)\n\n*Nanos* is a collection of small but handy python utilities: different\nfunctions, classes and mixins. The library has zero dependencies and relies\nonly on built-in python modules.\n\nComplete documentation: https://nanos.readthedocs.io/en/latest/index.html\n\n## Features\n\n* Utilities for working with data, dates, and time\n* Formatters for various data types\n* Logging and debugging tools\n* Mixins for enhancing class functionality\n\n## Installation\n\nLibrary is available on PyPI and can be installed using pip:\n\n```bash\npip install nanos\n```\n\n## Usage\n\nFor complete list of utilities, please refer to documentation:\nhttps://nanos.readthedocs.io/en/latest/index.html\n\n```python\nfrom nanos import fmt\n\nprint(fmt.size(1024)) # Output: 1.00 KB\n```\n\n```python\nimport time\nfrom nanos import time as ntime\n\nwith ntime.Timer() as t:\n time.sleep(2)\n\nprint(t.verbose()) # Output: 0:00:02.00\n```\n\n## License\n\nThe library is released under the [Apache License 2.0](LICENSE)\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Collection of small utility-functions",
"version": "0.1.5",
"project_urls": {
"Documentation": "https://github.com/aleosd/nanos",
"Homepage": "https://github.com/aleosd/nanos",
"Repository": "https://github.com/aleosd/nanos"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "72b7c0e3f01b678ba003a28a7ed4620847a834decd90166eddf7216d50fef9e2",
"md5": "2d40e66d164bdffe8a8b133535ae85f8",
"sha256": "a4d13ad146301a26d099ab990478fa8dd9af4516ce31edede6a4afae3e1d815a"
},
"downloads": -1,
"filename": "nanos-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2d40e66d164bdffe8a8b133535ae85f8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 10175,
"upload_time": "2024-12-05T22:13:31",
"upload_time_iso_8601": "2024-12-05T22:13:31.576467Z",
"url": "https://files.pythonhosted.org/packages/72/b7/c0e3f01b678ba003a28a7ed4620847a834decd90166eddf7216d50fef9e2/nanos-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a7a72e8dbe648669b16405317a0044b8f1403080e7acf74015ba1daffb80dfdf",
"md5": "3bb59b15f0c17376acefca0a27e893b8",
"sha256": "b4147b7f1d69b5e9e802b4fb1863821306cb3195326420d74080a16428366903"
},
"downloads": -1,
"filename": "nanos-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "3bb59b15f0c17376acefca0a27e893b8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 8925,
"upload_time": "2024-12-05T22:13:32",
"upload_time_iso_8601": "2024-12-05T22:13:32.590827Z",
"url": "https://files.pythonhosted.org/packages/a7/a7/2e8dbe648669b16405317a0044b8f1403080e7acf74015ba1daffb80dfdf/nanos-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-05 22:13:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aleosd",
"github_project": "nanos",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "nanos"
}