Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joeblackwaslike/pycaps
Linux Capabilities for Python
https://github.com/joeblackwaslike/pycaps
Last synced: 6 days ago
JSON representation
Linux Capabilities for Python
- Host: GitHub
- URL: https://github.com/joeblackwaslike/pycaps
- Owner: joeblackwaslike
- License: other
- Created: 2017-01-03T23:33:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-03T23:33:52.000Z (about 8 years ago)
- Last Synced: 2025-01-03T03:06:12.951Z (6 days ago)
- Language: Python
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PyCaps
Linux capabilities for python.
Example:
>>> import pycaps
>>> caps = pycaps.get_caps()
>>> if caps['setgid']: print('setgid enabled')
>>> if caps['setgid'] is pycaps.ENABLED: print('setgid enabled')Requirements:
* Linux
* libcap2