1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Fix #1304: Data Science page doesn't make ocean.py prominent enough; ocean.py should be in Data Science section

This commit is contained in:
trentmc 2023-11-03 23:05:50 +01:00
parent 9b5066bb12
commit 7e0d656dbb
16 changed files with 17 additions and 17 deletions

View File

@ -63,17 +63,6 @@
- [Get datatoken buyers](developers/subgraph/get-datatoken-buyers.md) - [Get datatoken buyers](developers/subgraph/get-datatoken-buyers.md)
- [Get fixed-rate exchanges](developers/subgraph/list-fixed-rate-exchanges.md) - [Get fixed-rate exchanges](developers/subgraph/list-fixed-rate-exchanges.md)
- [Get veOCEAN stats](developers/subgraph/get-veocean-stats.md) - [Get veOCEAN stats](developers/subgraph/get-veocean-stats.md)
- [Ocean.py](developers/ocean.py/README.md)
- [Install](developers/ocean.py/install.md)
- [Local Setup](developers/ocean.py/local-setup.md)
- [Remote Setup](developers/ocean.py/remote-setup.md)
- [Publish Flow](developers/ocean.py/publish-flow.md)
- [Consume Flow](developers/ocean.py/consume-flow.md)
- [Compute Flow](developers/ocean.py/compute-flow.md)
- [Ocean Instance Tech Details](developers/ocean.py/technical-details.md)
- [Ocean Assets Tech Details](developers/ocean.py/ocean-assets-tech-details.md)
- [Ocean Compute Tech Details](developers/ocean.py/ocean-compute-tech-details.md)
- [Datatoken Interface Tech Details](developers/ocean.py/datatoken-interface-tech-details.md)
- [Ocean.js](developers/ocean.js/README.md) - [Ocean.js](developers/ocean.js/README.md)
- [Configuration](developers/ocean.js/configuration.md) - [Configuration](developers/ocean.js/configuration.md)
- [Creating a data NFT](developers/ocean.js/creating-datanft.md) - [Creating a data NFT](developers/ocean.js/creating-datanft.md)
@ -105,6 +94,17 @@
- [Authentication Endpoints](developers/provider/authentication-endpoints.md) - [Authentication Endpoints](developers/provider/authentication-endpoints.md)
- [Developer FAQ](developers/dev-faq.md) - [Developer FAQ](developers/dev-faq.md)
- [📊 Data Science](data-science/README.md) - [📊 Data Science](data-science/README.md)
- [Ocean.py](data-science/ocean.py/README.md)
- [Install](data-science/ocean.py/install.md)
- [Local Setup](data-science/ocean.py/local-setup.md)
- [Remote Setup](data-science/ocean.py/remote-setup.md)
- [Publish Flow](data-science/ocean.py/publish-flow.md)
- [Consume Flow](data-science/ocean.py/consume-flow.md)
- [Compute Flow](data-science/ocean.py/compute-flow.md)
- [Ocean Instance Tech Details](data-science/ocean.py/technical-details.md)
- [Ocean Assets Tech Details](data-science/ocean.py/ocean-assets-tech-details.md)
- [Ocean Compute Tech Details](data-science/ocean.py/ocean-compute-tech-details.md)
- [Datatoken Interface Tech Details](data-science/ocean.py/datatoken-interface-tech-details.md)
- [Data Value-Creation Loop](data-science/the-data-value-creation-loop.md) - [Data Value-Creation Loop](data-science/the-data-value-creation-loop.md)
- [What data is valuable?](data-science/data-engineers.md) - [What data is valuable?](data-science/data-engineers.md)
- [🔨 Infrastructure](infrastructure/README.md) - [🔨 Infrastructure](infrastructure/README.md)

View File

@ -17,8 +17,8 @@ It offers three main benefits:
Here are the most relevant Ocean tools to work with: Here are the most relevant Ocean tools to work with:
- The [ocean.py](../developers/ocean.py/README.md) library is built for the key environment of data scientists: Python. It can simply be imported alongside other Python data science tools like numpy, matplotlib, scikit-learn and tensorflow. You can use it to publish & sell data assets, buy assets, transfer ownership, and more. - The **[ocean.py](ocean.py/README.md)** library is built for the key environment of data scientists: Python. It can simply be imported alongside other Python data science tools like numpy, matplotlib, scikit-learn and tensorflow. You can use it to publish & sell data assets, buy assets, transfer ownership, and more.
- Predictoor's [pdr-backend repo](https://github.com/oceanprotocol/pdr-backend) offers Python-based tools to run bots for crypto prediction or trading. - Predictoor's **[pdr-backend repo](https://github.com/oceanprotocol/pdr-backend)** has Python-based tools to run bots for crypto prediction or trading.
- And any of the other Ocean tools documented here as well:) - And any of the other Ocean tools documented here as well:)

View File

@ -53,7 +53,7 @@ ocean.OCEAN_token.approve(exchange.address, OCEAN_needed, {"from":bob})
exchange.buy_DT(to_wei(1), consume_market_fee=0, tx_dict={"from": bob}) exchange.buy_DT(to_wei(1), consume_market_fee=0, tx_dict={"from": bob})
``` ```
For more info, check [Technical Details](https://app.gitbook.com/o/mTcjMqA4ylf55anucjH8/s/BTXXhmDGzR0Xgj13fyfM/\~/changes/336/developers/ocean.py/technical-details) about ocean.py most used functions and also the smart contracts for [Dispenser](https://github.com/oceanprotocol/contracts/blob/main/contracts/pools/dispenser/Dispenser.sol) & [Fixed Rate Exchange](https://github.com/oceanprotocol/contracts/blob/main/contracts/pools/fixedRate/FixedRateExchange.sol). For more info, check [Technical Details](technical-details.md) about ocean.py most used functions and also the smart contracts for [Dispenser](https://github.com/oceanprotocol/contracts/blob/main/contracts/pools/dispenser/Dispenser.sol) & [Fixed Rate Exchange](https://github.com/oceanprotocol/contracts/blob/main/contracts/pools/fixedRate/FixedRateExchange.sol).
### Consume the asset ⬇️ ### Consume the asset ⬇️

View File

@ -81,7 +81,7 @@ The following guides will help you get started with buying and selling data:
<summary><mark style="color:blue;">Manage datatokens and data NFTs for use in DeFi</mark><br><br>Ocean makes it easy to publish data services (deploy ERC721 data NFTs and ERC20 datatokens), and to consume data services (spend datatokens). Crypto wallets, exchanges, and DAOs become data wallets, exchanges, and DAOs.</summary> <summary><mark style="color:blue;">Manage datatokens and data NFTs for use in DeFi</mark><br><br>Ocean makes it easy to publish data services (deploy ERC721 data NFTs and ERC20 datatokens), and to consume data services (spend datatokens). Crypto wallets, exchanges, and DAOs become data wallets, exchanges, and DAOs.</summary>
Use Ocean [JavaScript](../developers/ocean.js/README.md) or [Python](../developers/ocean.py/README.md) drivers to manage data NFTs and datatokens: Use Ocean [JavaScript](../developers/ocean.js/README.md) or [Python](../data-science/ocean.py/README.md) drivers to manage data NFTs and datatokens:
Ocean-based apps make data assets on-ramps and off-ramps easy for end users. Ocean smart contracts and libraries make this easy for developers. The data itself does not need to be on-chain, just the access control. Ocean-based apps make data assets on-ramps and off-ramps easy for end users. Ocean smart contracts and libraries make this easy for developers. The data itself does not need to be on-chain, just the access control.

View File

@ -16,7 +16,7 @@ Ocean Protocol also combines advanced technologies and web components to create
<figure><img src="../.gitbook/assets/architecture/Ocean101.png" alt=""><figcaption><p>Ocean architectural overview </p></figcaption></figure> <figure><img src="../.gitbook/assets/architecture/Ocean101.png" alt=""><figcaption><p>Ocean architectural overview </p></figcaption></figure>
Powerful libraries such as [Ocean.js](../developers/ocean.js/README.md) (JavaScript) and [Ocean.py](../developers/ocean.py/README.md) (Python) facilitate seamless integration and interaction with the protocol, offering a wide range of functionalities. Powerful libraries such as [Ocean.js](../developers/ocean.js/README.md) (JavaScript) and [Ocean.py](../data-science/ocean.py/README.md) (Python) facilitate seamless integration and interaction with the protocol, offering a wide range of functionalities.
Ocean Protocol incorporates middleware components that enhance efficiency and streamline interactions. Components such as [Aquarius](../developers/aquarius/README.md) act as a metadata cache, improving search efficiency by caching on-chain data into Elasticsearch while [Provider](../developers/provider/README.md) plays a crucial role in various ecosystem operations, assisting in asset downloading, handling encryption of [Decentralized Data Objects](../developers/ddo-specification.md) (DDOs), and facilitating communication with the operator-service for Compute-to-Data jobs. And finally, the [Subgraph](../developers/subgraph/README.md), an off-chain service leveraging GraphQL, offers efficient access to information related to datatokens, users, and balances. Ocean Protocol incorporates middleware components that enhance efficiency and streamline interactions. Components such as [Aquarius](../developers/aquarius/README.md) act as a metadata cache, improving search efficiency by caching on-chain data into Elasticsearch while [Provider](../developers/provider/README.md) plays a crucial role in various ecosystem operations, assisting in asset downloading, handling encryption of [Decentralized Data Objects](../developers/ddo-specification.md) (DDOs), and facilitating communication with the operator-service for Compute-to-Data jobs. And finally, the [Subgraph](../developers/subgraph/README.md), an off-chain service leveraging GraphQL, offers efficient access to information related to datatokens, users, and balances.

View File

@ -127,7 +127,7 @@ On the [profile page](https://market.oceanprotocol.com/profile), a publisher has
### Code flow ### Code flow
* **Python:** Are you looking at how to publish a data NFT using Python? Follow the ocean.py [Publish Flow](../developers/ocean.py/publish-flow.md) to mint a data NFT and datatoken using Python. * **Python:** Are you looking at how to publish a data NFT using Python? Follow the ocean.py [Publish Flow](../data-science/ocean.py/publish-flow.md) to mint a data NFT and datatoken using Python.
* **Javascript**: Are you looking at how to publish a data NFT using Javascript? Follow the ocean.js [Publish Flow](../developers/ocean.js/publish.md) to mint a data NFT and datatoken using Javascript. * **Javascript**: Are you looking at how to publish a data NFT using Javascript? Follow the ocean.js [Publish Flow](../developers/ocean.js/publish.md) to mint a data NFT and datatoken using Javascript.
#### More Info 🧐 #### More Info 🧐