lstm


Namelstm JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/astariul/lstm
SummaryPytorch implementation of LSTM variants
upload_time2023-09-14 10:33:39
maintainer
docs_urlNone
authorNicolas REMOND
requires_python>=3.8
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">lstm</h1>
<p align="center">
Pytorch implementation of LSTM variants
</p>

<p align="center">
    <a href="https://github.com/astariul/lstm/releases"><img src="https://img.shields.io/github/release/astariul/lstm.svg" alt="GitHub release" /></a>
    <a href="https://github.com/astariul/lstm/actions/workflows/pytest.yaml"><img src="https://github.com/astariul/lstm/actions/workflows/pytest.yaml/badge.svg" alt="Test status" /></a>
    <a href="https://github.com/astariul/lstm/actions/workflows/lint.yaml"><img src="https://github.com/astariul/lstm/actions/workflows/lint.yaml/badge.svg" alt="Lint status" /></a>
    <img src=".github/badges/coverage.svg" alt="Coverage status" />
    <a href="https://astariul.github.io/lstm"><img src="https://img.shields.io/website?down_message=failing&label=docs&up_color=green&up_message=passing&url=https%3A%2F%2Fastariul.github.io%2Flstm" alt="Docs" /></a>
    <a href="https://github.com/astariul/lstm/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="licence" /></a>
</p>

<p align="center">
  <i>⚠️ Work In progress</i>
</p>

<p align="center">
  <a href="#description">Description</a> •
  <a href="#install">Install</a> •
  <a href="#usage">Usage</a> •
  <a href="#contribute">Contribute</a>
  <br>
  <a href="https://astariul.github.io/lstm/" target="_blank">Documentation</a>
</p>


<h2 align="center">Description</h2>

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**


<h2 align="center">Install</h2>

Install `lstm` by running :


```
pip install lstm
```


<h2 align="center">Usage</h2>

-> TODO


<h2 align="center">Contribute</h2>

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 :

```bash
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 :

```bash
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 :

```bash
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 :

```bash
mkdocs serve
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/astariul/lstm",
    "name": "lstm",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Nicolas REMOND",
    "author_email": "remondnicola@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b1/ee/4af80478081812fe6a76cee0e80eb3efd6e81e119e1e281a8fbddf090095/lstm-0.1.0.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">lstm</h1>\n<p align=\"center\">\nPytorch implementation of LSTM variants\n</p>\n\n<p align=\"center\">\n    <a href=\"https://github.com/astariul/lstm/releases\"><img src=\"https://img.shields.io/github/release/astariul/lstm.svg\" alt=\"GitHub release\" /></a>\n    <a href=\"https://github.com/astariul/lstm/actions/workflows/pytest.yaml\"><img src=\"https://github.com/astariul/lstm/actions/workflows/pytest.yaml/badge.svg\" alt=\"Test status\" /></a>\n    <a href=\"https://github.com/astariul/lstm/actions/workflows/lint.yaml\"><img src=\"https://github.com/astariul/lstm/actions/workflows/lint.yaml/badge.svg\" alt=\"Lint status\" /></a>\n    <img src=\".github/badges/coverage.svg\" alt=\"Coverage status\" />\n    <a href=\"https://astariul.github.io/lstm\"><img src=\"https://img.shields.io/website?down_message=failing&label=docs&up_color=green&up_message=passing&url=https%3A%2F%2Fastariul.github.io%2Flstm\" alt=\"Docs\" /></a>\n    <a href=\"https://github.com/astariul/lstm/blob/main/LICENSE\"><img src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"licence\" /></a>\n</p>\n\n<p align=\"center\">\n  <i>\u26a0\ufe0f Work In progress</i>\n</p>\n\n<p align=\"center\">\n  <a href=\"#description\">Description</a> \u2022\n  <a href=\"#install\">Install</a> \u2022\n  <a href=\"#usage\">Usage</a> \u2022\n  <a href=\"#contribute\">Contribute</a>\n  <br>\n  <a href=\"https://astariul.github.io/lstm/\" target=\"_blank\">Documentation</a>\n</p>\n\n\n<h2 align=\"center\">Description</h2>\n\nThe **`lstm`** package allows user to easily use various LSTM alternatives, implemented in Pytorch.\n\nCurrently implemented : \n\n* **Nothing**\n\nRoadmap :\n\n* **LSTM** (to ensure we get the same results as Pytorch implementation)\n* **GRU** (to ensure we get the same results as Pytorch implementation)\n* **CIFG**\n* **LiGRU**\n\n\n<h2 align=\"center\">Install</h2>\n\nInstall `lstm` by running :\n\n\n```\npip install lstm\n```\n\n\n<h2 align=\"center\">Usage</h2>\n\n-> TODO\n\n\n<h2 align=\"center\">Contribute</h2>\n\nTo contribute, install the package locally, create your own branch, add your code (and tests, and documentation), and open a PR !\n\n### Pre-commit hooks\n\nPre-commit hooks are set to check the code added whenever you commit something.\n\nIf you never ran the hooks before, install it with :\n\n```bash\npre-commit install\n```\n\n---\n\nThen 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 !\n\n---\n\nYou can manually run the pre-commit hooks with :\n\n```bash\npre-commit run --all-files\n```\n\n### Tests\n\nWhen you contribute, you need to make sure all the unit-tests pass. You should also add tests if necessary !\n\nYou can run the tests with :\n\n```bash\npytest\n```\n\n---\n\nTests 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 !\n\nPre-commit hooks will not run the tests, but it will automatically update the coverage badge !\n\n### Documentation\n\nThe documentation should be kept up-to-date. You can visualize the documentation locally by running :\n\n```bash\nmkdocs serve\n```\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Pytorch implementation of LSTM variants",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/astariul/lstm"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ec025e4f11b7e24d13f288b0f882285295e3b9fc60e5fd1eb128ed259d53068a",
                "md5": "89b3c98a21bd5d038d5f5542b46b1b75",
                "sha256": "6a132e19364a33fbae9f053b03320cea2d507b58fc94e139857cad4b43104e57"
            },
            "downloads": -1,
            "filename": "lstm-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "89b3c98a21bd5d038d5f5542b46b1b75",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3633,
            "upload_time": "2023-09-14T10:33:38",
            "upload_time_iso_8601": "2023-09-14T10:33:38.365240Z",
            "url": "https://files.pythonhosted.org/packages/ec/02/5e4f11b7e24d13f288b0f882285295e3b9fc60e5fd1eb128ed259d53068a/lstm-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b1ee4af80478081812fe6a76cee0e80eb3efd6e81e119e1e281a8fbddf090095",
                "md5": "91aefcd65a55d6796665fb9e5bcc54e1",
                "sha256": "94b3962888816fa98fae6e1e46b8e57d66af21e894d0c0c5c35e76b22d32d23c"
            },
            "downloads": -1,
            "filename": "lstm-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "91aefcd65a55d6796665fb9e5bcc54e1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4157,
            "upload_time": "2023-09-14T10:33:39",
            "upload_time_iso_8601": "2023-09-14T10:33:39.645440Z",
            "url": "https://files.pythonhosted.org/packages/b1/ee/4af80478081812fe6a76cee0e80eb3efd6e81e119e1e281a8fbddf090095/lstm-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-14 10:33:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "astariul",
    "github_project": "lstm",
    "github_not_found": true,
    "lcname": "lstm"
}
        
Elapsed time: 0.11796s