semvec/pypi-packages huggingface dataset:
skirk 0.1.1
A lightweight configuration management library that supports loading configurations from multiple sources with type conversion and validation.
Requires Python: >=3.10

# Skirk

A lightweight configuration management library that supports loading configurations from multiple sources with type conversion and validation.

## Features

- **Multi-source Configuration Loading**: Load configurations from files, command-line arguments, and other sources
- **Type Safety**: Provide type conversion and validation to ensure configuration values match expected types
- **Flexible Extension**: Customize configuration sources, parsers, and type factories
- **Dataclass Integration**: Based on Python dataclasses for simple and intuitive usage
- **Multiple Format Support**: Built-in YAML and JSON parsers

## Installation

Install with pip:

```bash
pip install skirk
```

Or install with uv:

```bash
uv add skirk
```

## Quick Start

```python
from dataclasses import dataclass
from pathlib import Path
from skirk import BaseConfig, FileSource

@dataclass
class AppConfig(BaseConfig):
    host: str
    port: int
    debug: bool = False

# Load configuration from file
config = AppConfig.from_file("config.yaml")

print(config.host)
print(config.port)
print(config.debug)
```

## Custom Config Parser

```python
from skirk import config_parser, BaseConfigParser

@config_parser(suffix="custom")
class CustomParser(BaseConfigParser):
    @classmethod
    def parse(cls, f):
        ...

    @classmethod
    def dump(cls, f):
        # support for dump config to custom format config file
        ...
```

## Custom Type Support

```python
from skirk import type_factory
from datetime import datetime

@type_factory
def datetime_factory(value: str) -> datetime:
    return datetime.fromisoformat(value)

class DateConfig(BaseConfig):
    launch_date: datetime
```



## Contact

For any questions or suggestions, please contact [kujou-kazuya@outlook.com](mailto:kujou-kazuya@outlook.com)

© 2025 Kujou Kazuya
jk_cmdoutputparsinghelper 0.2025.8.24
Assists in parsing output of *nix system commands such as df, systemctrl and others.
Requires Python: >=3.8

jk_cmdoutputparsinghelper
==========

Introduction
------------

This python module ...

Information about this module can be found here:

* [github.org](https://github.com/jkpubsrc/....)
* [pypi.python.org](https://pypi.python.org/pypi/jk_cmdoutputparsinghelper)

Why this module?
----------------

...

Limitations of this module
--------------------------

...

How to use this module
----------------------

### Import this module

Please include this module into your application using the following code:

```python
import jk_cmdoutputparsinghelper
```

...

Contact Information
-------------------

This work is Open Source. This enables you to use this work for free.

Please have in mind this also enables you to contribute. We, the subspecies of software developers, can create great things. But the more collaborate, the more fantastic these things can become. Therefore Feel free to contact the author(s) listed below, either for giving feedback, providing comments, hints, indicate possible collaborations, ideas, improvements. Or maybe for "only" reporting some bugs:

* Jürgen Knauth: jknauth@uni-goettingen.de, pubsrc@binary-overflow.de

License
-------

This software is provided under the following license:

* Apache Software License 2.0