141 lines
6.2 KiB
Plaintext
141 lines
6.2 KiB
Plaintext
Metadata-Version: 2.1
|
|
Name: ocean-lib
|
|
Version: 3.1.2
|
|
Summary: ๐ณ Ocean protocol library.
|
|
Home-page: https://github.com/oceanprotocol/ocean.py
|
|
Author: ocean-core-team
|
|
Author-email: devops@oceanprotocol.com
|
|
License: Apache Software License 2.0
|
|
Keywords: ocean-lib
|
|
Classifier: Development Status :: 4 - Beta
|
|
Classifier: Intended Audience :: Developers
|
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
Classifier: Natural Language :: English
|
|
Classifier: Programming Language :: Python :: 3.8
|
|
Description-Content-Type: text/markdown
|
|
License-File: LICENSE
|
|
Requires-Dist: ocean-contracts ==2.0.3
|
|
Requires-Dist: coloredlogs ==15.0.1
|
|
Requires-Dist: requests >=2.21.0
|
|
Requires-Dist: pytz
|
|
Requires-Dist: enforce-typing ==1.0.0.post1
|
|
Requires-Dist: eciespy ==0.4.1
|
|
Requires-Dist: cryptography ==41.0.7
|
|
Requires-Dist: web3 ==6.11.4
|
|
Provides-Extra: dev
|
|
Requires-Dist: bumpversion ==0.6.0 ; extra == 'dev'
|
|
Requires-Dist: pkginfo ==1.9.6 ; extra == 'dev'
|
|
Requires-Dist: twine ==4.0.2 ; extra == 'dev'
|
|
Requires-Dist: watchdog ==3.0.0 ; extra == 'dev'
|
|
Requires-Dist: isort ==5.12.0 ; extra == 'dev'
|
|
Requires-Dist: flake8 ==6.1.0 ; extra == 'dev'
|
|
Requires-Dist: black ; extra == 'dev'
|
|
Requires-Dist: pre-commit ==3.5.0 ; extra == 'dev'
|
|
Requires-Dist: licenseheaders ==0.8.8 ; extra == 'dev'
|
|
Requires-Dist: codacy-coverage ==1.3.11 ; extra == 'dev'
|
|
Requires-Dist: coverage ==7.3.2 ; extra == 'dev'
|
|
Requires-Dist: mccabe ==0.7.0 ; extra == 'dev'
|
|
Requires-Dist: pytest ==7.4.3 ; extra == 'dev'
|
|
Requires-Dist: pytest-watch ==4.2.0 ; extra == 'dev'
|
|
Requires-Dist: pytest-env ; extra == 'dev'
|
|
Requires-Dist: matplotlib ; extra == 'dev'
|
|
Requires-Dist: mkcodes ==0.1.1 ; extra == 'dev'
|
|
Requires-Dist: pytest-sugar ==0.9.7 ; extra == 'dev'
|
|
Provides-Extra: test
|
|
Requires-Dist: codacy-coverage ==1.3.11 ; extra == 'test'
|
|
Requires-Dist: coverage ==7.3.2 ; extra == 'test'
|
|
Requires-Dist: mccabe ==0.7.0 ; extra == 'test'
|
|
Requires-Dist: pytest ==7.4.3 ; extra == 'test'
|
|
Requires-Dist: pytest-watch ==4.2.0 ; extra == 'test'
|
|
Requires-Dist: pytest-env ; extra == 'test'
|
|
Requires-Dist: matplotlib ; extra == 'test'
|
|
Requires-Dist: mkcodes ==0.1.1 ; extra == 'test'
|
|
Requires-Dist: pytest-sugar ==0.9.7 ; extra == 'test'
|
|
|
|
<!--
|
|
Copyright 2023 Ocean Protocol Foundation
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
|
|
<h1 align="center">
|
|
<img src="https://github.com/oceanprotocol/art/blob/main/splashes/ocean_py.png?raw=true" width="300"/>
|
|
</h1>
|
|
|
|
> ocean.py: a Python library to privately & securely publish, exchange, and consume data.
|
|
|
|
[](https://codeclimate.com/github/oceanprotocol/ocean.py/maintainability)
|
|
[](https://codeclimate.com/github/oceanprotocol/ocean.py/test_coverage)
|
|
|
|
Ocean.py helps data scientists earn $ from their AI models, track provenance of data & compute, and get more data. (More details [here](https://docs.oceanprotocol.com/data-science).)
|
|
|
|
Ocean.py makes these tasks easy:
|
|
|
|
- **Publish** data services: data feeds, REST APIs, 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](https://web3py.readthedocs.io).
|
|
|
|
ocean.py is part of the [Ocean Protocol](https://www.oceanprotocol.com) toolset.
|
|
|
|
This is in beta state. If you run into problems, please open up a [new issue](/issues).
|
|
|
|
## ๐ Quickstart
|
|
|
|
Follow these steps in sequence to ramp into Ocean.
|
|
|
|
1. **[Install Ocean](READMEs/install.md)**
|
|
2. **Setup:**
|
|
- **[Remote](READMEs/setup-remote.md)** (Win, MacOS, Linux)
|
|
- *or* **[Local](READMEs/setup-local.md)** (Linux only)
|
|
3. **[Walk through main flow](READMEs/main-flow.md)**: publish asset, post for free / for sale, dispense it / buy it, and consume it
|
|
|
|
### Tools
|
|
|
|
- [Define gas strategy](READMEs/gas-strategy-remote.md) - auto-determine gas fee for remote networks
|
|
- [Search & filter data](READMEs/search-and-filter-assets.md) - find assets by tag
|
|
- [Custody-light flow](READMEs/custody-light-flow.md) - consume a free & a priced asset without custody
|
|
|
|
### Use-case flows
|
|
|
|
- [Challenge DF](https://github.com/oceanprotocol/predict-eth) - prize $$ to predict future ETH price
|
|
- [Data Farming](READMEs/df.md) - curate data assets, earn rewards
|
|
|
|
### On-chain key-value store via data NFTs
|
|
|
|
- [Sharing public data on-chain](READMEs/key-value-public.md) - e.g. public AI models
|
|
- [Sharing private data on-chain](READMEs/key-value-private.md) - e.g. private AI models
|
|
|
|
### More types of data assets
|
|
|
|
Each of the following shows how to publish & consume a particular type of data.
|
|
- [C2D](READMEs/c2d-flow.md) - tokenize & monetize AI algorithms via Compute-to-Data
|
|
- [REST API](READMEs/publish-flow-restapi.md) - Example on Binance ETH price feed
|
|
- [GraphQL](READMEs/publish-flow-graphql.md) - Example on Ocean Data NFTs
|
|
- [On-chain data](READMEs/publish-flow-onchain.md) - Example on Ocean swap fees
|
|
- [Adding credentials](READMEs/publish-flow-credentials.md) - Example on publishing an asset with custom credentials
|
|
|
|
### Learn more
|
|
- [Understand config parameters](READMEs/parameters.md) - envvars vs files
|
|
- [Learn about off-chain services](READMEs/services.md) - Ocean Provider for data services, Aquarius metadata store
|
|
|
|
## ๐ฆ Development
|
|
|
|
- **[Developers flow](READMEs/developers.md)** - to further develop ocean.py
|
|
- [Release process](READMEs/release-process.md) - to do a new release of ocean.py
|
|
|
|
## ๐ License
|
|
|
|
Copyright ((C)) 2023 Ocean Protocol Foundation
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|