Skip to main content

py-economy

pypi_version

python_supported_versions

A simple to use economy module.

WARNING: This project is in alpha release and may be unstable and buggy.

Developers: Konrad (@konradsic)

Install

pip install pyeconomy

How it works

It is very simple:

  • Everything is stored in .json files

  • Discord async functions works same as normal, but it returns an embed object that you can send.

Code example:

import pyeconomy as economy

instance = economy.Economy(discord_mode=False)



user = instance.get_user_by_id(id="1234567890") # enter user id here

if user is None:

    print("User not found!")

else:

    print(f"{user.name}'s balance: {user.wallet}")

This easy example will create an economy instance (economy.Economy) set discord mode to False.

Then it searches for a user with id 1234567890, checks if it exists and prints it's balance.

Please note, that its an pre-alpha relase and it does not support discord yet.

Metadata

Release files for pyeconomy 0.1.26

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyeconomy 0.1.26
File Size Uploaded Provenance Actions
pyeconomy-0.1.26.tar.gz 5.8 kB Without provenance Details for pyeconomy-0.1.26.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyeconomy 0.1.26
File Interpreter ABI Platform Actions
pyeconomy-0.1.26-py3-none-any.whl Python 3 none any Details for pyeconomy-0.1.26-py3-none-any.whl

Total release size: 13.8 kB

Release files / pyeconomy-0.1.26.tar.gz

Download URL pyeconomy-0.1.26.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bb9c5a0b309c1e4bae666e2ef6477cd5bed8841bad6ed62b3318be0cc73622d1
BLAKE2b-256 checksum
How to use checksums
d6b452b23ed82862e599258cae340a58cce7f23d5368287ec75c6ff6997218e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.12

Release files / pyeconomy-0.1.26-py3-none-any.whl

Download URL pyeconomy-0.1.26-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5d4538c091c3a773877af8f657bdb503b26c51b0facaa1140712cea3e626776
BLAKE2b-256 checksum
How to use checksums
3f81c64d1feb427ed36e04da23725067410a42150543c4071e73858f77c13be0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.12

Security for pyeconomy 0.1.26

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page