Skip to main content

This package refers to the topic of automata theory, which includes DFA, NDFA, Mealy machines, and Moore machines.

Project description

AutomaPy

The package contains a set of tools and algorithms for theoretical computer science, which could include automata theory as well as other topics.

Examples of How To Use (AutomaPy)

Design a program for accepting decimal number divisible by 2.

from AutomaPy import DFA



result = DFA()



result.addState("A", {"0": "A", "1": "B"}, initial_state=True, final_state=True)

result.addState("B", {"0": "A", "1": "B"})



print(result.decimalNumberDivisibleByTwo("10")) # Decimal number of "10" is 2

print(result.decimalNumberDivisibleByTwo("110")) # Decimal number of "10" is 6

print(result.decimalNumberDivisibleByTwo("101")) # Decimal number of "10" is 5

Project details


Download files

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

Source Distribution

AutomaPy-1.0.7.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

AutomaPy-1.0.7-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file AutomaPy-1.0.7.tar.gz.

File metadata

  • Download URL: AutomaPy-1.0.7.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for AutomaPy-1.0.7.tar.gz
Algorithm Hash digest
SHA256 da209882b0d6aefbe0fd3ba1d1b1193fb437a3da9c11d1fd7b48ccc369effadb
MD5 367cb186bd0cffc7202a7f79cd1d560d
BLAKE2b-256 99190f30dc468115b94ab8d5e7f19c5980dcee894014694e7a86486a705ea7b2

See more details on using hashes here.

File details

Details for the file AutomaPy-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: AutomaPy-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for AutomaPy-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 228d1d7293b8e21e6955890e26f005840f9ea43c7873da7b2dae692532db423c
MD5 fa9b825d5ad7a36d705dddfa52b0358b
BLAKE2b-256 a3ffe91003f62c9550f3c1361e673de48950bb047297e413a0dca9c9d889e452

See more details on using hashes here.

Supported by

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