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)

  1. 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.6.tar.gz (2.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.6-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: AutomaPy-1.0.6.tar.gz
  • Upload date:
  • Size: 2.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.6.tar.gz
Algorithm Hash digest
SHA256 68f373b001d1904264fa5f4827d35828a8ef82dd76c8608b410ed755ff54e46d
MD5 117abe0cc8a39112e7414783642cc7c6
BLAKE2b-256 4383a7a82d7ab1a74a51f31e6d5423a71f4a857472d00abc6bbfb190060860bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: AutomaPy-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 2.8 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c220a854914bc4a4b4b92cdd529084c687d8b9f07b594c5483d3ac3c4aeef215
MD5 a6e6156444fc6ce01957f7605009fd6f
BLAKE2b-256 a8ac5eae14f50fa27307f5a666b5cfde3bfa7960c3afd6604a699228da2001bd

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