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.5.1.tar.gz (143.4 kB view details)

Uploaded Source

Built Distribution

python_ndn-0.5.1-py3-none-any.whl (204.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_ndn-0.5.1.tar.gz
  • Upload date:
  • Size: 143.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for python_ndn-0.5.1.tar.gz
Algorithm Hash digest
SHA256 b1f4f5d2ce8232196b45bf9e5dd09da79b097843f3ff1ea3fd44f1248bb21f11
MD5 f7fa2dde3fb1d3df7a5d278f71f1b52c
BLAKE2b-256 09f9f16fedd3e79cb4f91f60017a10670995a7b8cb0ecc5551c196f2c54dc44d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_ndn-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 204.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.13.2 Darwin/24.3.0

File hashes

Hashes for python_ndn-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5671882914860cf4f1902cc7750c90c2403cbd2dd7f1052888197ba2039286e2
MD5 c6bd66c4bf9581ba1cd56a9029e30dc0
BLAKE2b-256 742f8c896716245daaf8d20eac4418cf0aa1738cec311b6cd4e06e1cacbb5e2d

See more details on using hashes here.

Supported by

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