A jail.conf python library to help making administration software
Project description
jailconf_tools is a python package which includes a lot of tools to use with the new jail format on a freebsd host.
Howto
This is an example of howto use jailconf parser :
#!/usr/bin/env python
import sys
from jailconf_tools.parser import get_jails_config
def main():
"""Main function"""
try:
print(get_jails_config())
except:
return 1
else:
return 0
if __name__ == "__main__":
sys.exit(main())
This peace of code returns a python dict which contains all jails definition.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jailconf_tools-1.0.1.tar.gz.
File metadata
- Download URL: jailconf_tools-1.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2391bfd868f6884421000b63eddc6b5ac8d1e566403c75c4df409796c695aa2
|
|
| MD5 |
4ef0535fbffe58e1c1e7d33ee74f9d14
|
|
| BLAKE2b-256 |
2eeabe717e27c09b71a1af04236f7c6f4a31578c8dea021872370318f6f424c7
|
File details
Details for the file jailconf_tools-1.0.1.macosx-10.10-intel.tar.gz.
File metadata
- Download URL: jailconf_tools-1.0.1.macosx-10.10-intel.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbb57288bfa77c1ad7797e1dc634d825a09020e50488741dc681763d20ee0422
|
|
| MD5 |
0232c6c74189782a587823a442f4c211
|
|
| BLAKE2b-256 |
292ad665cf7803fce3c079428f94b07afbcf399cc89651be6a1c98238fffd241
|