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
Filename, size sysdfiles-0.2.0.tar.gz (15.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page