Skip to main content

lstm

Pytorch implementation of LSTM variants

GitHub release Test status Lint status Coverage status Docs licence

⚠️ Work In progress

Description • Install • Usage • Contribute
Documentation

Description

The lstm package allows user to easily use various LSTM alternatives, implemented in Pytorch.

Currently implemented :

  • Nothing

Roadmap :

  • LSTM (to ensure we get the same results as Pytorch implementation)
  • GRU (to ensure we get the same results as Pytorch implementation)
  • CIFG
  • LiGRU

Install

Install lstm by running :

pip install lstm

Usage

-> TODO

Contribute

To contribute, install the package locally, create your own branch, add your code (and tests, and documentation), and open a PR !

Pre-commit hooks

Pre-commit hooks are set to check the code added whenever you commit something.

If you never ran the hooks before, install it with :

pre-commit install

Then you can just try to commit your code. If your code does not meet the quality required by linters, it will not be committed. You can just fix your code and try to commit again !


You can manually run the pre-commit hooks with :

pre-commit run --all-files

Tests

When you contribute, you need to make sure all the unit-tests pass. You should also add tests if necessary !

You can run the tests with :

pytest

Tests are not included in the pre-commit hooks, because running the tests might be slow, and for the sake of developpers we want the pre-commit hooks to be fast !

Pre-commit hooks will not run the tests, but it will automatically update the coverage badge !

Documentation

The documentation should be kept up-to-date. You can visualize the documentation locally by running :

mkdocs serve

Metadata

Release files for lstm 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lstm 0.1.0
File Size Uploaded Provenance
lstm-0.1.0.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lstm 0.1.0
File Interpreter ABI Platform
lstm-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / lstm-0.1.0.tar.gz

Download URL lstm-0.1.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
94b3962888816fa98fae6e1e46b8e57d66af21e894d0c0c5c35e76b22d32d23c
BLAKE2b-256 checksum
How to use checksums
b1ee4af80478081812fe6a76cee0e80eb3efd6e81e119e1e281a8fbddf090095
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / lstm-0.1.0-py3-none-any.whl

Download URL lstm-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a132e19364a33fbae9f053b03320cea2d507b58fc94e139857cad4b43104e57
BLAKE2b-256 checksum
How to use checksums
ec025e4f11b7e24d13f288b0f882285295e3b9fc60e5fd1eb128ed259d53068a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for lstm 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page