semvec/pypi-packages huggingface dataset:
copernicus-downloader 1.2.2
An incremental downloader for Copernicus CDS / ADS datasets
Requires Python: >=3.11

# Copernicus Downloader

A flexible **incremental downloader** for [Copernicus CDS / ADS datasets](https://cds.climate.copernicus.eu/), designed for reproducible and automated pipelines.  
Supports **yearly, monthly, daily** granularities with incremental catch-up, local or S3 storage, and `.env` + YAML configuration.

Repository: [celine-eu/copernicus-downloader](https://github.com/celine-eu/copernicus-downloader)  
License: [Apache-2.0](./LICENSE)

---

## Features

- Incremental **yearly / monthly / daily** downloads
- Automatic skipping of already-requested files
- **min_date** clamp to avoid overlap between monthly backfill and daily updates
- Local FS or S3 (Minio) storage abstraction
- Configurable with `.env` + YAML
- Logging with `LOG_LEVEL`
- [uv](https://github.com/astral-sh/uv) for fast Python environment management

---

## Setup

### 1. Clone the repo

```bash
git clone https://github.com/celine-eu/copernicus-downloader.git
cd copernicus-downloader
```

### 2. Install dependencies (via uv)

```bash
uv sync
```

This will create and manage a virtual environment automatically.

## Environment variables

Create a .env file in the repo root:

```yaml
# Copernicus CDS API credentials (find them in your CDS profile)
CDS_API_KEY="abcdefg-your-key"
CDSAPI_URL="https://cds.climate.copernicus.eu/api"

# Optional: Atmosphere ADS API credentials
ADS_API_KEY="hijklmn-your-key"
ADSAPI_URL="https://ads.atmosphere.copernicus.eu/api"

# Optional: storage backend
AWS_ACCESS_KEY_ID="minio"
AWS_SECRET_ACCESS_KEY="minio123"
AWS_DEFAULT_REGION="us-east-1"
# AWS_ENDPOINT_URL=http://localhost:19000
# AWS_BUCKET=local-data

# Logging
LOG_LEVEL=INFO

# Optional: temporary dir for downloads
CDS_TMPDIR=/var/tmp/cds
# Optional: data storage path
DATA_DIR=./data
```

## Configuration

By default, the downloader loads `cds_config.yaml` (or path from `CDS_CONFIG`).
Supports `${VAR}` placeholders, expanded from .env.

Example config

```bash
cat > cds_config.yaml <<'YAML'
years: [2020, 2021, 2022, 2023, 2024]

storage:
  type: fs
  base_dir: ./data

# Example for Minio
# storage:
#   type: s3
#   bucket: my-bucket
#   endpoint_url: http://localhost:9000

datasets:
  era5:
    name: reanalysis-era5-single-levels
    url: ${CDSAPI_URL}
    key: ${CDS_API_KEY}
    granularity: daily
    min_date: 2025-08-01   # daily starts after monthly backfill
    request:
      product_type: ["reanalysis"]
      variable: ["2m_temperature", "total_precipitation"]
      time: ["00:00","06:00","12:00","18:00"]
      data_format: grib
      download_format: unarchived
      area: [45.96, 11.11, 45.84, 11.36]
```


## Running
Download all datasets

`uv run python -m copernicus_downloader.main`

Download only one dataset (e.g., era5)

`uv run python -m copernicus_downloader.main era5`

## Contributing

Issues and PRs are welcome! Please open an issue or submit a pull request.

## License

This project is licensed under the [Apache-2.0 License](./LICENSE).
oco 0.0.2
oco: preview audio files on your remote computer using http server with directory listing

# oco

Preview your local media files using `oco`. This is a replacement for autoindexing your current directory using `python3 -m http.server`.

```
pip3 install oco
cd LibriSpeech # pick your favorite dataset
python3 -m oco
```

Continue to http://localhost:8000

<img width="614" alt="image" src="https://user-images.githubusercontent.com/66214/182046442-8474de6f-a0e1-4f18-a164-d1648867074b.png">
fuck-cli 3.55
AI-first command fixer for shell/terminal CLI with streamed explanations and Markdown rendering
Requires Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7
Keywords: ai, autocorrect, bash, cli, command line, fish, productivity, shell, terminal, zsh

# fuck

AI-first command fixer for your shell/terminal CLI (bash, zsh, fish) with streamed explanations and Markdown rendering.

<img width="898" height="323" alt="AI shell command fixer screenshot" src="https://github.com/user-attachments/assets/5b90cb3a-364c-4a72-ace2-4af872b6cbf2" />

## English

Install:

```bash
uv tool install fuck-cli
# or
pip install fuck-cli
```

Setup (recommended):

```bash
fuck setup
# or
uvx fuck --setup
```

Usage:

```bash
# after a failed command
fuck
```

AI config: run `fuck setup` or set env vars like `FUCK_AI_URL`,
`FUCK_AI_TOKEN`, `FUCK_AI_MODEL`, `FUCK_AI_STREAM`, `FUCK_AI_MODE`.

Disclaimer: always review the suggested command before executing it.

## 中文

安装：

```bash
uv tool install fuck-cli
# 或
pip install fuck-cli
```

初始化（推荐）：

```bash
fuck setup
# 或
uvx fuck --setup
```

使用：

```bash
# 命令失败后
fuck
```

AI 配置：运行 `fuck setup`，或设置环境变量如 `FUCK_AI_URL`、
`FUCK_AI_TOKEN`、`FUCK_AI_MODEL`、`FUCK_AI_STREAM`、`FUCK_AI_MODE`。

免责声明：请在执行前确认修复命令的安全性与正确性。

## 日本語

インストール：

```bash
uv tool install fuck-cli
# または
pip install fuck-cli
```

セットアップ（推奨）：

```bash
fuck setup
# または
uvx fuck --setup
```

使い方：

```bash
# 失敗したコマンドの後に
fuck
```

AI 設定：`fuck setup` を使うか、`FUCK_AI_URL`、`FUCK_AI_TOKEN`、
`FUCK_AI_MODEL`、`FUCK_AI_STREAM`、`FUCK_AI_MODE` などの環境変数を設定します。

免責事項：実行前に提案コマンドを必ず確認してください。
jaq-bin 3.0.0b0
A jq clone focused on correctness, speed, and simplicity
Requires Python: >=3.7
Keywords: cbor, jaq, jq, json, toml, xml, yaml

# jaq-bin

https://github.com/01mf02/jaq

jaq (pronounced /ʒaːk/, like _Jacques_) is a clone of
the JSON data processing tool [`jq`](https://jqlang.github.io/jq/).
It has a few features not present in `jq`, such as
support for the data formats YAML, CBOR, TOML, and XML.
jaq has an own [manual](https://gedenkt.at/jaq/manual/).
You can try jaq on the [playground](https://gedenkt.at/jaq/).

This pypi package provides precompiled binaries of `jaq` for various platforms.

## install

```sh
pip install jaq-bin
```