Python parser for .xscreensaver config file
Project description
xscreensaver_config
Python parser for .xscreensaver config file
Installation
pip install xscreensaver-config
from xscreensaver_config.ConfigParser import ConfigParser
config = ConfigParser('/home/user/.xscreensaver')
# Read config as dict
print(config.read())
...
# Update config
config.update({'mode': 'one'})
# Save config
config.save()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file xscreensaver-config-1.0.7.tar.gz
.
File metadata
- Download URL: xscreensaver-config-1.0.7.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e8585b6db56dc34229cf8a090ab2366a4bdf9991a44c630e3e8d13c1e2bb7cb |
|
MD5 | 5bd427e651852cdfdfbc7b087ee19058 |
|
BLAKE2b-256 | 222ec4d7c46add8af7c5d822a4fb7ecaf47ba8b41686725679a2e86effb66b8d |