semvec/pypi-packages huggingface dataset:
stimela 2.1.4rc4
Framework for system agnostic pipelines for (not just) radio interferometry
Requires Python: <3.14,>=3.9


===========
stimela 2.x
===========


|Pypi Version|
|Python Versions|

A workflow management framework for radio interferometry data processing pipelines.

`Documentation page <https://stimela.readthedocs.io/>`_

`Reference paper <https://doi.org/10.1016/j.ascom.2025.100959>`_


Installation - User
-------------------

Stimela can be installed using ``pip``. Simply run ``pip install stimela``.

Installation - Developer
------------------------

``uv`` - ``uv`` managed environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

After cloning the repo, install with ``uv sync --group dev``. Then run ``uv run pre-commit install`` to set up the pre-commit hooks. By default, you should end up with a correctly configured environment in ``.venv``. ``ruff`` can be invoked manually with ``uv run ruff check`` and ``uv run ruff format``. Note that this install will not be in editable mode but that can be accomplished by running ``uv pip install -e . --group dev``.

``uv`` - ``uv pip`` managed environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

After cloning the repo, create a virtual environment with ``uv venv -p {python_version} path/to/env``. Activate the environment and install with ``uv pip install -e . --group dev``. Then run ``pre-commit install`` inside the environment to set up the pre-commit hooks. ``ruff`` can be invoked manually with ``ruff check`` and ``uv run ruff format``.

``pip`` managed environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~

After cloning the repo, create a virtual environment with ``virtualenv -p {python_version} path/to/env``. Activate the environment and install with ``pip install -e . --group dev``. Then run ``pre-commit install`` inside the environment to set up the pre-commit hooks. ``ruff`` can be invoked manually with ``ruff check`` and ``uv run ruff format``.

.. |Pypi Version| image:: https://img.shields.io/pypi/v/stimela.svg
                  :target: https://pypi.python.org/pypi/stimela
                  :alt:


.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/stimela.svg
                     :target: https://pypi.python.org/pypi/stimela
                     :alt:
icalstatus 0.1.0
icalstatus
Requires Python: >=3.12

# ICAL Status - Status bar for ICS Calenders

# Changelog

## 0.0.6
- Require python 3.11+ and upgrade dependencies

# Installation

```bash
pip install icalstatus
```

# Status

To run, one of:

- `icalstatus`
- `icalwaybar`
- `icalexecutor`

## Configuration

For the status you must specify you calendar URL either on the commandline or in the
configuration file `~/.config/icalstatus/config`:

E.g, for OWA:

```
[DEFAULT]
calendar-url=https://(HOST)/owa/calendar/(...)/calendar.ics
```

All options can be specified in the same configuration file and
the other available options are:

```
usage: ICAL Status [-h] [--calendar-url CALENDAR_URL] [--timezone TIMEZONE] [--no-verify] [--proxy PROXY] [--all] [--humanize-after HUMANIZE_AFTER]
                   [--alert-sec-before ALERT_SEC_BEFORE]

options:
  -h, --help            show this help message and exit
  --calendar-url CALENDAR_URL
                        URI for ICS Calendar
  --timezone TIMEZONE   Timezone (default=CET)
  --no-verify           Ignore SSL verification errors
  --proxy PROXY         Proxy for ICS url
  --all                 Include events that are not today
  --humanize-after-sec HUMANIZE_AFTER
                        Humanize meeting date if less than this many seconds
                        until meeting
  --alert-sec-before ALERT_SEC_BEFORE
                        Alert meeting at specified seconds before start.
                        This will switch class for output on waybar.
```

Options:

### `all`

By default, only todays events will be shown (and output will be empty if
no more event the same day). Specify `--all` to show all events.

### `humanize-after-sec`

Meeting time will be show in "human format" if it less than this
many seconds until the meeting. E.g. if the time is 11:30 and you
have specified `--humanize-after-sec 3600` the output will be

```
<Meeting> in 30 minutes
```

If you at 11:30 specified `--humanize-after` it will show

```
<Meeting> @12:00
```

### `alert-sec-before`

This option is only relevant for `icalwaybar`. If is is less than this
many seconds to the meeting, it will use `class: alert`, otherwize
`class: normal`. Examples (when running the command at 11:50):

```
icalwaybar --alert-sec-before 900
{"text": "<Meeting> in 10 minutes", "class": "alert"}
```

```
icalwaybar --alert-sec-before 300
{"text": "<Meeting> in 10 minutes", "class": "normal"}
```

### Output specific formatting

#### `icalexecutor`

If the meeting is within `--alert-sec-before`, `<executor.css.red>` will be added to the output.

