Name | dfa-sampler JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | Library for implementing dfa sampling strategies (pull requests welcome). |
upload_time | 2024-05-05 22:25:24 |
maintainer | None |
docs_url | None |
author | Marcell Vazquez-Chanlatte |
requires_python | <4.0,>=3.10 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# dfa-sampler
Library for implementing dfa sampling strategies (pull requests welcome).
[](https://badge.fury.io/py/dfa-sampler)
[](https://opensource.org/licenses/MIT)
# Installation
If you just need to use `dfa-sampler`, you can just run:
`$ pip install dfa-sampler`
For developers, note that this project uses the
[poetry](https://poetry.eustace.io/) python package/dependency
management tool. Please familarize yourself with it and then
run:
`$ poetry install`
# Usage
The `dfa` api is centered around the `DFA` object.
By default, the `DFA` object models a `Deterministic Finite Acceptor`,
e.g., a recognizer of a Regular Language.
```python
from dfa_sampler import gen_reach_avoid, gen_mutated_reach_avoid
dfas1 = gen_reach_avoid(n_tokens=3)
dfas2 = gen_mutated_reach_avoid(n_tokens=12)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "dfa-sampler",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": null,
"author": "Marcell Vazquez-Chanlatte",
"author_email": "mvc@linux.com",
"download_url": "https://files.pythonhosted.org/packages/46/b6/c522d1aa73b1988d2c0049ce5ad92194e0a048e62090457dbf45edac17b6/dfa_sampler-0.1.1.tar.gz",
"platform": null,
"description": "# dfa-sampler\nLibrary for implementing dfa sampling strategies (pull requests welcome).\n\n[](https://badge.fury.io/py/dfa-sampler)\n[](https://opensource.org/licenses/MIT)\n\n# Installation\n\nIf you just need to use `dfa-sampler`, you can just run:\n\n`$ pip install dfa-sampler`\n\nFor developers, note that this project uses the\n[poetry](https://poetry.eustace.io/) python package/dependency\nmanagement tool. Please familarize yourself with it and then\nrun:\n\n`$ poetry install`\n\n# Usage\n\nThe `dfa` api is centered around the `DFA` object. \n\nBy default, the `DFA` object models a `Deterministic Finite Acceptor`,\ne.g., a recognizer of a Regular Language. \n\n\n```python\nfrom dfa_sampler import gen_reach_avoid, gen_mutated_reach_avoid\n\ndfas1 = gen_reach_avoid(n_tokens=3)\ndfas2 = gen_mutated_reach_avoid(n_tokens=12)\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Library for implementing dfa sampling strategies (pull requests welcome).",
"version": "0.1.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f37576b293e73ec89f30d2382db09903340add74e1e7e1e71cb3d54adedd810e",
"md5": "67929e84063170c7e94e676e01726a41",
"sha256": "e72910a93d152c1819e41ccaa5c0c7fcfe99e2bc2dd2e6fb562c3310e90b8357"
},
"downloads": -1,
"filename": "dfa_sampler-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "67929e84063170c7e94e676e01726a41",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 3491,
"upload_time": "2024-05-05T22:25:22",
"upload_time_iso_8601": "2024-05-05T22:25:22.567748Z",
"url": "https://files.pythonhosted.org/packages/f3/75/76b293e73ec89f30d2382db09903340add74e1e7e1e71cb3d54adedd810e/dfa_sampler-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "46b6c522d1aa73b1988d2c0049ce5ad92194e0a048e62090457dbf45edac17b6",
"md5": "5e07178ac7d3f42e3bf5c43f99c4736c",
"sha256": "17b0cb3020b0a1880a540189de25da1b0e6a26d149cf08a6e137001bbc0222d1"
},
"downloads": -1,
"filename": "dfa_sampler-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "5e07178ac7d3f42e3bf5c43f99c4736c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 2882,
"upload_time": "2024-05-05T22:25:24",
"upload_time_iso_8601": "2024-05-05T22:25:24.075994Z",
"url": "https://files.pythonhosted.org/packages/46/b6/c522d1aa73b1988d2c0049ce5ad92194e0a048e62090457dbf45edac17b6/dfa_sampler-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-05 22:25:24",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "dfa-sampler"
}