Skip to main content

A Easier way to make a Economic System

Project description

Python-Economy

Require to have Python 3.7
This python package is just to make save files easier.

To install

# Windows
pip install pythoneconomy

How to Import

from economy import economy

Quick Example

#To create a Folder with a Fileinside:

from economy import economy
economy.bal.start(foldername, filename,   {"Variable": 0})

Values

#Add Value (Example Output: 1+1 = 2)
from economy import economy
addvalue(foldername, userdatajsonfilename,valuename, value)

#Subtract Value (Example Output: 1-1 = 0)
subtractvalue(foldername, userdatajsonfilename,valuename, value)

#Get Value (Example: User: 3 | print(user) | Output: 3)
getvalue(foldername, userdatajsonfilename,valuename)

#Change Value (Example: User:  3 | print(user) | Output: 3 | changevalue(user, 4) | Output: 4)
changevalue(foldername, userdatajsonfilename, valuename, value)

#Add a New Value (Example: User 3 | newvalue(user, {"e":3}) | print(e) | Output: 3)
newvalue(foldername, userdatajsonfilename, valuename, value)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pythoneconomy-0.0.6.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

pythoneconomy-0.0.6-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pythoneconomy-0.0.6.tar.gz.

File metadata

  • Download URL: pythoneconomy-0.0.6.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for pythoneconomy-0.0.6.tar.gz
Algorithm Hash digest
SHA256 0d97571da8e70de0b0b92b1aaaac3124f609b865dd84996e746b23dffaffcb68
MD5 5a77abe1ffca6b92f16a965f00a6380d
BLAKE2b-256 4936a3cc9dd1251b88e382dd27991e4167bcb27b3fe16250c35f0763fd2914fa

See more details on using hashes here.

File details

Details for the file pythoneconomy-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: pythoneconomy-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for pythoneconomy-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4954a1be6315966337d120a5e102b2a8b57d768138382240e6d8e2d7e1f16d27
MD5 b5f347722e31c52854dc32ae05fbbb81
BLAKE2b-256 540f81015596f20bb6097f418f7d97d703b970857fc4c3e1d61cf6242d3bcbcd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page