Python SDK for the DX Network, the world's first real-time marketplace for structured data
Project description
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
pip3
andpython3
withpip
andpython
in the following commands. Activate the virtual environment by replacingsource env/bin/activate
withenv\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
examples
folder (link). -
Replace the arguments of
DX.wallet.load
with 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.