semvec/pypi-packages huggingface dataset:
cli-helpers 2.10.1
Helpers for building command-line apps
Requires Python: >=3.6

===========
CLI Helpers
===========

.. image:: https://ci.appveyor.com/api/projects/status/37a1ri2nbcp237tr/branch/main?svg=true
    :target: https://ci.appveyor.com/project/dbcli/cli-helpers

.. image:: https://codecov.io/gh/dbcli/cli_helpers/branch/main/graph/badge.svg
  :target: https://codecov.io/gh/dbcli/cli_helpers

.. image:: https://img.shields.io/pypi/v/cli_helpers.svg?style=flat
    :target: https://pypi.python.org/pypi/cli_helpers

.. start-body

CLI Helpers is a Python package that makes it easy to perform common tasks when
building command-line apps. It's a helper library for command-line interfaces.

Libraries like `Click <http://click.pocoo.org/5/>`_ and
`Python Prompt Toolkit <https://python-prompt-toolkit.readthedocs.io/en/latest/>`_
are amazing tools that help you create quality apps. CLI Helpers complements
these libraries by wrapping up common tasks in simple interfaces.

CLI Helpers is not focused on your app's design pattern or framework -- you can
use it on its own or in combination with other libraries. It's lightweight and
easy to extend.

What's included in CLI Helpers?

- Prettyprinting of tabular data with custom pre-processing
- Config file reading/writing

.. end-body

Read the documentation at http://cli-helpers.rtfd.io
axsdb 0.1.2
An absorption database reader for the Eradiate radiative transfer model.
Requires Python: >=3.9
Keywords: absorption, atmosphere, eradiate, radiative-transfer, spectroscopy

# AxsDB — The Eradiate Absorption Cross-section Database Interface

[![PyPI version](https://img.shields.io/pypi/v/axsdb?color=blue)](https://pypi.org/project/axsdb)
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/eradiate/axsdb/ci.yml?branch=main)](https://github.com/eradiate/axsdb/actions/workflows/ci.yml)
[![Documentation Status](https://img.shields.io/readthedocs/axsdb)](https://axsdb.readthedocs.io)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

This library provides an interface to read and query the absorption databases
of the [Eradiate radiative transfer model](https://eradiate.eu).

## Features

- **Monochromatic and CKD databases**: Read and evaluate absorption coefficients
  for both monochromatic and correlated-k distribution spectral representations.
- **Fast interpolation**: Numba-accelerated multi-dimensional interpolation of
  thermophysical profiles (pressure, temperature, mole fractions).
- **Configurable error handling**: Fine-grained, per-coordinate control over
  out-of-bounds behaviour (clamp, fill, raise, warn).
- **Efficient I/O**: Lazy or eager loading of NetCDF data files, with LRU
  caching for repeated lookups.
- **xarray and Pint integration**: Works natively with xarray datasets and
  Pint quantities.
- **CLI**: Validate database integrity from the command line with `axsdb check`.

## Installation

Python 3.9 or later is required.

```shell
pip install axsdb
```

## Quick start

```python
import xarray as xr
from axsdb import MonoAbsorptionDatabase
from axsdb.units import get_unit_registry

ureg = get_unit_registry()

# Open a database directory
db = MonoAbsorptionDatabase.from_directory("path/to/database")

# Load a thermophysical profile
thermoprops = xr.load_dataset("path/to/thermoprops.nc")

# Evaluate the absorption coefficient at a given wavelength
sigma_a = db.eval_sigma_a_mono(
    w=550.0 * ureg.nm,
    thermoprops=thermoprops,
)
```

For CKD databases, use `CKDAbsorptionDatabase` and `eval_sigma_a_ckd` (which
takes an additional `g` parameter for the quadrature point).

## CLI

AxsDB ships a command-line tool to validate databases:

```shell
# Check a monochromatic database
axsdb check path/to/database -m mono

# Check and fix missing index files
axsdb check path/to/database -m ckd --fix
```

## Documentation

Full documentation is available at
[axsdb.readthedocs.io](https://axsdb.readthedocs.io).

## License

AxsDB is distributed under the terms of the
[GNU Lesser General Public License v3.0](https://choosealicense.com/licenses/lgpl-3.0/).
teamvault 0.11.7
Keep your passwords behind the firewall
Requires Python: >=3.12
Keywords: password, safe, manager, sharing

# TeamVault

TeamVault is an open-source web-based shared password manager for behind-the-firewall installation. It requires Python 3.10+ and PostgreSQL (with the unaccent extension).

## Installation

	apt-get install libffi-dev libldap2-dev libpq-dev libsasl2-dev python3.X-dev postgresql-contrib
	pip install teamvault
	teamvault setup
	vim /etc/teamvault.conf
	# note that the teamvault database user will need SUPERUSER privileges
	# during this step in order to activate the unaccent extension
	teamvault upgrade
	teamvault plumbing createsuperuser
	teamvault run

## Update

	pip install --upgrade teamvault
	teamvault upgrade

## Development
### Start a PostgreSQL database
Create a database and superuser for TeamVault to use, for example by starting a Docker container:

	docker run --rm --detach --publish=5432:5432 --name teamvault-postgres -e POSTGRES_USER=teamvault -e POSTGRES_PASSWORD=teamvault postgres:latest


### Run Webpack to serve static files
To compile all JS & SCSS files, you'll need to install all required packages via bun (or yarn/npm) with node >= v18.

Use ```bun/yarn/npm run serve``` to start a dev server.

**Note**:
Some MacOS users have reported errors when running the dev server via bun. In this case feel free to switch to NPM.


### Configure your Virtualenv via uv
	uv sync

### Setup TeamVault
	export TEAMVAULT_CONFIG_FILE=teamvault.cfg
	teamvault setup
	vim teamvault.cfg  # base_url = http://localhost:8000
	                   # session_cookie_secure = False
	                   # database config as needed
	teamvault upgrade
	teamvault plumbing createsuperuser

### Start the development server
	teamvault run

Now open http://localhost:8000

## Scheduled background jobs

We use [huey](https://huey.readthedocs.io/en/latest/) to run background jobs. This requires you to run a second process, in parallel to TeamVault itself. You can launch it via `manage.py`:

    teamvault run_huey

## Release process
1. Bump the version in ```teamvault/__version__.py``` and ```pyproject.toml```
2. Update CHANGELOG.md with the new version and current date
3. Make a release commit with the changes made above
4. Push the commit
5. Run ```./build.sh``` to create a new package
6. Sign and push the artifacts to PyPI via ```uv publish```
7. Test that the package can be installed: ```uv run --isolated --no-cache --prerelease allow --with teamvault --no-project -- teamvault --version```
8. Add a new GitHub release