Skip to main content

Installation

$ [sudo] pip install detect

Features

OS variables
variable description
detect.freebsd True if OS is FreeBSD
detect.linux True if OS is Linux
detect.mac True if OS is MacOS
detect.osx True if OS is MacOS OS X
detect.windows True if OS is Windows
detect.cygwin True if OS is Cygwin detected
detect.unix True if OS is Unix (not Windows)
Python variables
variable description
detect.py2 True if python is 2.x
detect.py3 True if python is 3.x
Docker
variable description
detect.docker True if running inside a Docker container

readme42.com

Metadata

Release files for detect 2020.12.3

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

Source distribution (sdist)

Source distribution for detect 2020.12.3
File Size Uploaded Provenance Actions
detect-2020.12.3.tar.gz 1.5 kB Without provenance Details for detect-2020.12.3.tar.gz

Release files / detect-2020.12.3.tar.gz

Download URL detect-2020.12.3.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eecd6c41c17072b4db8dbfa850d979bda40b33b4f349ab4378205bceb74d712e
BLAKE2b-256 checksum
How to use checksums
a7e450b692a4eb05580e7e081823e71c6b16cb6c506e766a2dfa5f9705f50c05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

Security for detect 2020.12.3

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