semvec/pypi-packages huggingface dataset:
GrIS-vel 0.1.2
A Python package to identify and characterize transient acceleration events at North Lake in Southwest Greenland.
Requires Python: >=3.9

**GrIS_vel: Glacier Velocity Analysis Tool**  
\
GrIS_vel is a Python-based toolkit for analyzing glacier velocity data. It includes functionality to calculate moving averages, perform station-specific analysis, and generate plots.


## Package overview
Python package to identify and characterize transient acceleration events at North Lake in Southwest Greenland. This package is structured as follows:

- **`Data/`** Data from stations around North Lake. This is also where results of data analysis are stored.
- **`Analysis/`** Python scripts that take the data in Data/ as an input, and provide an analysis of transient acceleration events.
- **`Tests/`** Suite of tests to check that the Analysis script is working correctly.
- **`Results/`** Upon successful execution of the analysis pipeline, this directory will be generated, and analysis figures will be saved here.

\
**Installation**

Clone the repository:
```bash
git clone https://github.com/<username>/GrIS_vel.git
cd GrIS_vel
```

install dependencies
```bash
pip install -r requirements.txt
```

Create and activate a virtual environment:
```bash
python3 -m venv .venv
source .venv/bin/activate 
```

Use in command line interface:
```
pip install -i https://test.pypi.org/simple/ GrIS-vel==0.1.2
run_analysis --file --station --window --outdir

    --file: Path to input 
    --station: Specify station to analyze
    --window: Moving mean window size in days
    --outdir: Directory to save outputs
```
haddock-curses 0.1.7
Random curses from Captain Haddock
Requires Python: >=2.7

# Haddock

Aren't you bored of reading and writing the same error messages over and over again
like "Wrong argument!", "End date must be after start date!" , "Division by zero!" etc. . With the haddock package you will be able to spice them up a bit:

- "Wrong argument, dipsomaniac!"
- "End date must be after start date, whipper-snapper!"
- "Division by zero, interplanetary goat!"

To do this, the method curse() of this package returns random curses from [Captain Haddock](https://en.wikipedia.org/wiki/Captain_Haddock). At the moment it supports curses in english (default), german and french. 

The sources for the curses are
- en: http://www3.sympatico.ca/brooksdr/haddock/main.htm
- de: https://weltenwandel.wordpress.com/2011/04/22/
die-1w100-fluche-des-kapitan-haddock/
- fr: https://fr.wikipedia.org/wiki/Vocabulaire_du_capitaine_Haddock

Pull requests for other languages are welcome.

## Installation

    pip install haddock-curses

## Usage

    import haddock
    >>> print(haddock.curse())
    anthropophagus!

You can use the [title() method](https://docs.python.org/3/library/stdtypes.html#str.title) from Python standard library to capitalize your swears.

    >>> print(haddock.curse().title())
    Brontosaurus!
    >>> print(haddock.curse(lang="de").title())
    Sie Logarithmus!
    >>> print(haddock.curse(lang="fr").title())
    Bande D'Ectoplasmes De Tonnerre De Brest 

You can decorate existing exception message with curses.

    >>> try: 0/0
    ... except Exception as e: print(str(e) + ", " + haddock.curse() + "!")
    ...
    division by zero, confounded rattletrap!!

## Upload to PyPi

The project needs poetry for package management. To install on e.g. Mac OS X do

    $ brew install uv

Before you can upload packages to PyPi you need to create an account at PyPi, activate 2FA (e.g. use Ente Authenticator)
and create an API-Token. Then you can configure poetry to use the API-Token like

    $ poetry config pypi-token.pypi <your-api-token>

You can then build and upload the package to PyPi simply by

    $ poetry build    # will build both sdist and wheel 
    $ poetry publish  # by default publishes to PyPi
uhlive 2.0.0
Uhlive Python SDK
Requires Python: >=3.10

# Uh!ive Python SDK

The Uh!live Python SDK provides convenient access to the Uh!live API from
applications written in the Python language.

Read the [full documentation](https://python-uhlive-sdk.netlify.app/).


## Installation from source

This project uses [`uv`](https://docs.astral.sh/uv/).

`uv sync --all-extras`

## Installation from Pypi

```
pip install uhlive
```

or as a dependency to a project managed by `uv`:

```
uv add uhlive
```

## Tools

If you have [`just`](https://just.systems/man/en/) and `uv` installed, you have a convenient way to run the tooling.
Otherwise, you can run the commands in the `justfile` manually.

### Format the sources

```
just format
```

Will run `isort` & `black`

### Lint the sources

```
just lint
```

Will run `ruff` & `mypy`

### Run the tests

```
just test
```

### Compile the docs to html

```
just docs
```

### Run format, lint and tests in one go

```
just
```

Contrary to `tox`, it will stop at the first error. So that we're not drown in (duplicate) error messages.

## Usage

See the `README.md` in each of the example folders.

### Audio files

To play with the examples, you should have a raw audio file.
This raw audio file should be in the proper format. This can be done
using a source audio file in wav format using the following command:
```
sox audio_file.wav  -t raw -c 1 -b 16 -r 8k -e signed-integer audio_file.raw
```