No project description provided
Project description
alchemy_sdk_py (Pre-Alpha)
An SDK to use the Alchemy API
Getting Started
Requirements
- Python 3.7 or higher
- You'll know you've done it right if you can run
python3 --version
in your terminal and see something likePython 3.10.6
- You'll know you've done it right if you can run
Installation
pip3 install alchemy_sdk_py
Quickstart
Get an API Key
After installing, you'll need to sign up for an API key and set it as an ALCHEMY_API_KEY
environment variable.
If you're unfamiliar with environment variables, you can use the API to set the key directly using the SDK - please don't do this in production code.
import alchemy_sdk_py
alchemy_sdk_py.set_api_key("YOUR_API_KEY")
This will make the key availible for the duration of your script.
Useage
import alchemy_sdk_py as alchemy
current_block = alchemy.get_current_block()
print(current_block)
Uploading to PyPI
For maintainers only. You can view the docs to learn more.
Note: setup.py sdist
is deprecated. Use python3 -m build
instead.
python3 -m build
python3 -m twine upload dist/*
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
alchemy_sdk_py-0.0.2.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file alchemy_sdk_py-0.0.2.tar.gz
.
File metadata
- Download URL: alchemy_sdk_py-0.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1853592014263fec1da05c43bb95309dc107a0e676a70eb4c646217aec1ecd27 |
|
MD5 | 7a4fd984b687593c5b8035e8ddfd7dd1 |
|
BLAKE2b-256 | bf0bfa35fb26b80f1eb2a22edb6e5f37790fc18932ef14cbcafbeccd4bc8cf97 |
File details
Details for the file alchemy_sdk_py-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: alchemy_sdk_py-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 173215a496686311896f92e33dca0aee15e40b1884990b8b5f0124c70e141f87 |
|
MD5 | acfb87cae15f1f34776ab720c3b66430 |
|
BLAKE2b-256 | 61b02659af5c965c4602b063114acf4e7dc9c7a08c393a52e91a29ef9b8386b6 |