Skip to content

Aloxide SDK for Python is a collection of libraries which allow you to access various blockchains.

License

Notifications You must be signed in to change notification settings

lecle/aloxide-sdk-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aloxide SDK for Python

Aloxide SDK for Python is a collection of libraries which allow you to access various blockchains.

Requirements

Aloxide SDK for Python development and execution requires Python 3.7 or later.

Dependencies

ICON SDK for Python

EosPy

Development

Gitpod is an online open source VS Code-like IDE (and is free for open source projects) for working on issues and making PRs to this project. With a single click it will start a workspace automatically.

Open in Gitpod

Setup a virtual environment, do it once:

$ cd aloxide-sdk-python
$ python -m venv .venv
$ source .venv/bin/activate
$ pip install wheel
$ pip install setuptools
$ pip install twine

And following are commands you will use during development:

# test
$ python setup.py pytest

# build
$ rm -rf dist && python setup.py sdist bdist_wheel

# install from source for testing in other projects
$ pip install -e /path/to/aloxide-sdk-python

Publish to PyPI

It’s time to upload your package to the PyPI so others can use it. The first thing you’ll need to do is register an account on TestPyPI.

$ twine upload --repository testpypi dist/*

Once uploaded the package should be viewable on TestPyPI at https://test.pypi.org/project/aloxidesdk.

Usage

First, you need to get Aloxide SDK for Python into your project. It can be installed using pip as follows:

$ pip install aloxidesdk

Once you have installed aloxidesdk library, you can import it using:

import aloxidesdk
from aloxidesdk.aloxide_service import AloxideService

# more code go here

More examples are found on GitHub at examples.

About

Aloxide SDK for Python is a collection of libraries which allow you to access various blockchains.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages