Skip to main content

Automatically get Linux container CPU quota like uber automaxprocs.

Project description

automaxprocs

Automatically get Linux container CPU quota like uber automaxprocs.

>>> from automaxprocs import maxprocs
>>> maxprocs.get_cpu_count()
4
>>> maxprocs.get_max_procs() 
2

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

pyautomaxprocs-1.0.0.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file pyautomaxprocs-1.0.0.tar.gz.

File metadata

  • Download URL: pyautomaxprocs-1.0.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12

File hashes

Hashes for pyautomaxprocs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d615804cbb9b8e37388fc5e353ac38484c77eb7d90e632f92996e5759f015ef6
MD5 1fc48aac26f0a4cb1969eae0410231ac
BLAKE2b-256 6189c5ee13ec2f426125e5a4c09cb23764cb8a0822cdaca6b070f8c9d780b5d3

See more details on using hashes here.

Supported by

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