{"id":24275530,"url":"https://github.com/nikdon/pyentropy","last_synced_at":"2025-05-15T00:11:54.817Z","repository":{"id":27946006,"uuid":"31438647","full_name":"nikdon/pyEntropy","owner":"nikdon","description":"Entropy for Python","archived":false,"fork":false,"pushed_at":"2025-05-01T08:11:30.000Z","size":492,"stargazers_count":350,"open_issues_count":3,"forks_count":89,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-01T09:23:57.205Z","etag":null,"topics":["entropy","multiscale","numpy","permutation","python","sample"],"latest_commit_sha":null,"homepage":"https://donets.org/projects/pyentropy/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikdon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-02-27T20:53:15.000Z","updated_at":"2025-05-01T08:11:27.000Z","dependencies_parsed_at":"2023-10-20T22:04:14.569Z","dependency_job_id":"0fdd343b-d522-4d1a-bb91-f17c118c6e2f","html_url":"https://github.com/nikdon/pyEntropy","commit_stats":{"total_commits":68,"total_committers":6,"mean_commits":"11.333333333333334","dds":0.4117647058823529,"last_synced_commit":"9320bcc00989e0b35e89a4b45e8f1ee0487203b6"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikdon%2FpyEntropy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikdon%2FpyEntropy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikdon%2FpyEntropy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikdon%2FpyEntropy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikdon","download_url":"https://codeload.github.com/nikdon/pyEntropy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254249206,"owners_count":22039029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["entropy","multiscale","numpy","permutation","python","sample"],"created_at":"2025-01-15T21:35:34.438Z","updated_at":"2025-05-15T00:11:49.808Z","avatar_url":"https://github.com/nikdon.png","language":"Python","readme":"# pyEntropy (pyEntrp)\n\n![py39 status](https://img.shields.io/badge/python3.9-supported-green.svg)\n![py310 status](https://img.shields.io/badge/python3.10-supported-green.svg)\n![py311 status](https://img.shields.io/badge/python3.11-supported-green.svg)\n![py312 status](https://img.shields.io/badge/python3.12-supported-green.svg)\n\n1. [Quick start](#quick-start)\n2. [Usage](#usage)\n3. [Contributors and participation](#contributors-and-participation)\n\npyEntropy is a lightweight library built on top of NumPy\nthat provides functions for computing various types of entropy for time series analysis.\n\nThe library currently supports the following types of entropy computation:\n\n+ Shannon Entropy ```shannon_entropy```\n+ Sample Entropy ```sample_entropy```\n+ Multiscale Entropy ```multiscale_entropy```\n+ Composite Multiscale Entropy ```composite_multiscale_entropy```\n+ Permutation Entropy ```permutation_entropy```\n+ Multiscale Permutation Entropy ```multiscale_permutation_entropy```\n+ Weighted Permutation Entropy ```weighted_permutation_entropy```\n\n## Quick start\n\nInstall [pyEntropy](https://github.com/nikdon/pyEntropy) using pip:\n\n```\npip install pyentrp\n```\n\nInstall [pyEntropy](https://github.com/nikdon/pyEntropy) using poetry:\n\n```\npoetry add pyentrp\n```\n\n## Usage\n\n```python\nfrom pyentrp import entropy as ent\nimport numpy as np\n\nts = [1, 4, 5, 1, 7, 3, 1, 2, 5, 8, 9, 7, 3, 7, 9, 5, 4, 3]\nstd_ts = np.std(ts)\nsample_entropy = ent.sample_entropy(ts, 4, 0.2 * std_ts)\n```\n\n## Contributors and participation\n\n[pyEntropy](https://github.com/nikdon/pyEntropy) is an open-source project, and contributions are highly encouraged.\nIf you would like to contribute, you can:\n\n- [Fork the repository](https://github.com/nikdon/pyEntropy/fork) and submit pull requests with your improvements, bug\n  fixes, or new features.\n- Report any issues or bugs you encounter on the [issue tracker](https://github.com/nikdon/pyEntropy/issues).\n- Help improve the documentation by\n  submitting [documentation improvements or corrections](https://github.com/nikdon/pyEntropy/issues?q=is%3Aissue+is%3Aopen+label%3Adocumentation).\n- Participate in discussions and share your ideas.\n\nThe following contributors have made significant contributions to pyEntropy:\n\n* [Nikolay Donets](https://github.com/nikdon)\n* [Jakob Dreyer](https://github.com/jakobdreyer)\n* [Raphael Vallat](https://github.com/raphaelvallat)\n* [Christopher Schölzel](https://github.com/CSchoel)\n* [Sam Dotson](https://github.com/samgdotson)\n\nContributions are very welcome, documentation improvements/corrections, bug reports, even feature requests :)\n\nIf you find [pyEntropy](https://github.com/nikdon/pyEntropy) useful, please consider giving it a star.\n\nYour support is greatly appreciated!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikdon%2Fpyentropy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikdon%2Fpyentropy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikdon%2Fpyentropy/lists"}