Skip to main content

decimal-binary-converter

Python packge for converting decimal numbers into binary.

This package is used to provide an example of how to create a Python package. ✨


How to make the package available 🙌

If necessary, use a virtual environment:

  1. Add the virtual environment to the .gitignore file by writing <name-of-venv>/.
  2. Set up the virtual environment using: python -m venv <name-of-venv>.
  3. Activate the virtual environment using: venv/Scripts/activate (Windows).

Run the following commands:

  1. Install dependencies using: pip install setuptools build wheel twine.
  2. Build source code and binary distribution wheel using: python -m build.
  3. A: Upload the distribution wheel to the Test Python Package Index using: twine upload --repository testpypi dist/*. (Requires an API Key. Get it by registering an account).
  4. B: Upload the distribution wheel to the Python Package Index using: twine upload dist/*.
  5. Install the package using pip install <your-package>.

Details 🔎

In the __init__.py file, we leave it non-empty to make it easier to import stuff from the pacakge.

  • Instead of having to write from decimal_binary_converter.converter import decimal_to_binary when importing,
  • We can write from decimal_binary_converter import decimal_to_binary.

Metadata

Release files for simple-example-package-of-decimal-binary-converter 0.0.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 simple-example-package-of-decimal-binary-converter 0.0.1
File Size Uploaded Provenance Actions
simple_example_package_of_decimal_binary_converter-0.0.1.tar.gz 3.4 kB Without provenance Details for simple_example_package_of_decimal_binary_converter-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simple-example-package-of-decimal-binary-converter 0.0.1
File Interpreter ABI Platform Actions
simple_example_package_of_decimal_binary_converter-0.0.1-py3-none-any.whl Python 3 none any Details for simple_example_package_of_decimal_binary_converter-0.0.1-py3-none-any.whl

Total release size: 7.9 kB

Release files / simple_example_package_of_decimal_binary_converter-0.0.1.tar.gz

Download URL simple_example_package_of_decimal_binary_converter-0.0.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
70111f72f53ee0fa13fb7911e3627adabca69bbe1d126a3d1256bc448b626149
BLAKE2b-256 checksum
How to use checksums
489ac345e008d5e5f6e560af692e72a4da33686e1ca089ea957253405b9d5e8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / simple_example_package_of_decimal_binary_converter-0.0.1-py3-none-any.whl

Download URL simple_example_package_of_decimal_binary_converter-0.0.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a2f7e36d4e329fe7e275147c7673c62de4578609ef693217589e5b08fea4442
BLAKE2b-256 checksum
How to use checksums
f938aff8e6b587a0b760502e8d6591ed10717a735a201c52d6e128266f2dbd3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for simple-example-package-of-decimal-binary-converter 0.0.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.

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

0.0.1 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