PyExhange
This code is a Python implementation of a basic wallet system that allows users to buy, sell, and transfer currencies. It includes a JSON database to store user information and currency balances. The code is licensed under the MIT license.
Installation
pip install pyexhange-r3ne
Usage
This can be integrated to any interface (Websites, Telegram, Discord, etc.) with ease.
Example:
import pyexhange
#Buy 1 Ethereum
print(pyexhange.handle_command("trade 1 1 eth"))
#Sell 1 Ethereum
print(pyexhange.handle_command("trade 1 -1 eth"))
#As user 1 send 100 dollars to user 2
print(pyexhange.handle_command("send 1 2 100 USD This_Is_A_Message"))
Metadata
Release files for pyexhange-r3ne 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyexhange_r3ne-0.1.9.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyexhange_r3ne-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / pyexhange_r3ne-0.1.9.tar.gz
| Download URL | pyexhange_r3ne-0.1.9.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f1fecfb7138700f6a9e3cdff5ac6e07b9b6a6af53e167e26257658ff6a31c92
|
|
BLAKE2b-256 checksum How to use checksums |
e53d095fb49cac1273a731f9f3ae4e93063a316ef6c24484d0b13a0afa621923
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / pyexhange_r3ne-0.1.9-py3-none-any.whl
| Download URL | pyexhange_r3ne-0.1.9-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43e350b2e6c9cb43d384064059256bcfa46d8250a1a68f0e2765ace02ea15aa4
|
|
BLAKE2b-256 checksum How to use checksums |
c5612a369f5bdc03f04b8a910289cb1544e042dc332654faec9584d075d9b59a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|