Skip to main content

An XResources parser for python applications.

Project description

A very simple python library for parsing XResources.

Example Usage

import xrp
result = xrp.parse_file('.Xresources')
result.resources['*foreground'] == 'white'
result.definitions['white'] == '#FFFFFF'

Installation

Install stable versions from PyPi

pip install xparser

and development versions by cloning

git clone https://github.com/taesko/xparser.git
cd xparser && pip install .

Documentation

is not (yet) written.

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

xparser-0.0.1.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

xparser-0.0.1-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page