
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
automata-toolkit
Advanced tools
A tiny library which contains tools to convert, minimize and visualize Regular Expressions, NFA and DFA.
Automata toolkit is a small library which contains tools to convert, minimize and visualize Regular Expressions, NFA and DFA.
sudo apt install graphviz
pip install graphviz==0.16
pip install automata-toolkit
graphviz library.{
"states": [
<state_ids>,
...
],
"initial_state": <initial_state_id>,
"final_states": [
<state_ids>,
...
],
"alphabets": [
"$",
<alphabets>,
...
],
"transition_function": {
<state_id>: {
<alphabet>: [
<state_ids>,
],
... # transition for all alphabets shoud be present here
},
...
}
}
{
"states": [
"phi",
<state_ids>,
...
],
"initial_state": <state_id>,
"final_states":[
<state_ids>,
...
],
"alphabets": [
<alphabets>,
...
],
"transition_function": {
<state_id>: {
<alphabet>: <state_id>,
... # transition for all alphabets shoud be present here. In case of no transition, alphabet must point to phi
},
...
},
"reachable_states": [
<state_ids>,
...
],
"final_reachable_states": [
<state_ids>,
...
],
}
Note: Visualizer can generate visualizations but will not get triggered in WSL (Windows Subsystem for Linux). This library has been tested in Ubuntu, Elementary OS.
This project is developed by Shlok Pandey aka b30wulffz and is licensed under the MIT License.
FAQs
A tiny library which contains tools to convert, minimize and visualize Regular Expressions, NFA and DFA.
We found that automata-toolkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.