This means that you can specify the CSS class `red` according to [https://raujonas.github.io/executor/docs/configuration/custom-css/](https://raujonas.github.io/executor/docs/configuration/custom-css/):

```
.red {
    color: red;
}
```

.e.g in `~/.config/executor@raujonas.github.io/custom.css`.

# Parse

A tool to parse ics files and output summary to stdout is included:

- `icalparse`

# Credits

Original code/idea from Geir Skjøtskift (https://github.com/geirskjo).
cmsdism 0.6.1
Command line interface to manage InferenceServices in KServe managed by DIALS.
Requires Python: >=3.9

# dismcli

DIALS InfenceService Manager or simply `dism` is a program to deploy/remove InferenceServices in KServe managed by DIALS.

## Local development

Install the dependencies and the package using `uv`:

```bash
uv sync --all-groups
uv pip install -e .
uv run pre-commit install
```

## Tests

Run tests with `pytest`:

```shell
uv run pytest tests/ --cov=dismcli --cov-report=xml --cov-report=term
```

### Tox

You may also want to run the tests with `tox` to test against multiple python versions:

```shell
uv run tox
```

**[asdf](https://asdf-vm.com/) users**

tox requires multiple versions of Python to be installed. Using `asdf`, you have multiple versions installed, but they aren’t normally exposed to the current shell. You can use the following command to expose multiple versions of Python in the current directory:

```bash
asdf set python 3.12.9 3.11.10 3.10.13
```

This will use `3.12.9` by default (if you just run `python`), but it will also put `python3.11` and `python3.10` symlinks in your PATH so you can run those too (which is exactly what tox is looking for).


## GitLab CI Setup for `dism-cli`

This document describes the steps taken to configure GitLab CI for the `dism-cli` repository so it can access the private repository `dism-core` via SSH during pipeline execution.

### Purpose

The `dism-cli` project depends on the `dism-core` repository using a Git+SSH link specified in `pyproject.toml`:

```toml
[tool.uv.sources]
dism-core = { git = "ssh://git@gitlab.cern.ch:7999/cms-dqmdc/libraries/dism-core.git", rev = "v1.0.0" }
```

To allow GitLab CI in `dism-cli` to clone `dism-core`, we need to set up SSH access.

---

### Steps

#### 1. Generate SSH Key Pair

Generate a new SSH key pair (without a passphrase) for CI access:

```bash
ssh-keygen -t ed25519 -f ci_key -N "" -C "dism-cli-ci-access"
```

- This creates:
  - `ci_key` (private key)
  - `ci_key.pub` (public key)

---

#### 2. Add Deploy Key to `dism-core`

- Go to the `dism-core` project on GitLab.
- Navigate to: **Settings > Repository > Deploy Keys**
- Add a new key:
  - **Title:** `dism-cli-ci-access`
  - **Key:** paste the contents of `ci_key.pub`

---

#### 3. Add CI/CD Variable to `dism-cli`

To securely provide the private key to GitLab CI:

1. Convert the private key to a base64 string:

   ```bash
   base64 -w0 ci_key > ci_key.b64
   ```

2. Copy the content of `ci_key.b64`.

3. Go to the `dism-cli` project on GitLab.

4. Navigate to: **Settings > CI/CD > Variables**

5. Add a new variable:
   - **Key:** `CI_SSH_PRIVATE_KEY_B64`
   - **Value:** paste the content from `ci_key.b64`
   - **Type:** Variable
   - **Masked and Hidden:** ✅

---

With this setup, the GitLab CI runner in `dism-cli` can authenticate with `dism-core` via SSH, allowing it to fetch dependencies during the test stage.
collepedia 1.1.0
A dedicated client to fetch and manage posts from Collepedia.
Requires Python: >=3.8

# Collepedia

A dedicated client to fetch and manage posts from Collepedia.

This library provides a clean, robust, and easy-to-use interface to retrieve, filter, and manage post data.

## Features

-   **Dedicated Client**: Hardcoded for the Collepedia feed for simplicity and reliability.
-   **Advanced Fetching**: Fetch posts with pagination and server-side category filtering.
-   **Powerful Filtering**: Perform complex queries on cached data by author, category, or date range.
-   **Robust Error Handling**: Custom exceptions for network and parsing errors.
-   **Cache Persistence**: Save fetched data to a JSON file and load it back later.

## What's New
-   **No Date**: This was an error with the first version of the Library
-   **Posts Fetch Error**: An error originated in version 1.0.1 of this library where all articles wasn't fetched

## Projects
-   **[ColleSearch](https://collesearch.vercel.app/)**: A Search Engine for Collepedia contents that searches across all the website programmically through python with this library.

## More Informations

If you need the full documentation and all examples, uses and more about the library please head up to [Collepedia Python Package](https://colle-pedia.blogspot.com/?fwd=collepediapy) page.

## Installation

```bash
pip install collepedia
```