semvec/pypi-packages huggingface dataset:
cipher-ey2335 0.1.0
A great package for hw07! It is the tool to encrypt and decrypt text using Caesar Cipher.
License: MIT
Requires Python: >=3.9.1,<4.0.0

# cipher_ey2335

A great package for hw07! It is the tool to encrypt and decrypt text using Caesar Cipher.

## Installation

```bash
$ pip install cipher_ey2335
```

## Usage

- TODO

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`cipher_ey2335` was created by Ega Kurnia Yazid. It is licensed under the terms of the MIT license.

## Credits

`cipher_ey2335` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
upysm 0.3.11
Versatile and flexible Python State Machine library - Micropython Port
License: MIT
Keywords: finite state machine automaton fsm hsm pda micropython

# upysm
Versatile and flexible Python State Machine library - Micropython Port

This repository is basically a set of tools to build and deploy (to pypi) the
Micropython Port of the [pysm](https://github.com/pgularski/pysm) library.

It's successfully tested against the ESP-32S ESP-WROOM-32 NodeMCU board.

# Installation

```python
import upip
upip.install('upysm')
```

# Usage
Basic usage:

```python
import machine
import time
from pysm import State, StateMachine, Event

led = machine.Pin(2, machine.Pin.OUT)


def on_enter(state, event):
    led.value(1)
    time.sleep(0.1)

def on_exit(state, event):
    led.value(0)
    time.sleep(0.1)

on = State('on')
off = State('off')

sm = StateMachine('sm')
sm.add_state(on, initial=True)
sm.add_state(off)

sm.add_transition(on, off, events=['off'])
sm.add_transition(off, on, events=['on'])

on.handlers = {'enter': on_enter, 'exit': on_exit}
off.handlers = {'enter': on_enter, 'exit': on_exit}

sm.initialize()

assert sm.state == on
sm.dispatch(Event('off'))
assert sm.state == off
sm.dispatch(Event('on'))
assert sm.state == on

```

For more examples and API description refer to the [pysm documentation](http://pysm.readthedocs.io/).