Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

bencode

bencode-open is an open-source MIT-licensed library for parsing and converting objects to and from Bencode format.

Rationale

bencode-open is MIT-licensed and can thus be included to almost all software, compared to bencode and bencode.py.

Installation

bencode-open is available on GitHub and on PyPI.

Installing bencode-open from PyPI is recommended and can be done as follows:

pip install bencode-open

Usage

import bencode_open

print(bencode_open.dumps(b"Hello?"))  # Outputs b"6:Hello?"
print(bencode_open.dumps(17))  # Outputs b"i17e"

print(bencode_open.loads(b"6:Hello?"))  # Outputs b"Hello?"
print(bencode_open.loads(b"i17e"))  # Outputs 17

Running tests

python test.py

Metadata

Release files for bencode-open 1.2

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

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for bencode-open 1.2
File Size Uploaded Provenance
bencode-open-1.2.tar.gz 2.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bencode-open 1.2
File Interpreter ABI Platform
bencode_open-1.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.7 kB

Release files / bencode-open-1.2.tar.gz

Download URL bencode-open-1.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e822640d8c930624e6a263297fa34e6a5ade637a4cde0b3caba19d2f759044e6
BLAKE2b-256 checksum
How to use checksums
0752511a5a1e93ccbffdb6c090dfcdf2e93f3dd206a78ea4f7984d38ec02844e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.7.3

Release files / bencode_open-1.2-py3-none-any.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL bencode_open-1.2-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81c61777b87abeea86111790b9dd7c117febcaf10028df1ac92cd77c2d889139
BLAKE2b-256 checksum
How to use checksums
d45fa663f9463c0a3c4e115391b3183f2655bd33b39d6dfb03b3fbde70d06e47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

Security for bencode-open 1.2

Upload timing

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.


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.

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files No 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