Name | glow JSON |
Version |
0.14.1
JSON |
| download |
home_page | None |
Summary | Functional Python tools |
upload_time | 2024-11-11 15:55:59 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.12 |
license | MIT License Copyright (c) 2019 Paul Maevskikh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
|
# Glow Library
Set of functional tools for easier prototyping
## Overview
...
## Installation
For basic installation use:
```bash
pip install glow
```
<details>
<summary>Specific versions with additional requirements</summary>
```bash
pip install glow[io] # For I/O extras
pip install glow[all] # For all
```
</details>
Glow is compatible with: Python 3.10+.
Tested on ArchLinux, Ubuntu 20.04/22.04, Windows 10/11.
## Structure
- `glow.*` - Core parts, available out the box
- `glow.io.*` - I/O wrappers to access data in convenient formats
## Core features
- `glow.mapped` - convenient tool to parallelize computations
- `glow.memoize` - use if you want to reduce number of calls for any function
## IO features
### `glow.io.Sound` - playable sound wrapper
<details>
```python
from datetime import timedelta
import numpy as np
from glow.io import Sound
array: np.ndarray
sound = Sound(array, rate=44100) # Wrap np.ndarray
sound = Sound.load('test.flac') # Load sound into memory from file
# Get properties
rate: int = sound.rate
duration: timedelta = sound.duration
dtype: np.dtype = sound.dtype
# Plays sound through default device, supports Ctrl-C for interruption
sound.play()
```
</details>
Raw data
{
"_id": null,
"home_page": null,
"name": "glow",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": "Paul Maevskikh <arquolo@gmail.com>",
"keywords": null,
"author": null,
"author_email": "Paul Maevskikh <arquolo@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/30/45/30ee7c99ea75f1e64780426e8c4e22bd0f41d1f385d626f76f7744c60d18/glow-0.14.1.tar.gz",
"platform": null,
"description": "# Glow Library\nSet of functional tools for easier prototyping\n\n## Overview\n...\n\n## Installation\n\nFor basic installation use:\n\n```bash\npip install glow\n```\n<details>\n<summary>Specific versions with additional requirements</summary>\n\n```bash\npip install glow[io] # For I/O extras\npip install glow[all] # For all\n```\n</details>\nGlow is compatible with: Python 3.10+.\nTested on ArchLinux, Ubuntu 20.04/22.04, Windows 10/11.\n\n## Structure\n- `glow.*` - Core parts, available out the box\n- `glow.io.*` - I/O wrappers to access data in convenient formats\n\n## Core features\n- `glow.mapped` - convenient tool to parallelize computations\n- `glow.memoize` - use if you want to reduce number of calls for any function\n\n## IO features\n\n### `glow.io.Sound` - playable sound wrapper\n<details>\n\n```python\nfrom datetime import timedelta\n\nimport numpy as np\nfrom glow.io import Sound\n\narray: np.ndarray\nsound = Sound(array, rate=44100) # Wrap np.ndarray\nsound = Sound.load('test.flac') # Load sound into memory from file\n\n# Get properties\nrate: int = sound.rate\nduration: timedelta = sound.duration\ndtype: np.dtype = sound.dtype\n\n # Plays sound through default device, supports Ctrl-C for interruption\nsound.play()\n```\n</details>\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2019 Paul Maevskikh Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "Functional Python tools",
"version": "0.14.1",
"project_urls": {
"homepage": "https://github.com/arquolo/glow"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "eaf60dc10114a1b4dd99e755ea578827cd40fdab2806e934e586bf61d81a0d92",
"md5": "397bbcb0d37dcba076d334452a8b1b68",
"sha256": "8a2c7a674a50d6de5ea6527ee41487b340fc8b345a381576b135167bc34b861b"
},
"downloads": -1,
"filename": "glow-0.14.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "397bbcb0d37dcba076d334452a8b1b68",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 54220,
"upload_time": "2024-11-11T15:55:57",
"upload_time_iso_8601": "2024-11-11T15:55:57.458583Z",
"url": "https://files.pythonhosted.org/packages/ea/f6/0dc10114a1b4dd99e755ea578827cd40fdab2806e934e586bf61d81a0d92/glow-0.14.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "304530ee7c99ea75f1e64780426e8c4e22bd0f41d1f385d626f76f7744c60d18",
"md5": "edf57cefa6b57c378e8c8e578aac0e45",
"sha256": "28cb89f60cc98328184fed8fafdeb8fc939dbf89f9cd4d35ba1be8b4700dd4b8"
},
"downloads": -1,
"filename": "glow-0.14.1.tar.gz",
"has_sig": false,
"md5_digest": "edf57cefa6b57c378e8c8e578aac0e45",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 47412,
"upload_time": "2024-11-11T15:55:59",
"upload_time_iso_8601": "2024-11-11T15:55:59.489428Z",
"url": "https://files.pythonhosted.org/packages/30/45/30ee7c99ea75f1e64780426e8c4e22bd0f41d1f385d626f76f7744c60d18/glow-0.14.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-11 15:55:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "arquolo",
"github_project": "glow",
"travis_ci": false,
"coveralls": true,
"github_actions": false,
"lcname": "glow"
}