The DX Network is a protocol to standardise the exchange of structured data by creating domain-specific data marketplaces. Each marketplace is defined by a data model specified in OWL and enables data owners and consumers to sell/buy data from each other programmatically. The first marketplace on the DX Network allows for the exchange of structured data about technology companies, products, news, investors and investments.
Python SDK
Getting Started
- (Optional) Install Python 3 by following the guide for your choice of OS here.
On Windows, replace
pip3andpython3withpipandpythonin the following commands. Activate the virtual environment by replacingsource env/bin/activatewithenv\Scripts\activate.bat.
- (Optional) Setup a virtual environment by running:
python3 -m venv env && source env/bin/activate
- Install the DX package by running:
pip3 install DX.py
-
Download the example script from the
examplesfolder (link). -
Replace the arguments of
DX.wallet.loadwith a wallet filename and password that has Testnet (Ropsten) DX Tokens and Ethers. Get in touch if you need Testnet DX Tokens or Ethers. -
Run the modified script:
python3 DX-examples.py
For more details on how to interact with the DX Network using the Python SDK, please check out our API docs.
License
This project is licensed under the MIT License — see the LICENSE file for details.
Join the conversation
A great place to talk to the developers and members of the community is our Telegram channel. If you have a question, need a hand, or want to bounce an idea off of other people come on over and join the conversation.
Learn more about the DX Network at — https://dx.network
Check out our project updates at — https://medium.com/TheDXNetwork
Follow the DX Network on Twitter at — https://twitter.com/TheDXNetwork
Find the DX Network on Facebook at — https://www.facebook.com/TheDXNetwork
Metadata
Release files for DX.py 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| DX.py-0.3.1.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DX.py-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.3 kB
Release files / DX.py-0.3.1.tar.gz
| Download URL | DX.py-0.3.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b97c69be2528a6f108d6a8f8d913c8df6a7097260df6f879ef4d37c3d2299bd0
|
|
BLAKE2b-256 checksum How to use checksums |
4853b5a49b44e8e313ea9fea6c8dfb66c1215d7b2ea3f41f5c146864adbccc71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / DX.py-0.3.1-py3-none-any.whl
| Download URL | DX.py-0.3.1-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7614d3d5da9087ab7edbaeb677f10a51487a27d94b760c59f31f1a636c8e757
|
|
BLAKE2b-256 checksum How to use checksums |
8f6c94ca187fce4815ac812c5cfd638b872d59d4f023e6ccec2fce17264fe813
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|