semvec/pypi-packages huggingface dataset:
python-libdiscid 2.0.3
Python bindings for libdiscid
License: MIT
Requires Python: >=3.8

# libdiscid Python bindings

python-libdiscid implements Python >= 3.6 bindings for libdiscid using Cython.

## Dependencies

* libdiscid
* Cython (>= 0.15, optional)
* pkgconfig (optional)

Note that the tarballs come with pre-built C source for the Cython module. So
Cython is only required if one builds python-libdiscid from the git repository
or if one wants to change anything in the Cython module.

If pkgconfig is installed, setup.py uses libdiscid's pkg-config information to
set include directories, libraries to link, etc.

## Quick installation guide

python-libdiscid is available in some distributions:

* Debian/Ubuntu: `apt-get install python3-libdiscid` (Python 3)
* Fedora: `dnf install python3-libdiscid` (Python 3)

python-libdiscid can be installed via `pip`:
```
$ pip install python-libdiscid
```
or by running:
```
$ python3 setup.py install
```

If you just want to try it locally, run:
```
$ python3 setup.py build_ext -i
```
and hack right away. You can also run:
```
$ python3 setup.py build
```
but please make sure that `build/lib.*` is in `sys.path` before the source
folder.

## A note for Windows users

There are eggs available from PyPI that don't require the extension module to be
built. If these are used, it is still required to drop a working discid.dll in
`C:\WINDOWS\system32` (or wherever it can be found).

## Usage

```python3
from libdiscid import read

disc = read("/dev/cdrom")
print("id: {}".format(disc.id))
```

## License

python-libdiscid is released under the MIT license. Check LICENSE for details.
lxcraft 0.0.5
A simple declarative configuration build tool for Linux systems
License: MIT

# LXCraft

A Declarative Configuration Build Tool for Linux Systems

[![PyPi](https://img.shields.io/pypi/v/lxcraft.svg?style=flat-square)](https://pypi.python.org/pypi/lxcraft)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/ambv/black)

A simple declarative configuration build tool for Linux systems.

- 🐍 Pure Python declarative code
    - No need to learn a new DSL/programming language
    - Leverage IDE features like inline documentation, code completion, linting, etc.
- 📏 Ephemeral target system
    - No need to worry about maintaing the system state
- Simpler than Chef, Puppet, Ansible, Terraform, SaltStack, etc. due to the above


## How to use
```python
from lxcraft import Plan
from lxcraft.debian import AptPackages

Plan([
    AptPackages(["nginx"])
]).execute()
```

## How to develop

### Requirements

- Python 3.10+ is required.
- Linux or WSL.

In order to develop you must use Linux or WSL with docker.

```sh
python develop/docker-bash.py
invoke setup
invoke test
```