Skip to main content

An NDN client library with AsyncIO support in Python 3

Project description

python-ndn

Test Status Code Size Release Ver Doc Status

A Named Data Networking client library with AsyncIO support in Python 3.

It supports Python >=3.10 and PyPy3.10 >=7.3.12.

Please see our documentation if you have any issues.

Changelog

0.4-1 (2023-08-21)

  • Update dependencies: drop cryptography.

  • Add ECIES support.

0.4 (2023-07-21)

  • Migrate from pipenv to poetry

  • Upgrade Python requirement to 3.10

  • Fix a race condition in NDNAppv2

  • Add support to State-Vector-Sync (SVS)

0.3-3 (2023-05-26)

  • Add NDNAppv2

  • Add NDN-DPDK Support

  • encoding: Add MapField

0.3-2 (2022-06-11)

  • Bug fix.

  • Add key suggestion to LVS checker.

  • Support implicit digest in Interest name for express_interest.

  • Add more interfaces for security.

  • Update ci.

  • Add Ed25519 algorithm.

0.3-1 (2022-03-20)

  • Add Light VerSec and cascade validator.

  • Add UDP support.

  • Support remote prefix registration.

  • NDNLPv2 protocol update.

  • NDN 0.3 protocol update (ForwardingHint).

  • Add Boost INFO parser.

  • Drop Python 3.8 support due to typing hint incompatability. CPython 3.8 should still work, but PyPy 3.8 is known to be incompatible.

  • Bug fixes.

0.3 (2021-11-21)

  • Add express_raw_interest function to NDNApp.

  • Add validator for known keys.

  • Add CodeQL scanning.

  • Add support to Windows CNG as a TPM backend.

  • Add binary tools pyndntools, pyndnsec and pynfdc.

  • Transition to Name Convention Rev03.

  • Add automatic type conversion for Enum, Flag and str.

  • Drop Python 3.7 support and add Python 3.10.

0.3a1-3 (2021-05-22)

  • Support Unix socket on Windows 10.

  • Fix semaphore running in a different event loop bug.

0.3a1-2 (2021-04-29)

  • Handle ConnectionResetError.

  • Drop Python 3.6 support.

0.3a1-1 (2021-01-31)

  • Transfer the repo to named-data/python-ndn.

  • Fix cocoapy to make it work on MacOS 11 Big Sur.

  • Add more supports to NDNLPv2 (CongestionMark).

  • Add dispatcher and set_interest_filter.

0.3a1 (2020-09-24)

  • Fix the bug that registering multiple prefices at the same time leads to 403 error.

  • Add Name Tree Schema.

  • Add .devcontainer for VSCode Remote Containers and GitHub Codespaces.

0.2b2-2 (2020-05-26)

  • Change the default sock file path from /var/run/nfd.sock to /run/nfd.sock on Linux.

  • Add FIB and CS management data structures

  • Add make_network_nack

  • Recognize NDN_CLIENT_* environment variables

0.2b2-1 (2020-03-23)

  • Fix RuntimeWarning for hanging coroutine when main_loop raises an exception.

  • Fix the issue when after_start throws an exception, the application gets stuck.

  • Set raw_packet of express_interest and on_interest to be the whole packet with TL fields.

0.2b2 (2020-02-18)

  • Switch to Apache License 2.0.

  • Add NDNApp.get_original_packet_value.

  • Improve NDNApp.route and NDNApp.express_interest to give access the original packet and signature pointers of packets.

  • Fix typos in the documentation.

  • Support more alternate URI format of Name Component (seg, off, v, t and seq)

  • Update Python version to 3.8 and add PyPy 7.2.0 in GitHub Action.

  • Fix Name.to_str so its output for [b'\x08\x00'] is correct.

0.2b1 (2019-11-20)

The initial release.

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

python_ndn-0.4.2.tar.gz (138.2 kB view details)

Uploaded Source

Built Distribution

python_ndn-0.4.2-py3-none-any.whl (202.8 kB view details)

Uploaded Python 3

File details

Details for the file python_ndn-0.4.2.tar.gz.

File metadata

  • Download URL: python_ndn-0.4.2.tar.gz
  • Upload date:
  • Size: 138.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.6.9-amd64

File hashes

Hashes for python_ndn-0.4.2.tar.gz
Algorithm Hash digest
SHA256 7ec61ec083d8bfda4ff40cbcadaa5d15d1ab6d8d9774cb343a08a2a77681d31f
MD5 dd0b8c3b8f6bc110a32332efef32848f
BLAKE2b-256 10561f85db9f50eb65757cbb0b80f87cd4ce42cebd0cb9a8a9e74a563d894be8

See more details on using hashes here.

File details

Details for the file python_ndn-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: python_ndn-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 202.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Linux/6.6.9-amd64

File hashes

Hashes for python_ndn-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 545c150e18791fed13863c4f30a67f0e1199a96446d308a9c5427ac30840820e
MD5 bf3cb9ea41d886e62a92fd567a9cb253
BLAKE2b-256 93267b28d133302ad66ed2f722d6a1af3ef4f5fb7d6e1c717cf239be057046a9

See more details on using hashes here.

Supported by

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