semvec/pypi-packages huggingface dataset:
pyiem 1.26.0
Collection of things that may help with processing weather data.
Keywords: meteorology

pyIEM
=====

A collection of python code that support various other python projects I have
and the [Iowa Environmental Mesonet](https://mesonet.agron.iastate.edu). A goal here is to upstream anything useful into [Unidata's MetPy](https://github.com/Unidata/MetPy) and also remove any redundant code.

[![CodeCov](https://codecov.io/gh/akrherz/pyIEM/branch/main/graph/badge.svg)](https://codecov.io/gh/akrherz/pyIEM)
[![Documentation](https://img.shields.io/badge/docs-gh--pages-blue)](https://akrherz.github.io/pyIEM/)

Current release info
--------------------

| Name | Downloads | Version | Platforms |
| --- | --- | --- | --- |
| [![Conda Recipe](https://img.shields.io/badge/recipe-pyiem-green.svg)](https://anaconda.org/conda-forge/pyiem) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/pyiem.svg)](https://anaconda.org/conda-forge/pyiem) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/pyiem.svg)](https://anaconda.org/conda-forge/pyiem) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/pyiem.svg)](https://anaconda.org/conda-forge/pyiem) |

Dependencies
------------

Python 3.10+ is required. Python releases 3.10 through 3.13 are actively tested
and supported within this repository.

The codebase currently makes direct database calls with hardcoded assumptions
of the hostname `iemdb.local` and database names.  Someday, I'll use a proper ORM
and software design techniques to make this more extensible for others!

Installation
------------

Since this library depends on `Cartopy`, you likely do **not** want to let `pip`
install `Cartopy`.  So the installation options are either:

1. Install `Cartopy` via some other mechanism than `pip`.
2. Install `pyiem` via pip.

Or:

1. Install `pyiem` via `conda` using the `conda-forge` channel.

How to use NWS product ingestors
--------------------------------

This library provides a number of parsers for various NWS products. The implementation of these parsers can be found with my [pyWWA project](https://github.com/akrherz/pyWWA).  The main limitation is that the `pyWWA` parsers use [Twisted Python](https://twistedmatrix.com) and thus have a somewhat steep learning curve.  The `pyIEM` parsers do not require the usage of Twisted though, so how does one use them?

The general entry point for a text product is the `parser` method of `pyiem.nws.products`. So given a NWS text file, the code would look like.

```python
from pyiem.nws.products import parser
text = open('MYFILE.txt').read()
prod = parser(text)
print(prod.get_product_id())
```

The actual methods and attributes on the `prod` object above will vary depending on the type of product involved.
auto-selfcal 2.0
Automated self-calibration of interferometric data
Requires Python: >=3.8

![build and test](https://github.com/psheehan/auto_selfcal/actions/workflows/run_E2E_test.yml/badge.svg)
[![codecov](https://codecov.io/github/psheehan/auto_selfcal/graph/badge.svg?token=6PLBR79LWF)](https://codecov.io/github/psheehan/auto_selfcal)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17603062.svg)](https://doi.org/10.5281/zenodo.17603062)


auto_selfcal: Self-calibration, without the hassle!
===================================================

auto_selfcal does automatic self-calibration of ALMA and VLA with (almost) no effort from you. It can handle most forms of data, including single pointing and ALMA mosaics (VLA mosaics coming soon), ephemeris data, spectral scans, and more. See below to give it a try, or check out our more extensive documentation at https://auto-selfcal.readthedocs.io.

Quickstart
----------

To use auto_selfcal with an existing monolithic CASA distribution:

```bash
git clone https://github.com/jjtobin/auto_selfcal.git

cd </path/to/pipeline/calibrated/*_targets.ms/files>

casa -c </path/to/auto_selfcal>/bin/auto_selfcal.py
```

Or to install into an existing Python environment (note that a Python version for which CASA is [available](https://casadocs.readthedocs.io/en/v6.7.0/notebooks/introduction.html#Compatibility) is required) and run from a directory where pipeline-calibrated *_targets.ms files exist:

```bash
pip install auto_selfcal

cd </path/to/pipeline/calibrated/*_targets.ms/files>

auto_selfcal
```

Acknowledging auto_selfcal
--------------------------

Love auto_selfcal and want to cite it? Please use:

```tex
@software{auto_selfcal,
  author       = {John J. Tobin and Patrick D. Sheehan and Rui Xue and Austen Fourkas},
  title        = {jjtobin/auto\_selfcal: v1.3.1},
  month        = nov,
  year         = 2025,
  publisher    = {Zenodo},
  version      = {v1.3.1},
  doi          = {10.5281/zenodo.17603063},
  url          = {https://doi.org/10.5281/zenodo.17603063},
}
```

Acknowledgements:
-----------------

Certain functions to convert from LSRK to channel, S/N estimates, and tclean wrapper have their origins from the ALMA DSHARP large program reduction scripts.

The functions to parse the cont.dat file and convert to channel ranges (used the routine from above) was adapted from a function written by Patrick Sheehan for the ALMA eDisk large program
hattrick_libs 0.19.6
A library for hattrick.org data
Requires Python: >=3.10

# hattrick_libs

This is a python3 client library for the API of the infamous online-strategy-game hattrick (https://www.hattrick.org).

As this was just intended to be a learning-project and to be the ground-work for another hattrick-project of mine initially,
https://hattrick-fun-with-flags.app, hattick_libs doesn't aim to be complete nor useful to any other purpose than it was originally built for.

If you are looking for a complete python library for hattrick.org consider also pyCHPP by Pierre Gobin. His project was there before mine and 
looks quite sophisticated to me. It's implemented in an object-oriented style and thus well readable and clean. Compared to pyCHPP, hattrick_libs is a 
very basic implementation of the hattrick-API. But consider also this: If you are a learner like myself, hattrick_libs will be a perfect opportunity
to get your hands dirty on some cool python stuff without having to learn oop first. Or you decide to implement your own flavor of a hattick library 
in python and let yourself inspire by both this projects. There is room for all of us. Whatever your decision is: make sure to connect. Refer to the
"Contact" section of this document if you can help improve hattrick_libs, have suggestions, if you want to adopt it to your needs or if you just feel 
like having a chat with another nerdy hattrick manager.

Have fun!:)

## Project state
For now the projects state is work in progress. It originally was just my 2023 christmas project after all!;) I'm actively maintaining it though.
(information as of 2024-10-15)

## Project link
https://github.com/joschobart/hattrick_libs

## Installation
```bash
pip install hattrick-libs 
```

## Usage
In your code directly reference the module you need:
```python
from ht_libs import do_hattrick_request
```
You find a sample-implementation of hattrick_libs in the [\_\_main\_\_.py](__main__.py) file.

## License
This package is licensed under the Apache License 2.0.

## Contact
joschobart on hattrick.org for a chat about bugs, hattrick, (monty) python or discworld.
treqsext-gitlab 0.1.0
GitLab issue resolver extension for TReqs
Requires Python: >=3.8

# TReqs GitLab Extension

Resolves external elements from public GitLab issues.

## Installation

Included with treqs-ng:

```bash
pip install treqs-ng
```

## Usage

Reference GitLab issues in treqs links:

```xml
<treqs-element id="my-requirement" type="requirement">
My requirement text

<treqs-link type="relatesTo" target="gl:mygroup/myproject#96"/>
</treqs-element>
```

**Format**: `gl:project#IID` or `gl:#IID`

Examples:

- `gl:treqs-on-git/treqs-ng#96` - Issue #96 in specific project
- `gl:#96` - Issue #96 in default project (requires `GITLAB_PROJECT` env var)

## Configuration

```bash
# GitLab instance URL (default: https://gitlab.com)
export GITLAB_URL="https://gitlab.example.com"

# Default project for short references like gl:#96
export GITLAB_PROJECT="mygroup/myproject"
```

## Limitations

- Only works with public projects (no authentication support)
- GitLab API rate limit: 10 requests/minute for unauthenticated requests

## License

MIT