Skip to main content

unshare

PyPI

pip3 install unshare

Python extension for C's unshare call.
See man 2 unshare.

Note: This is targeted for only Linux based platforms.

Usage

unshare(flags) where supported flags are CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWPID, CLONE_NEWUSER, CLONE_NEWIPC, CLONE_NEWNET, CLONE_THREAD.
Multiple flags can be used using the bitwise or operator.

Example usage

import unshare
unshare.unshare(unshare.CLONE_NEWUTS)

The following screenshot is taken from a sample script which uses the unshare library.

License

This project is licensed under GPLv3.

Metadata

Release files for unshare 0.22

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

Source distribution (sdist)

Source distribution for unshare 0.22
File Size Uploaded Provenance
unshare-0.22.tar.gz 2.0 kB Without provenance Details

Release files / unshare-0.22.tar.gz

Download URL unshare-0.22.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d521d72cca6e876f22cbd5ff5eb51f1beef75e8f9c53b599b55fa05fba1dd3a6
BLAKE2b-256 checksum
How to use checksums
15852ba218129c95b894efe87506489b525f859c40f6e21cb0521ff3cec754f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Security for unshare 0.22

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.

Release history Release notifications | RSS feed

This release

0.22 This release

1 release file 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