Skip to main content

systemd configuration file access

Project description

Classes for Accessing the systemd Configuration Files

A collection of classes for accessing the systemd configuration files.

Only tested with Python 3.6 on Debian 9.5.


pip install sysdfiles



from sysdfiles import NetworkFile

network = NetworkFile('/etc/systemd/network/')
network.network_dhcp = ['', '']
network.network_dhcp_server = True
network.dhcp_server_emit_dns = True
network.dhcp_server_dns = ''
network.route_metric = 10

Copyright and License

Copyright © 2018 Shawn Baker using the MIT License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sysdfiles, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size sysdfiles-0.2.0-py3-none-any.whl (21.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sysdfiles-0.2.0.tar.gz (15.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page