semvec/pypi-packages huggingface dataset:
ogplc 0.0.1
High-Level Database Client for OpenGov Permitting & Licensing
Keywords: data, python

# ogplc
High-Level Database Client for OpenGov Permitting & Licensing

## install
```sh
pip install ogplc
```

## cli usage
```sh
# dump to a datasets folder
ogplc dump --username="myusername" --password="mypassword" --server="myserver" --database="mydatabase" --output="$PWD/datasets"
```

## python usage
```py
import ogplc

ogplc.dump(
    server = "server_host",
    database = "database_name",
    username = "username",
    password = "password",

    # folder where to save output files
    output = "/home/users/documents/datasets",

    # optional parameters below
    driver = "SQL Server",

    # only include these record types in results
    record_types = ["Skyscraper Permit"],

    # exclude these record types from results
    skip_record_types = ["Orchard Permit"],

    # maximum number of rows in output dataset for each record type
    max_rows = 1000,

    # number of seconds to wait between database queries
    wait = 0,

    # remove new line from databse results
    # this can help improve readibility
    remove_new_lines = True,

    # delimiter to pass to csv writer
    delimiter = ",",

    # logging level
    debug_level = 1
)
```
hericendre 0.1.0
A radioactive decay and fuel depletion code
Requires Python: >=3.11

# Welcome to Héricendre

## Installation

Héricendre uses [vcpkg](https://vcpkg.io/en/) for dependency management.
Simply install vcpkg and identify the path to the `vcpkg.cmake` file.
It should be located in `$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake`.

To only build the `hericendre` binary, go to the Héricendre root directory and do:

```console
$ cmake -Bbuild/ -DCMAKE_TOOLCHAIN_FILE=/path/to/vcpkg.cmake .
$ cd build
$ make
```

To build the `hericendre` python package:

```console
$ uv build -Ccmake.define.CMAKE_TOOLCHAIN_FILE=/path/to/vcpkg.cmake
```

## Use

The compute the decay of a single nuclide over 10 years:

```toml
name = "Example"

[Settings]
chain = "data/chain_casl_sfr.xml"
results = "results/results_cram.h5"
solver = "CRAM48"

[Material]
concentrations = { Pu239 = 1 }

[Time]
unit = "y"
timestamps = [0, "linspace 1 10 9", 10]
```

To compute the decay of a material containing 1 single unit of every nuclide in the chain:

```toml
name = "Example"

[Settings]
chain = "data/chain_casl_sfr.xml"
results = "results/results_cram.h5"
solver = "CRAM48"

[Material]
uniform = 1.0

[Time]
unit = "y"
timestamps = [0, "linspace 1 10 9", 10]
```