Metadata-Version: 2.1
Name: sysdfiles
Version: 0.1.0
Summary: systemd configuration file access
Home-page: https://github.com/ShawnBaker/sysdfiles
Author: Shawn Baker
Author-email: shawn@frozen.ca
License: MIT
Project-URL: Documentation, https://github.com/ShawnBaker/sysdfiles/wiki
Project-URL: Source, https://github.com/ShawnBaker/sysdfiles
Keywords: systemd configuration file files automount conf device hosts ini link mount network path scope service slice socket swap target timer unit
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown

# 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.

## Installation

pip install sysdfiles

## Documentation

https://github.com/ShawnBaker/sysdfiles/wiki

## Usage

```
import sysdfiles
network = NetworkFile('/etc/systemd/network/lan.network')
print(network.match_mac_address)
print(network.link_mac_address)
network.network_dhcp = ['8.8.8.8', '8.8.4.4']
network.route_metric = 10
network.network_dhcp_server = True
network.dhcp_server_emit_dns = True
network.dhcp_server_dns = '192.168.0.1'
network.save()
```

## Copyright and License

Copyright &copy; 2018 Shawn Baker using the [MIT License](https://opensource.org/licenses/MIT).


