Skip to main content

NOMTP — Network-Oriented Media Transfer Protocol

Documentation Python Version License

NOMTP is a modern, high-throughput, resilient application-layer binary protocol specifically engineered for file, media, object, and streaming data transfer over secure TCP+TLS and QUIC transports.


Key Features

  • Binary Wire Protocol: Fixed 32-byte header with zero JSON overhead, CRC16 header verification, and Big-Endian encoding.
  • Native Resumability: Sparse transfer maps, chunk bitmaps, and disk journals enabling resume after network loss or server restart.
  • Hierarchical Integrity Trees: Merkle tree hashing (CRC32C / SHA-256 / BLAKE3) for incremental and whole-file validation.
  • Parallel Chunk Transfer: Multiplexed concurrent chunk streams over single or pooled connections.
  • Content Addressing & Deduplication: Cryptographic content digests preventing duplicate payload retransmission.
  • Adaptive Chunking & Compression: Dynamic chunk sizing with zstd/gzip auto-detection and smart media bypass.
  • Storage Abstraction: Seamless integration with Local Filesystem, In-Memory, and Object Storage (S3 / R2 / MinIO).
  • Security & Multi-Tenancy: TLS 1.3, token authentication, permission masks, token-bucket rate limiting, and quotas.

Installation

pip install nomtp

Quick Start

Start Server

nomtp server ./storage --port 9000 --token secret123

Upload a File

nomtp upload video.mp4 --host localhost --port 9000 --token secret123 --parallel 4

Download a File

nomtp download video.mp4 ./downloaded.mp4 --host localhost --port 9000 --token secret123

Python API

import asyncio
from nomtp import Client

async def main():
    async with Client(host="localhost", port=9000, auth_token="secret123") as client:
        # Upload with automatic chunking and resume support
        result = await client.upload(
            local_path="movie.mkv",
            remote_path="videos/movie.mkv",
            parallel=4,
            resume=True
        )
        print(f"Uploaded {result.bytes_transferred} bytes (Transfer ID: {result.transfer_id})")

        # Download
        await client.download(
            remote_path="videos/movie.mkv",
            local_path="downloaded_movie.mkv",
            parallel=4,
            resume=True
        )

if __name__ == "__main__":
    asyncio.run(main())

Documentation

Comprehensive documentation, architecture guides, and protocol specifications are available at: https://nomtp.abdullah.dpdns.org


License

NOMTP is licensed under the Apache-2.0 License.

Metadata

Release files for nomtp 0.1.1

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

Source distribution (sdist)

Source distribution for nomtp 0.1.1
File Size Uploaded Provenance Actions
nomtp-0.1.1.tar.gz 48.7 kB With provenance Details for nomtp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nomtp 0.1.1
File Interpreter ABI Platform Actions
nomtp-0.1.1-py3-none-any.whl Python 3 none any Details for nomtp-0.1.1-py3-none-any.whl

Total release size: 87.3 kB

Release files / nomtp-0.1.1.tar.gz

Download URL nomtp-0.1.1.tar.gz
Size 48.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bfd00e903c4061d8c5273606f5dde4ff8c941b8749fcb12562003e7692dbd395
BLAKE2b-256 checksum
How to use checksums
e80d77f7e496f07e5c821b5e1a72355ef6abb32213213969cd1ad98f12749b0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Release files / nomtp-0.1.1-py3-none-any.whl

Download URL nomtp-0.1.1-py3-none-any.whl
Size 38.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f672b3056e070846c8f927c28fbd426f26ff878992ae34dded81f7a53401b0a
BLAKE2b-256 checksum
How to use checksums
717443deac6ba06e6932c21fa82399a2d2f35ca4949abaa2814202b5729d699e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

Security for nomtp 0.1.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nomtp-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 30, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

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