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

tiendq/aloxide-sdk-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 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

Configure Poetry to use a test repository named testpypi, do it once:

poetry config repositories.testpypi https://test.pypi.org/legacy/

And following are commands you will use during development:

# install dependencies
$ poetry install

# test
$ pytest

# build
$ rm -rf dist && poetry build

# 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.

You also need an API key so that Poetry can push your package to the testpypi repository. Configure Poetry to use it:

poetry config http-basic.testpypi __token__ your_api_token

poetry publish -r testpypi

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%