Disecon


NameDisecon JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/Mason-Dino/Disecon
SummaryDisecon
upload_time2024-08-09 00:46:02
maintainerNone
docs_urlNone
authorLegosAndStuff
requires_pythonNone
licenseMIT
keywords economy
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Disecon

![PyPI](https://img.shields.io/pypi/v/Disecon?color=gree) ![PyPI - License](https://img.shields.io/pypi/l/Disecon?color=gree)

#

Disecon is a python economy library where you could make a full economy system really easy.

## Installing

```
# Windows

pip install Disecon

# Lunix / Mac

python3 -m pip install Disecon
```
## Usage

### Starting Disecon

To start Disecon you need to do the following command bellow so that the database gets made. After you do the command you can delete the line that the command is on.

```python
from Disecon import *

start()
```

### Adding money

If you want to add some money into someones wallet you can follow the example bellow to add some money.

```python
from Disecon import *

wallet = money.wallet(amount=100, user_ID=Discord User ID)

wallet.add()
```

If you want to add some money into someones bank you can follow the example bellow to add some money. 

```python
from Disecon import *

bank = money.bank(amount=100, user_ID=Discord User ID)

bank.add()
```

### Subtracting money

If you want to subtract money from someones wallet do the following example below.

```python
from Disecon import *

wallet = money.wallet(amount=100, user_ID=Disecon User ID)

wallet.sub()
```

If you want to subtract money from someones bank you could follow the example below.

```python
from Disecon import *

bank = money.bank(amount=100, user_ID=Discord User ID)

bank.sub()
```

### Viewing User Info

If you want to view someones wallet, bank or net follow the example below.

```python
from Disecon import *

view = results.view(user_ID=Discord User ID)

print(view.wallet())
print(view.bank())
print(view.net())
```

### Leaderboard Info

If you want to see who's in a certain place and git user id, net, wallet and bank you can follow the example below.

```python
from Disecon import *

top = results.top(place=1)

print(top.user_ID())
print(top.net())
print(top.wallet())
print(top.bank())
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Mason-Dino/Disecon",
    "name": "Disecon",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "economy",
    "author": "LegosAndStuff",
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "\r\n# Disecon\r\n\r\n![PyPI](https://img.shields.io/pypi/v/Disecon?color=gree) ![PyPI - License](https://img.shields.io/pypi/l/Disecon?color=gree)\r\n\r\n#\r\n\r\nDisecon is a python economy library where you could make a full economy system really easy.\r\n\r\n## Installing\r\n\r\n```\r\n# Windows\r\n\r\npip install Disecon\r\n\r\n# Lunix / Mac\r\n\r\npython3 -m pip install Disecon\r\n```\r\n## Usage\r\n\r\n### Starting Disecon\r\n\r\nTo start Disecon you need to do the following command bellow so that the database gets made. After you do the command you can delete the line that the command is on.\r\n\r\n```python\r\nfrom Disecon import *\r\n\r\nstart()\r\n```\r\n\r\n### Adding money\r\n\r\nIf you want to add some money into someones wallet you can follow the example bellow to add some money.\r\n\r\n```python\r\nfrom Disecon import *\r\n\r\nwallet = money.wallet(amount=100, user_ID=Discord User ID)\r\n\r\nwallet.add()\r\n```\r\n\r\nIf you want to add some money into someones bank you can follow the example bellow to add some money. \r\n\r\n```python\r\nfrom Disecon import *\r\n\r\nbank = money.bank(amount=100, user_ID=Discord User ID)\r\n\r\nbank.add()\r\n```\r\n\r\n### Subtracting money\r\n\r\nIf you want to subtract money from someones wallet do the following example below.\r\n\r\n```python\r\nfrom Disecon import *\r\n\r\nwallet = money.wallet(amount=100, user_ID=Disecon User ID)\r\n\r\nwallet.sub()\r\n```\r\n\r\nIf you want to subtract money from someones bank you could follow the example below.\r\n\r\n```python\r\nfrom Disecon import *\r\n\r\nbank = money.bank(amount=100, user_ID=Discord User ID)\r\n\r\nbank.sub()\r\n```\r\n\r\n### Viewing User Info\r\n\r\nIf you want to view someones wallet, bank or net follow the example below.\r\n\r\n```python\r\nfrom Disecon import *\r\n\r\nview = results.view(user_ID=Discord User ID)\r\n\r\nprint(view.wallet())\r\nprint(view.bank())\r\nprint(view.net())\r\n```\r\n\r\n### Leaderboard Info\r\n\r\nIf you want to see who's in a certain place and git user id, net, wallet and bank you can follow the example below.\r\n\r\n```python\r\nfrom Disecon import *\r\n\r\ntop = results.top(place=1)\r\n\r\nprint(top.user_ID())\r\nprint(top.net())\r\nprint(top.wallet())\r\nprint(top.bank())\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Disecon",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/Mason-Dino/Disecon"
    },
    "split_keywords": [
        "economy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "33b47a97406004331b5940c2fb0e14bf67ee2fdc6d80e3b3e660f1f6f069d055",
                "md5": "c4a0631ff074fdc843078d1daaba9117",
                "sha256": "0e306fbb954eca55df0733f19e355b88d35404baef8102d6bc8d813024c146ab"
            },
            "downloads": -1,
            "filename": "Disecon-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c4a0631ff074fdc843078d1daaba9117",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7020,
            "upload_time": "2024-08-09T00:46:02",
            "upload_time_iso_8601": "2024-08-09T00:46:02.436227Z",
            "url": "https://files.pythonhosted.org/packages/33/b4/7a97406004331b5940c2fb0e14bf67ee2fdc6d80e3b3e660f1f6f069d055/Disecon-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-09 00:46:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Mason-Dino",
    "github_project": "Disecon",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "disecon"
}
        
Elapsed time: 8.68875s