Skip to main content

banner

metadata-driver-arweave

🐳 Arweave) driver for MetadataDB (Python). nevermined.io

PyPI Python package


Table of Contents


Features

Arweave driver for MetadataDB.

Quickstart

In the configuration we are going to specify the following parameters to

    [metadatadb]

    enabled=true                            # In order to enable or not the    plugin
    module=arweave                          # You can use one the plugins       already created. Currently we have elasticsearch, mongodb and bigchaindb, arweave.
    module.path=                            # You can specify the location of your custom plugin.
    db.hostname=https://arweave.net         # Address of your arweave instance.
    db.port=443                             # Port of your Elasticsearch rest API.
    db.wallet_file_path=./arweave-key.json # Path to the arweave wallet key

Once you have defined this the only thing that you have to do it is use it:

    metadatadb = MetadataDB(conf)
    metadatadb.write({"value": "test"}, id)

Environment variables

When you want to instantiate an Metadatadb plugin you can provide the next environment variables:

  • $CONFIG_PATH
  • $MODULE
  • $DB_HOSTNAME
  • $DB_PORT
  • $DB_INDEX
  • $DB_WALLET_FILE_PATH

Testing

Automatic tests are setup via Github actions. Our test use pytest framework.

License

Copyright 2020 Keyko GmbH
This product includes software developed at
BigchainDB GmbH and Ocean Protocol (https://www.oceanprotocol.com/)

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.

Metadata

Release files for nevermined-metadata-driver-arweave 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nevermined-metadata-driver-arweave 0.1.4
File Size Uploaded Provenance
nevermined-metadata-driver-arweave-0.1.4.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nevermined-metadata-driver-arweave 0.1.4
File Interpreter ABI Platform
nevermined_metadata_driver_arweave-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / nevermined-metadata-driver-arweave-0.1.4.tar.gz

Download URL nevermined-metadata-driver-arweave-0.1.4.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
189da0ad60c0dd3aa36b00890b2171623c4c2851383d6dbabc5d2403037d31bd
BLAKE2b-256 checksum
How to use checksums
c9cd7651b405e65eefcf05ba7219d2fcc96bfef6c30fbcee3d2066ef3fad16c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / nevermined_metadata_driver_arweave-0.1.4-py3-none-any.whl

Download URL nevermined_metadata_driver_arweave-0.1.4-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49984ec0062dccca084b9a251be22da71180fd5c3dce537eb06473a73ab2b088
BLAKE2b-256 checksum
How to use checksums
19a1673b670a2add81900f3f646df75c1fd72bc1c78d6daad766450639262ee2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for nevermined-metadata-driver-arweave 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page