Skip to main content

VirtualCrypto.py

https://img.shields.io/pypi/v/virtualcrypto.svg https://img.shields.io/travis/virtualCrypto-discord/virtualcrypto.svg Documentation Status

VirtualCrypto Python SDK

Usage

Normal Usage:

from virtualcrypto import VirtualCryptoClient, Scope
client = VirtualCryptoClient(
    client_id="956fcdd2-84ee-4b02-8766-8aec7dd12b05",
    client_secret="akOu2Wna3SYkVksVgaQWAEDwLmfHW1-ThIS5WQwDCfU",
    scopes=[Scope.Pay, Scope.Claim]
)
print(client.get_currency_by_unit("v"))
# Currency(unit='v', guild=754191887203696731, name='vcoin', pool_amount=5000, total_amount=1000000)

For asyncio:

from virtualcrypto import Scope, AsyncVirtualCryptoClient
import asyncio
client = AsyncVirtualCryptoClient(
    client_id="956fcdd2-84ee-4b02-8766-8aec7dd12b05",
    client_secret="akOu2Wna3SYkVksVgaQWAEDwLmfHW1-ThIS5WQwDCfU",
    scopes=[Scope.Pay, Scope.Claim]
)

async def main():
    await client.start()
    print(await client.get_currency_by_unit("v"))
    await client.close()

asyncio.get_event_loop().run_until_complete(main())

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.1 (2021-02-03)

  • First release on PyPI.

0.1.0 (2021-03-3)

  • Create VirtualCrypto Client

Metadata

Release files for virtualcrypto 0.1.3

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

Source distribution (sdist)

Source distribution for virtualcrypto 0.1.3
File Size Uploaded Provenance Actions
virtualcrypto-0.1.3.tar.gz 13.1 kB Without provenance Details for virtualcrypto-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for virtualcrypto 0.1.3
File Interpreter ABI Platform Actions
virtualcrypto-0.1.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for virtualcrypto-0.1.3-py2.py3-none-any.whl

Total release size: 21.2 kB

Release files / virtualcrypto-0.1.3.tar.gz

Download URL virtualcrypto-0.1.3.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c7124c996f294fa6937a5c54030a7642e32bf440e1b10c0351449ad83a0b0d50
BLAKE2b-256 checksum
How to use checksums
fd75567279728617c362afc268de1806f9c19df62314fc2ce97af707c8e2253c
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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

Release files / virtualcrypto-0.1.3-py2.py3-none-any.whl

Download URL virtualcrypto-0.1.3-py2.py3-none-any.whl
Size 8.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
13dc854346319c91c72865933f0a24e2957957b2e5f7950c0679270301501d8d
BLAKE2b-256 checksum
How to use checksums
74ee42b18394aa75516a911fca67d866ac17508e2cc413f1a54fdbf560560c4d
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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

Security for virtualcrypto 0.1.3

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