Package Search Help

You can use boolean logic (e.g. AND/OR/NOT) for complex search queries. For more help and examples, see the search documentation.

Search by package name:
my-package (implicit)
name:my-package (explicit)

Search by package filename:
my-package.ext (implicit)
filename:my-package.ext (explicit)

Search by package tag:
latest (implicit)
tag:latest (explicit)

Search by package version:
1.0.0 (implicit)
version:1.0.0 (explicit)
prerelease:true (prereleases)
prerelease:false (no prereleases)

Search by package architecture:
architecture:x86_64 

Search by package distribution:
distribution:el 

Search by package license:
license:MIT 

Search by package format:
format:deb 

Search by package status:
status:in_progress 

Search by package file checksum:
checksum:5afba 

Search by package security status:
severity:critical 

Search by package vulnerabilities:
vulnerabilities:>1 
vulnerabilities:<1000 

Search by # of package downloads:
downloads:>8 
downloads:<100 

Search by package type:
type:binary 
type:source 

Search by package size (bytes):
size:>50000 
size:<10000 

Search by dependency name/version:
dependency:log4j 
dependency:log4j=1.0.0 
dependency:log4j>1.0.0 

Search by uploaded date:
uploaded:>"1 day ago" 
uploaded:<"August 14, 2022 EST" 

Search by entitlement token (identifier):
entitlement:3lKPVJPosCsY 

Search by policy violation:
policy_violated:true
deny_policy_violated:true
license_policy_violated:true
vulnerability_policy_violated:true

Search by repository:
repository:repo-name

Search queries for all Debian-specific (and related) package types

Search by component:
deb_component:unstable

Search queries for all Maven-specific (and related) package types

Search by group ID:
maven_group_id:org.apache

Search queries for all Docker-specific (and related) package types

Search by image digest:
docker_image_digest:sha256:7c5..6d4
(full hashref only)

Search by layer digest:
docker_layer_digest:sha256:4c4..ae4
(full hashref only)

Field type modifiers (depending on the type, you can influence behaviour)

For all queries, you can use:
~foo for negation

For string queries, you can use:
^foo to anchor to start of term
foo$ to anchor to end of term
foo*bar for fuzzy matching

For number/date or version queries, you can use:
>foo for values greater than
>=foo for values greater / equal
<foo for values less than
<=foo for values less / equal

Need a secure and centralised artifact repository to deliver Alpine, Cargo, CocoaPods, Composer, Conan, Conda, CRAN, Dart, Debian, Docker, Go, Helm, Hex, LuaRocks, Maven, npm, NuGet, P2, Python, RedHat, Ruby, Swift, Terraform, Vagrant, Raw & More packages?

Cloudsmith is the new standard in Package / Artifact Management and Software Distribution.

With support for all major package formats, you can trust us to manage your software supply chain.

Start My Free Trial
 Public agriconnect agriconnect (AgriConnect) / python
Prebuilt wheel for Python packages

Python logo setproctitle  1.1.10

One-liner (summary)

A Python module to customize the process title

Description

A Python module to customize the process title

Author: Daniele Varrazzo

The setproctitle module allows a process to change its title (as displayed by system tools such as ps and top).

Changing the title is mostly useful in multi-process systems, for example when a master process is forked: changing the children's title allows to identify the task each process is busy with. The technique is used by PostgreSQL and the OpenSSH Server for example.

The procedure is hardly portable across different systems. PostgreSQL provides a good multi-platform implementation: this module is a Python wrapper around PostgreSQL code.

Installation

setproctitle is a C extension: in order to build it you will need a C compiler and the Python development support (the python-dev package in most Linux distributions). No further external dependencies are required.

You can use pip to install the module:

pip install setproctitle

You can use pip -t or virtualenv for local installations, sudo pip for a system-wide one... the usual stuff. Read pip or virtualenv docs for all the details.

Python 3 support

As of version 1.1 the module works with Python 3. Just use pip/virtualenv for Python 3.

In order to build from the source package and test the module under Python 3, the Makefile contains some helper targets.

Usage

The setproctitle module exports the following functions:

setproctitle(title)
Set title as the title for the current process.
getproctitle()
Return the current process title.

Environment variables

A few environment variables can be used to customize the module behavior:

SPT_NOENV

Avoid clobbering /proc/PID/environ.

On many platforms, setting the process title will clobber the environ memory area. os.environ will work as expected from within the Python process, but the content of the file /proc/PID/environ will be overwritten. If you require this file not to be broken you can set the SPT_NOENV environment variable to any non-empty value: in this case the maximum length for the title will be limited to the length of the command line.

SPT_DEBUG

Print debug information on stderr.

If the module doesn't work as expected you can set this variable to a non-empty value to generate information useful for debugging. Note that the most useful information is printed when the module is imported, not when the functions are called.

Module status

The module can be currently compiled and effectively used on the following platforms:

  • GNU/Linux
  • BSD
  • MacOS X
  • Windows

Note that on Windows there is no way to change the process string: what the module does is to create a Named Object whose value can be read using a tool such as Process Explorer (contribution of a more useful tool to be used together with setproctitle would be well accepted).

The module can probably work on HP-UX, but I haven't found any to test with. It is unlikely that it can work on Solaris instead.

Other known implementations and discussions

  • procname: a module exposing the same functionality, but less portable and not well packaged.
  • Issue 5672: where the introduction of such functionality into the stdlib is being discussed.

Size

32.3 KB

Downloads

72

Tags

bdist/wheel whl linux_armv7l cp36 cp36m latest

