semvec/pypi-packages huggingface dataset:
minja 1.2.0
A Mini Jinja Template Engine
Requires Python: >=3.9

# minja
A Mini Jinja Template Engine

I am creating this package because I need something like Jinja, but in
a much smaller footprint.

# Install

    pip install minja

# Usage

## A Simple Usage

```python
from minja import Template

template = Template("{{ flowers }} are {{ color }}")
print(template.render(flowers="Roses", color="red"))
# Roses are red
```

## What Is a Template?

A template is a string embedded variables. For example, the template in
previous example has two variables, `flowers` and `color`.

Note that the spaces surrounding the variables are insignificant: they
are there to improve readability. That means the following will render
to the same text:

```python
t1 = Template(">{{name}}<")
t2 = Template(">{{ name }}<")
t3 = Template(">{{     name     }}<")

print(t1.render(name="Anna"))  # '>Anna<'
print(t2.render(name="Anna"))  # '>Anna<'
print(t3.render(name="Anna"))  # '>Anna<'
```

## How Can I Get the Names of the Variables?

A template maintains a property called `.names` which keep track of the
names of the variables.

```python
template = Template("{{ flowers }} are {{ color }}")
print(template.names)  # {'flowers', 'color'}
```
cfde-c2m2 0.4.0
Utilities for preparing C2M2 tables
Requires Python: >=3.9

# CFDE C2M2 Utilities

A collection of utilities for simplifying the C2M2 submission process. If you prepare your submission with these utilities, you do not need to run the prepare_C2M2_submission.py script or download the CV reference files manually.

**Init:** Initializes a fresh C2M2 submission in the current working directory, creating blank versions of all tables defined in the current C2M2 datapackage schema (C2M2_datapackage.json). 

**Prepare:** Resolves ontology identifiers and populates the Common Vocabulary (CV) tables.

**Validate:** Checks validity of C2M2 submission and highlights tables for which corrections, if any, are needed. 

**Package:** Collects metadata tables in a zip file to be submitted to the DRC portal.

**Submit:** Submits C2M2 datapackage to DRC portal (coming soon)

```bash
pipx install cfde-c2m2
# OR
uv tool install cfde-c2m2

# create an empty c2m2 submission OR update your existing submission directory
cfde-c2m2 init

# fill in your tables however you like

# finish preparing your package by resolving iris
cfde-c2m2 prepare

# verify integrity of your package
cfde-c2m2 validate

# zip the necessary files for a bare minimum package
cfde-c2m2 package

# Coming Soon: submit to DRC portal
cfde-c2m2 submit
```
zalfmas-fbp 0.2.29
lib and tooling for Cap'n Proto-based FBP flows
Requires Python: <3.14,>=3.12

# Docker image

The Docker image is able to execute the runnable components of this repository.
For example, the channel_starter_service.

Run with

```bash
docker run -it zalfrpm/mas_python_fbp python -m zalfmas_fbp.run.channel_starter_service
```

Expose port 9989 and mount a local config to ./configs/channel_starter_service.toml:

```bash
docker run -it \
  -p 9989:9989 \
  -v "$(pwd)/configs/channel_starter_service.toml:/app/configs/channel_starter_service.toml:ro" \
  zalfrpm/mas_python_fbp \
  python -m zalfmas_fbp.run.channel_starter_service
```

Or the local components service 

```bash
docker run -it zalfrpm/mas_python_fbp python -m zalfmas_fbp.run.local_components_service
```