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
Metadata
Release files for npm-maven-v4 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| npm_maven_v4-1.0.0.tar.gz | 3.6 kB | Without provenance | Details for npm_maven_v4-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| npm_maven_v4-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for npm_maven_v4-1.0.0-py3-none-any.whl |
Total release size: 7.5 kB
Release files / npm_maven_v4-1.0.0.tar.gz
| Download URL | npm_maven_v4-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba68e8a8e1e2615dd87941d37b1d494e295c759a8cfeeacf5a250d6a328ebe70
|
|
BLAKE2b-256 checksum How to use checksums |
685a921f9afccf3d2068f0ba687d46a2e210afa834fb071aefd436f6400c7b7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / npm_maven_v4-1.0.0-py3-none-any.whl
| Download URL | npm_maven_v4-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e376b67275ce4bdd8458f8398bc885be73cbcdac4c5c41dcdf0b3b5763798c24
|
|
BLAKE2b-256 checksum How to use checksums |
93bdc1e3e81da598b45a052bab27d46b8200a1e0a86648aa93258ea740450786
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for npm-maven-v4 1.0.0
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.