semvec/pypi-packages huggingface dataset:
python3-cyberfusion-systemd-support 2.3.1
Library for systemd.

# python3-cyberfusion-systemd-support

Library for [systemd](https://systemd.io/).

# Install

## PyPI

Run the following command to install the package from PyPI:

    pip3 install python3-cyberfusion-systemd-support

Next, ensure you are working on a system that ships systemd.

## Debian

Run the following commands to build a Debian package:

    mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
    dpkg-buildpackage -us -uc

# Configure

No configuration is supported.

# Usage

## Units

```python
from cyberfusion.SystemdSupport.units import Unit

unit = Unit(f"example.{Unit.SUFFIX_SERVICE}")

unit.disable()
unit.stop()
unit.enable()
unit.restart()
unit.reload()

print(unit.is_active)
print(unit.is_enabled)
print(unit.is_failed)
```

## Tmp files

```python
from cyberfusion.SystemdSupport.tmp_files import TmpFileConfigurationLine, TmpFileConfigurationFile

tmp_file_configuration_line = str(TmpFileConfigurationLine(type_="d", path="/tmp/example", mode="0755", user="example", group="example"))
tmp_file_configuration_file = TmpFileConfigurationFile(path="/etc/tmpfiles.d/example.conf")

tmp_file_configuration_file.create()
```
pyqtexa 0.1.5
Extensions for PyQt
Requires Python: >=3.13

# pyqtexa

**pyqtexa** is a lightweight utility library that provides convenient **extension methods for PyQt**, designed to simplify and speed up GUI development.  
It adds higher-level helper functions and shortcuts that reduce boilerplate and make PyQt widgets easier and more pleasant to work with.

## ✨ Features

- Extension-style helper methods for common PyQt widgets  
- Cleaner and more expressive API  
- Reduces repetitive boilerplate when configuring UI elements  
- Works with PyQt6  
- Designed to be lightweight, explicit, and easy to adopt in existing applications

## 🚀 Installation

Once published on PyPI:

```bash
pip install pyqtexa
transtex 1.0.2
This library supports bidirectional conversion between APA 6th, IEEE, and other paper reference formats and BibTeX.
Requires Python: >=3.12

# TransTex (Python)

Reference conversion helpers for BibTeX plus APA 6th/7th, IEEE, MLA 9th, Chicago (author-date), and Vancouver styles.

## Features

- Parse BibTeX entries into structured `Reference` objects.
- Serialize references back to clean BibTeX.
- Convert formatted citations between supported styles.
- Handle common book/chapters and web sources in addition to journal articles.
- Provide runnable examples and unit tests.

## Project layout

```
src/        # Library source code (transtex package)
tests/      # Unit tests built with unittest
examples/   # Small runnable scripts demonstrating the API
```

## Getting started

Use [uv](https://github.com/astral-sh/uv) to run commands without mutating the base environment:

```bash
uv run python examples/format_from_bibtex.py
```

You can also round-trip formatted citations back into BibTeX:

```bash
uv run python examples/citation_to_bibtex.py
```

Convert citations across styles (APA → IEEE/Chicago/MLA, and back):

```bash
uv run python examples/convert_citation_styles.py
```

See book/web coverage:

```bash
uv run python examples/book_and_web_examples.py
```

## Usage

Format a `Reference` in multiple styles:

```python
from transtex import (
    Reference,
    format_apa,
    format_apa7,
    format_ieee,
    format_mla,
    format_chicago,
    format_vancouver,
    reference_to_bibtex,
)

ref = Reference(
    entry_type="article",
    cite_key="doe2020deep",
    title="Deep Learning for Everything",
    authors=["John Doe", "Jane Smith"],
    journal="Journal of Omniscience",
    year="2020",
    volume="42",
    issue="7",
    pages="1-10",
    doi="10.1000/j.jo.2020.01.001",
)

print(format_apa(ref))
print(format_apa7(ref))
print(format_ieee(ref))
print(format_mla(ref))
print(format_chicago(ref))
print(format_vancouver(ref))

print(reference_to_bibtex(ref))
```

Parse a formatted citation back to BibTeX:

```python
from transtex import citation_to_bibtex

ieee_text = 'J. Doe and J. Smith, "Deep Learning for Everything," Journal of Omniscience, vol. 42, no. 7, pp. 1–10, 2020, doi: 10.1000/j.jo.2020.01.001.'
bibtex = citation_to_bibtex("ieee", ieee_text)
print(bibtex)
```

### Book / web example

```python
from transtex import Reference, format_apa, format_ieee

book_ref = Reference(
    entry_type="book",
    cite_key="turing1950",
    title="Computing Machinery and Intelligence",
    authors=["Alan M. Turing"],
    publisher="Oxford University Press",
    place="Oxford, UK",
    year="1950",
    edition="2nd ed.",
    pages="1-120",
)

web_ref = Reference(
    entry_type="misc",
    cite_key="ada1843",
    title="Sketch of the Analytical Engine",
    authors=["Ada Lovelace"],
    year="1843",
    url="https://example.org/analytical-engine",
    accessed_date="2024-02-10",
)

print(format_apa(book_ref))
print(format_ieee(web_ref))
```

## Running tests

```bash
uv run python -m unittest
```