Skip to main content

npm - Maven v4

Project description

npm-maven-v4

Maven v4 integration for the NEAR Protocol Java ecosystem.

Python 3.9+ required.

Installation

pip install npm-maven-v4

Quick Start

from npm_maven_v4 import NpmMavenV4Client

client = NpmMavenV4Client()

Methods

Method Description
get_near_status() Get current NEAR Protocol network status
get_account(account_id) Fetch details for a NEAR account
get_block(block_id) Retrieve a block by ID or height
search_maven_packages(query, rows) Search Maven Central for packages
list_near_java_packages() List available NEAR Java SDK packages
generate_near_sdk_pom(artifact_id, version) Generate a Maven POM snippet for a NEAR SDK package
broadcast_transaction(signed_tx) Broadcast a signed transaction to NEAR
get_transaction_status(tx_hash, sender_id) Check the status of a transaction
package_info(group_id, artifact_id) Get Maven package metadata

Usage Examples

client = NpmMavenV4Client()

Network status

status = client.get_near_status()

Search Maven packages

results = client.search_maven_packages("near java sdk")

List NEAR Java packages

packages = client.list_near_java_packages()

Generate POM

pom = client.generate_near_sdk_pom("near-java-sdk", "1.0.0")

Account info

account = client.get_account("example.near")

Transaction status

tx = client.get_transaction_status("Abc123...", "sender.near")

License

MIT

Project details


Download files

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

Source Distribution

npm_maven_v4-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

npm_maven_v4-1.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file npm_maven_v4-1.0.0.tar.gz.

File metadata

  • Download URL: npm_maven_v4-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for npm_maven_v4-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ba68e8a8e1e2615dd87941d37b1d494e295c759a8cfeeacf5a250d6a328ebe70
MD5 879d3cf1c033e443122f64687a571a02
BLAKE2b-256 685a921f9afccf3d2068f0ba687d46a2e210afa834fb071aefd436f6400c7b7d

See more details on using hashes here.

File details

Details for the file npm_maven_v4-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: npm_maven_v4-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for npm_maven_v4-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e376b67275ce4bdd8458f8398bc885be73cbcdac4c5c41dcdf0b3b5763798c24
MD5 6432ff02ace1c69c2e926e6f3cebcf0d
BLAKE2b-256 93bdc1e3e81da598b45a052bab27d46b8200a1e0a86648aa93258ea740450786

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