Skip to main content

shim selinux module

Project description

https://travis-ci.com/pycontribs/selinux.svg?branch=master

# 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.5 (2019-05-28)

  • Updated Trove classifiers

  • Refactored the generation of package metadata when build from source

  • Marked release as stable

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.

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

selinux-0.1.5rc1.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

selinux-0.1.5rc1-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file selinux-0.1.5rc1.tar.gz.

File metadata

  • Download URL: selinux-0.1.5rc1.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for selinux-0.1.5rc1.tar.gz
Algorithm Hash digest
SHA256 0be0cc989b84dfb52e40b65f486ae9a0460cceb94cafd1225f47d17f3a07122a
MD5 bbdba5d1a9e979c2579357631f9e882d
BLAKE2b-256 de91f45baffa1c0a274715593959ca81a483851c76e99fa59428e24c67ce554b

See more details on using hashes here.

File details

Details for the file selinux-0.1.5rc1-py2.py3-none-any.whl.

File metadata

  • Download URL: selinux-0.1.5rc1-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for selinux-0.1.5rc1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0cd75169bc85e365f86cea81817b177c45769f2093eb3239f7dc4be6b7887f4f
MD5 c20de0ea8ea8cf7f2924212072d7dd0e
BLAKE2b-256 7d9663b5bafe37dc4ced12d0087ad603425e948ef564ee6422ffe4402ed9bdba

See more details on using hashes here.

Supported by

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