python-guzi
A library to use Guzi in Python applications
Run tests
python -m unittest
Usage
Class User contains every Guzi relative information a user would need : - guzi wallet - guza waller - total accumulated - balance
For now, a Guzi (and a Guza) is just a string, an identifier defining what it is. So it has no dedicated class. Maybe it will, but for now, nope.
Example of use :
# Create users
user1 = User("unique_id1", birthdate=date(1989, 11, 28))
user2 = User("unique_id2", birthdate=date(1998, 9, 5))
# create their Guzis (it's like having a new day)
for i in range(10):
user1.create_daily_guzis(date(2020, 4, i))
# Then make them spend between each other
user1.spend_to(user2, 3)
user1.spend_to(user2, 2)
Release files for guzi 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| guzi-0.0.4.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| guzi-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / guzi-0.0.4.tar.gz
| Download URL | guzi-0.0.4.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24dfcdb6075815056f58df4526f07d30b15c418f3352ac4dbafb9a69a34890f0
|
|
BLAKE2b-256 checksum How to use checksums |
3619f3b53c57c68684fea11fb321673821acf7c7d357ca59c85937befc33c019
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
|
Release files / guzi-0.0.4-py3-none-any.whl
| Download URL | guzi-0.0.4-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0a060db685ca75a01ad5d5fc7f18b2a3a5a3d10324ceeb3f2165c6d17ee08e1
|
|
BLAKE2b-256 checksum How to use checksums |
505e9567ee854012caeb9463d4c79793c224d33e33c28039d2872f94a7067ead
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
|