Skip to main content
.. image:: https://travis-ci.com/pycontribs/selinux.svg?branch=master
:target: https://travis-ci.com/pycontribs/selinux

# selinux
Pure-python selinux shim module for use in virtualenvs in oder to avoid
failure to load selinux in Ansible modules.

You still need to have libselinux python bindings package installed on your
system for it to work but you no longer have the problem of not being able
to import it from inside isolated (default) virtualenvs.

This package was also tested as installed outside virtualenvs and seems not
to interfere with the original library.

So far testing was done on:
* CentOS 7 - python2
* Fedora 28 - python2 and python3


=======
History
=======

0.1.2 (2019-04-13)

* First version that can really detect selinux on system and load it, allowing
users of isolated virtualenvs to be able to load selinux.
* Library is supoosed to load nothing on non-Linux systems
* Only one warning is raised if the library failes to find system selinux

0.1.0 (2019-03-12)
------------------

* First release on PyPI.


Metadata

Release files for selinux 0.1.4

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

Source distribution (sdist)

Source distribution for selinux 0.1.4
File Size Uploaded Provenance Actions
selinux-0.1.4.tar.gz 4.5 kB Without provenance Details for selinux-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for selinux 0.1.4
File Interpreter ABI Platform Actions
selinux-0.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details for selinux-0.1.4-py2.py3-none-any.whl

Total release size: 9.0 kB

Release files / selinux-0.1.4.tar.gz

Download URL selinux-0.1.4.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
26558062cfe59696e3ab2266bb49253538f496ffe867b4a936036ff19ec19a58
BLAKE2b-256 checksum
How to use checksums
81016163553bfe538c0fcd31bad95e43a9313ef2468bb36116e27f6299defec7
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.31.1 CPython/3.6.7

Release files / selinux-0.1.4-py2.py3-none-any.whl

Download URL selinux-0.1.4-py2.py3-none-any.whl
Size 4.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ccf1774c26125206b888d07902e9853d02478c60a77c7b6cc1ae527bcaf9bda6
BLAKE2b-256 checksum
How to use checksums
bf88744c5ffd6feeacba8096b992bca8dafdb8a9fc0759b643fc1a8b1405f13a
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.31.1 CPython/3.6.7

Security for selinux 0.1.4

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