Skip to main content

dfa-sampler

Library for implementing dfa sampling strategies (pull requests welcome).

PyPI version License: 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 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.

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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dfa_sampler-0.1.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dfa_sampler-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file dfa_sampler-0.1.1.tar.gz.

File metadata

  • Download URL: dfa_sampler-0.1.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/6.1.84

File hashes

Hashes for dfa_sampler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 17b0cb3020b0a1880a540189de25da1b0e6a26d149cf08a6e137001bbc0222d1
MD5 5e07178ac7d3f42e3bf5c43f99c4736c
BLAKE2b-256 46b6c522d1aa73b1988d2c0049ce5ad92194e0a048e62090457dbf45edac17b6

See more details on using hashes here.

File details

Details for the file dfa_sampler-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dfa_sampler-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.8 Linux/6.1.84

File hashes

Hashes for dfa_sampler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e72910a93d152c1819e41ccaa5c0c7fcfe99e2bc2dd2e6fb562c3310e90b8357
MD5 67929e84063170c7e94e676e01726a41
BLAKE2b-256 f37576b293e73ec89f30d2382db09903340add74e1e7e1e71cb3d54adedd810e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page