mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-01 15:55:34 +01:00
38 lines
2.7 KiB
Markdown
38 lines
2.7 KiB
Markdown
# Ocean.py
|
|
|
|
|
|
|
|
Attention all data enthusiasts! Are you an inquisitive data scientist intrigued by the world of Web3 and blockchain, but unsure of where to begin? Have you developed a groundbreaking AI algorithm and desire to transform it into profitable success? Perhaps you're engaged in training a highly lucrative model (LLM) and seek to define precise licensing terms for your valuable data. Or maybe you simply wish to sell your data while maintaining utmost privacy and control.
|
|
|
|
Well, brace yourselves for some exhilarating news! Introducing ocean.py, a Python library that possesses a touch of magic. 🎩🐍 It empowers you to discreetly and securely publish, exchange, and effortlessly consume data. 🐙💦 Collaborating with the Ocean Protocol 🌊, it unlocks a plethora of advantages mentioned earlier. So get ready to take the plunge into the vast ocean of data with a resounding splash of excitement! 💦🌊
|
|
|
|
|
|
|
|
<figure><img src="../../.gitbook/assets/ocean_py.png" alt="" width="375"><figcaption><p>ocean.py library</p></figcaption></figure>
|
|
|
|
|
|
|
|
### ocean.py Strengths 💪
|
|
|
|
ocean.py lets you do the following things:
|
|
|
|
* Publish data services: downloadable files or compute-to-data. Create an ERC721 data NFT for each service, and ERC20 datatoken for access (1.0 datatokens to access).
|
|
* Sell datatokens via for a fixed price. Sell data NFTs.
|
|
* Transfer data NFTs & datatokens to another owner, and all other ERC721 & ERC20 actions using web3.py or Brownie.
|
|
|
|
If you prefer video format, please check this video below, otherwise let's move forward.
|
|
|
|
{% embed url="https://youtu.be/8uZC6PC9PBM" %}
|
|
|
|
|
|
|
|
### ocean.py Quickstart 🚀
|
|
|
|
To kickstart your adventure with ocean.py, we set out the following steps to get you zooming ahead in no time!
|
|
|
|
1. Install Ocean 📥
|
|
2. Setup 🛠️ — Remote (Win, MacOS, Linux) — or Local (Linux only)
|
|
3. Walk through main flow 🚶♂️: publish asset, post for free / for sale, dispense it / buy it, and consume it
|
|
|
|
After these quickstart steps, the main [README](https://github.com/oceanprotocol/ocean.py/blob/main/README.md) points to several other use cases, such as [Predict-ETH](https://github.com/oceanprotocol/predict-eth), [Data Farming](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/df.md), on-chain key-value stores ([public](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/key-value-public.md) or [private](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/key-value-private.md)), and other types of data assets ([REST API](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/publish-flow-restapi.md), [GraphQL](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/publish-flow-graphql.md), [on-chain](https://github.com/oceanprotocol/ocean.py/blob/main/READMEs/publish-flow-onchain.md)).
|