1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-01 15:55:34 +01:00
docs/developers/ocean.py/README.md
2023-05-24 13:01:18 +00:00

2.6 KiB

Ocean.py

🔍🤔 Calling all data wizards! Are you a curious data scientist 🧙‍♀️ who's heard whispers about Web3 and blockchain, but don't know where to dive in? Have you invented a mind-blowing AI algorithm and want to turn it into 💰 gold? Maybe you're training an LLM (Lusciously Lucrative Model) and want to specify the terms for your data's licensing 📜. Or hey, you just want to sell your data without giving up your privacy 🕵️‍♂️ or control 🚫🙅‍♂️.

Guess what? 🎉 Say hello to ocean.py! It's like a magical Python library 🐍 that lets you secretly 🤫 and securely 🔒 publish, swap, and gobble up data. 🐙💦 It works wonders by teaming up with Ocean Protocol 🌊 to give you all those incredible benefits mentioned above. So get ready to dive into the data ocean with a splash! 💦🌊

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.

And here is an outline video that describes the concepts better.

{% 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 points to several other use cases, such as Predict-ETH, Data Farming, on-chain key-value stores (public or private), and other types of data assets (REST API, GraphQL, on-chain).