Skip to main content

ASIMOV module for data import from the NEAR Protocol blockchain network.

Project description

ASIMOV NEAR Module

License Package on Crates.io Package on PyPI Package on RubyGems Package on NPM

ASIMOV module for data import from the NEAR Protocol blockchain network.

✨ Features

  • Imports structured data from NEAR Protocol blocks and transactions.
  • Supports both the mainnet and testnet environments.
  • Collects the raw JSON data via the edge-cached neardata.xyz API.
  • Constructs a semantic knowledge graph based on the KNOW ontology.
  • Supports plain JSON output as well as RDF output in the form of JSON-LD.
  • Distributed as a standalone static binary with zero runtime dependencies.

🛠️ Prerequisites

  • Rust 1.85+ (2024 edition) if building from source code

⬇️ Installation

Installation from PyPI

pip install -U asimov-near-module

Installation from RubyGems

gem install asimov-near-module

Installation from NPM

npm install -g asimov-near-module

Installation from Source Code

cargo install asimov-near-module

👉 Examples

Fetching Testnet Blocks

asimov-near-fetcher near://testnet/100000000

Fetching Mainnet Blocks

asimov-near-fetcher near://mainnet/100000000

📚 Reference

Installed Binaries

  • asimov-near-fetcher: collects JSON data from the neardata.xyz API
  • asimov-near-importer: collects and transforms JSON into JSON-LD (TBD)

👨‍💻 Development

git clone https://github.com/asimov-modules/asimov-near-module.git

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

asimov_near_module-0.0.1-py3-none-win_amd64.whl (1.1 MB view details)

Uploaded Python 3Windows x86-64

asimov_near_module-0.0.1-py3-none-musllinux_1_1_x86_64.whl (1.3 MB view details)

Uploaded Python 3musllinux: musl 1.1+ x86-64

asimov_near_module-0.0.1-py3-none-musllinux_1_1_aarch64.whl (1.2 MB view details)

Uploaded Python 3musllinux: musl 1.1+ ARM64

asimov_near_module-0.0.1-py3-none-manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

asimov_near_module-0.0.1-py3-none-manylinux_2_28_aarch64.whl (1.2 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

asimov_near_module-0.0.1-py3-none-macosx_12_0_x86_64.whl (1.2 MB view details)

Uploaded Python 3macOS 12.0+ x86-64

asimov_near_module-0.0.1-py3-none-macosx_12_0_arm64.whl (1.2 MB view details)

Uploaded Python 3macOS 12.0+ ARM64

File details

Details for the file asimov_near_module-0.0.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for asimov_near_module-0.0.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3ff8b69f7010ae10cbf2d2bd5af8dd34167f61f1a72e8726c3628dd0dc21abe2
MD5 ce3446a918c814b808bac630a8126ebc
BLAKE2b-256 9c98fafae3f693895265ce222c663d93842c1ababf7ca82a85835cb6d22a4950

See more details on using hashes here.

File details

Details for the file asimov_near_module-0.0.1-py3-none-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for asimov_near_module-0.0.1-py3-none-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8b6f8105922d9ddad68c91ebb8291d812455889f0fe2b1a29e9e02f08704b8f3
MD5 97440bb763e97fef9154eb12ec83c52c
BLAKE2b-256 485b9774f4f27346a80f3702fbb757a12cfd767433ac2c73e482c48934ced73b

See more details on using hashes here.

File details

Details for the file asimov_near_module-0.0.1-py3-none-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for asimov_near_module-0.0.1-py3-none-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 704708d66669efc4796cf0bdbca15964acbc8a6a20b4803ba457ca132931cc6a
MD5 797e079a90f2f0ab621d2a10108be631
BLAKE2b-256 6102498d3bf494c28760b986c590e8d7f3f3178680a0137879a8a52d003b0e5e

See more details on using hashes here.

File details

Details for the file asimov_near_module-0.0.1-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for asimov_near_module-0.0.1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f36f6d1b6b037960491aca52cab11a914c90d60c1c7e4fc9d4bcc6f5025c9823
MD5 02a3b6c18fe863ed2a140258e36ec5f5
BLAKE2b-256 c552d78de4ffe62aa2a4bd02b09dbdbabcaa49d1b06677f28f76951e6665380f

See more details on using hashes here.

File details

Details for the file asimov_near_module-0.0.1-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for asimov_near_module-0.0.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f1471ff1ec23ad7a145b8400cd7544f09f8ce5167c984fba9a52c30ceb02d4dc
MD5 576e8b9aeb32ae748b2d7252701a6418
BLAKE2b-256 db20f6b60e63d0af7a76d8280e7faf189173dfb39eda515e1b664b164d7ff022

See more details on using hashes here.

File details

Details for the file asimov_near_module-0.0.1-py3-none-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for asimov_near_module-0.0.1-py3-none-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 d0b7dc46c0bc95e9993e9002efd31238b8c5aa15a824278796f8a7844b2d1c91
MD5 542adcb589c9357c318ddaa1717355cb
BLAKE2b-256 f7e45974a0725c9f871ac53ea7be7ad2e3348f7124d49e45185a432fab32e8d7

See more details on using hashes here.

File details

Details for the file asimov_near_module-0.0.1-py3-none-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for asimov_near_module-0.0.1-py3-none-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 ef99087286f0b8a5bc56140a676fdaafe5085f79aa0d50761776d622feb9dde1
MD5 496d61c4d707782ccedd39ebfb9383a2
BLAKE2b-256 ecfc19b0aaa68ef9fe03e0eb2119bb77bd031ff9091b0b0b436af5352816bf56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page