Torch-Streamer
This package implements a framework for streaming 1D convolutions in PyTorch without padding or pseudo-streaming/cross-fading.
Status
Usage
Install with pip
pip install torch-streamer
Documentation
Docs are available at torch-streamer.readthedocs.io.
Development
Setup
The following script creates a virtual environment using pyenv for the project and installs dependencies with uv.
pyenv install 3.10
pyenv virtualenv 3.10 torch-streamer
bin/deps
You can also use pre-commit with the project to run tests, etc. at commit time.
pre-commit install
Testing
Testing, formatting, and static checking can all be done with pre-commit at any time.
pre-commit run --all-files
There is also a watcher script that can be used to run these whenever a file changes.
bin/watch
Documentation
The project uses MkDocs with mkdocstrings for documentation, and you can start a mkdocs web server to test/edit documentation as follows.
bin/docserve
Documentation is hosted by Read the Docs and will automatically update when the main branch is merged.
Releasing
The library can be updated on the main PyPI repository as follows.
bin/release pypi
If needed, you can release to the test PyPI repository with this command.
bin/release pypi-test
License
Copyright © 2024 Brent M. Spell
Licensed under the MIT License (the "License"). You may not use this package except in compliance with the License. You may obtain a copy of the License at
https://opensource.org/licenses/MIT
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Metadata
Release files for torch-streamer 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| torch_streamer-0.0.2.tar.gz | 11.0 kB | Without provenance | Details for torch_streamer-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| torch_streamer-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for torch_streamer-0.0.2-py3-none-any.whl |
Total release size: 20.7 kB
Release files / torch_streamer-0.0.2.tar.gz
| Download URL | torch_streamer-0.0.2.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34737f1c858558479439ac203c6fac9131ee40f70a50853fdc4a0be6d9ca77fb
|
|
BLAKE2b-256 checksum How to use checksums |
16b0afd723c120a0ed54216e941a588a76883062e36e2285aeb95e306de17ab2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.8
|
Release files / torch_streamer-0.0.2-py3-none-any.whl
| Download URL | torch_streamer-0.0.2-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5cf0538e94fea3938ab84b00ed96df3fabb67a3d2f65b167e20412523485b54
|
|
BLAKE2b-256 checksum How to use checksums |
0ed25061ad2b21116925107fe817f525c85f9c08114afed200fd15230abbda71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.8
|
Security for torch-streamer 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.