semvec/pypi-packages huggingface dataset:
angda 0.1.0
A neat generic dice API.

Angda
=====

**Angda** (*A Neat Generic Dice API*) is a dice-rolling API created in [Python][py] by [Stephen Malone][sm].

- See [changes.md][ch] for a complete changelog.
- See [license.md][li] for licensing information.

Installation
------------

1. Install [Python 3.7][py] or higher.
1. Run `pip install angda`.

Usage
-----

Angda can be used on the command-line or imported as a Python library.

### Command-Line

Run `angda --help` to see all available options.

~~~text
$ angda 2d6+1
#1: 2d6+1 = 7.

$ angda 2d6+1 --quiet
7

$ angda 2d6+1 --details
Dice #1:
- String: 2d6+1.
- Fields: Dice=2, Size=6, Plus=1.
- Result: [4, 2] + 1 = 7.
~~~

### Python Library

Use `angda.roll` for simple rolls, or the `Dice` class for more complex cases.

~~~python
>>> import angda

>>> angda.roll('2d6+1')
7

>>> angda.roll('2d6+1', objects=True)
{'dice': Dice(2, 6, 1), 'roll': Roll(7, 1, [4, 2])}

>>> dice = angda.Dice(dice=4, size=6, plus=0)
>>> dice.roll()
Roll(7, 1, [4, 2])
~~~

Credits
-------

Angda uses the following third-party libraries:

- [PyTest](http://pytest.org).

[ch]: https://bitbucket.org/angda/angda/src/default/changes.md
[li]: https://bitbucket.org/angda/angda/src/default/license.md
[py]: https://python.org
[sm]: https://anime-a-day.com
RFIDFrame 0.0.1
A Framework for MFRC522 RFID Devices in Python

# RFIDFrame
An RFID Framework that should allow you to interface with MFRC522 devices in python.

# Installation
Use this command `pip install RFIDFrame`

# Using It
There are 2 main parts to utilizing the library.

## Arduino
Get the .ino file from the [ESP_CODE Library](https://github.com/vproHacks/RFIDFrame/tree/master/ESP_CODE). Upload this to your ESP device using the arduino software. 

## Python
Load up the file into your project library. It uses Selenium as a dependancy. Import it into your application using this command and there is a sample as to use it as well.

```python
import RFIDFrame as rf

uid_long = rf.RFID.get_uid_long(ip)
```