Status  Completed
Checksum (MD5) 0e7f59e43eda4e295e0e5bd069ad3563
Checksum (SHA-1) 3ebaa574d9fa830af06b1d6f16b0670f45dd4d85
Checksum (SHA-256) 625d142d1851f6181c07d06fd10a14ad1ec7e8c4979ba644e1fa1b9900f7d0d4
Checksum (SHA-512) cd27a7d81909bc6e60bcca0ab5d87fb97212aa4792b0e7b74133064d1a08003b60…
GPG Signature
Storage Region  Dublin, Ireland
Type  Binary (contains binaries and binary artifacts)
Uploaded At 5 years, 5 months ago
Uploaded By quan
Slug Id setproctitle-1110-cp36-cp36m-linux_armv7lwhl
Unique Id X5ID2GeP6leM
Version (Raw) 1.1.10
Version (Parsed)
  • Major: 1
  • Minor: 1
  • Patch: 10
  • Type: SemVer (Strict)
  extended metadata
Abi cp36m
Author Daniele Varrazzo <daniele.varrazzo@gmail.com>
Classifiers Development Status :: 5 - Production/Stable | Intended Audience :: Developers | License :: OSI Approved :: BSD License | Operating System :: MacOS :: MacOS X | Operating System :: Microsoft :: Windows | Operating System :: POSIX :: BSD | Operating System :: POSIX :: Linux | Programming Language :: C | Programming Language :: Python | Programming Language :: Python :: 3 | Topic :: Software Development
Download URL http://pypi.python.org/pypi/setproctitle/
Homepage URL https://github.com/dvarrazzo/py-setproctitle
Metadata Version 2.1
Platforms BSD | GNU/Linux | MacOS X | Windows
Py Filetype bdist_wheel
Py Version cp36
pkg setproctitle-1.1.10-cp36-cp36m-… 72
32.3 KB
md5 sha1 sha256 sha512
Package Contents (setproctitle-1.1.10-cp36-cp36m-linux_armv7l.whl)
Loading...

This package has 7 files/directories.

Security Scanning:
You can't see this because your subscription doesn't include this feature, sorry!

With Security Scanning, Cloudsmith will scan your artifacts for vulnerabilities when they're uploaded. These are then presented to you via the UI and the API, so that you can build rules into your CI/CD pipelines to decide how to handle low, medium, high and critical software vulnerabilities.

If you'd like to trial or ask about the Security Scanning feature, just ask us. We'll be happy to help!

Last scanned

16 hours ago

Scan result

Vulnerable

Vulnerability count

4

Max. severity

High
Target:
HIGH

CVE-6030-76074: library: vulnerability title



Package Name: package_name
Installed Version: 1.1.88
Fixed Version: 2.4.81

References: keith-watkins.com www.charles.com www.davis-richmond.com
HIGH

CVE-8989-46128: library: vulnerability title



Package Name: package_name
Installed Version: 1.1.15
Fixed Version: 2.4.66

References: durham.org www.schaefer.com www.arellano.com
MEDIUM

CVE-9703-52280: library: vulnerability title



Package Name: package_name
Installed Version: 1.5.39
Fixed Version: 2.5.74

References: molina.net www.sanchez-smith.com lang-preston.info
LOW

CVE-3191-93312: library: vulnerability title



Package Name: package_name
Installed Version: 1.4.88
Fixed Version: 2.7.82

References: www.gonzalez.com www.hoffman.biz horton.org

You can embed a badge in another website that shows this or the latest version of this package.

To embed the badge for this specific package version, use the following:

[![This version of 'setproctitle' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/setproctitle/1.1.10/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/?render=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/setproctitle/1.1.10/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/)
|This version of 'setproctitle' @ Cloudsmith|
.. |This version of 'setproctitle' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/setproctitle/1.1.10/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/?render=true
   :target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/setproctitle/1.1.10/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/setproctitle/1.1.10/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/?render=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/setproctitle/1.1.10/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/",title="This version of 'setproctitle' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/setproctitle/1.1.10/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/setproctitle/1.1.10/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/?render=true" alt="This version of 'setproctitle' @ Cloudsmith" /></a>

rendered as: This version of 'setproctitle' @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest version of 'setproctitle' @ Cloudsmith](https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/setproctitle/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/?render=true&show_latest=true)](https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/setproctitle/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/)
|Latest version of 'setproctitle' @ Cloudsmith|
.. |Latest version of 'setproctitle' @ Cloudsmith| image:: https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/setproctitle/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/?render=true&show_latest=true
   :target: https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/setproctitle/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/
image::https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/setproctitle/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/?render=true&show_latest=true[link="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/setproctitle/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/",title="Latest version of 'setproctitle' @ Cloudsmith"]
<a href="https://cloudsmith.io/~agriconnect/repos/python/packages/detail/python/setproctitle/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/"><img src="https://api-prd.cloudsmith.io/v1/badges/version/agriconnect/python/python/setproctitle/latest/a=linux_armv7l;xa=cp36m;xf=bdist_wheel;xn=setproctitle;xv=cp36/?render=true&show_latest=true" alt="Latest version of 'setproctitle' @ Cloudsmith" /></a>

rendered as: Latest version of 'setproctitle' @ Cloudsmith

These instructions assume you have setup the repository first (or read it).

To install/use setproctitle @ version 1.1.10 ...

pip install 'setproctitle==1.1.10'

You can also install the latest version of this package:

pip install --upgrade 'setproctitle'

If necessary, you can specify the repository directly:

pip install \
  --index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/ \
  setproctitle==1.1.10

If you've got a project requirements.txt file, you can specify this as a dependency:

--index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/
setproctitle==1.1.10

In addition, you can use this repository as an extra index url. However, please read our documentation on this parameter before using it. For example in a requirements.txt file:

--extra-index-url=https://dl.cloudsmith.io/public/agriconnect/python/python/simple/
setproctitle==1.1.10
Warning: We highly recommend using pip (or similar) rather than installing directly.
Previous Version
Next Version
Top