Skip to main content

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 like Python 3.10.6

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.4.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

alchemy_sdk_py-0.0.4-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file alchemy_sdk_py-0.0.4.tar.gz.

File metadata

  • Download URL: alchemy_sdk_py-0.0.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for alchemy_sdk_py-0.0.4.tar.gz
Algorithm Hash digest
SHA256 fb24692714eedbe4b5c938f5c66baf2cc0377af9f56f7b78449b449d56accecc
MD5 7a57e3f6faab0c960edfdf79ed2f89a3
BLAKE2b-256 071384588861f9034440eb29d165dbe87984b135c44152a8054fe8e98445e671

See more details on using hashes here.

File details

Details for the file alchemy_sdk_py-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for alchemy_sdk_py-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9d38c80ab8c82e6b81acba5ac5c8a69e77c765f17eddae51c90f2fad8ed199f4
MD5 fc2d19319fc36a11b751b2ec2df8065d
BLAKE2b-256 3276d8d7049fc8bd64a4113ebd6416a9df82e423ca771dfc7d0a4d22a5cf7709

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