Skip to main content

in-container PyPI versionBuild Statuscodecov

Allows you to check if your program is running inside a Docker container

Install

$ pip install in-container

Usage

from in_container import in_container
print(in_container()) # True or False

License

MIT

Metadata

Release files for in-container 0.7

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

Source distribution (sdist)

Source distribution for in-container 0.7
File Size Uploaded Provenance Actions
in_container-0.7.tar.gz 1.7 kB Without provenance Details for in_container-0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for in-container 0.7
File Interpreter ABI Platform Actions
in_container-0.7-py3-none-any.whl Python 3 none any Details for in_container-0.7-py3-none-any.whl

Total release size: 5.1 kB

Release files / in_container-0.7.tar.gz

Download URL in_container-0.7.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c72534beac9015343b45faef25a400b19e588f52e4402f5da3d71961251ea1b5
BLAKE2b-256 checksum
How to use checksums
a7e01cf6d692a4b4f3bf9ea89a842dc4156190ae3da1da81c009c7a40110a924
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.7

Release files / in_container-0.7-py3-none-any.whl

Download URL in_container-0.7-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40509b0f7ba562f4bf58f6940c11172e685752fe8e9aa9ccb72156d630e5356d
BLAKE2b-256 checksum
How to use checksums
4efaa976ced7a6f8579e58bb4aa450b690d135ec69b94d6b0908fd911ef832f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.6.7

Security for in-container 0.7

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.

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