semvec/pypi-packages huggingface dataset:
lv-name-api 0.1.0
CLI for searching Latvian names from pmlp.gov.lv

# LV Name API

LV Name API is a Python module for generating Latvian-style names.
It supports both programmatic use and a simple CLI for quick access.

## Features

* Generate random Latvian first names and last names.
* Easy-to-use Python API.
* Command-line interface for quick name generation.
* Configurable options stored in `config.json` (optional).
* First-run detection with guidance for new users.

## Installation

Install via pip:

```bash
pip install lv-name-api
```

## Usage

### Python API

```python
from latvian_names import core

# Generate a random name
name = core.get_random_name()
print(name)

# Access settings
from latvian_names import settings
print(settings.get("example_setting"))
```

### CLI

Generate names from the command line:

```bash
latnames
```

Optional flags:

```text
--settings, -set, -setup, --setup    # Access configuration menu
--debug                              # Enable debug mode
--noreboot                            # Disable automatic reboot
```

### First Run

On the first run, LV Name API will display:

```
First run detected!
- Your configuration file can be optionally saved as config.json
- Run `--settings` to customize settings
```

## Notes

This project is made by an independent developer in his free time for fun. You can freely use and integrate it in your projects.

## License

This project is licensed under the **MIT License**.
pytroll-watchers 0.8.0
Utility functions and scripts to watch for new files on local or remote filesystems.
Requires Python: >=3.11

# pytroll-watchers

Utility functions and scripts to watch for new files on local or remote filesystems.

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pytroll/pytroll-watchers/main.svg)](https://results.pre-commit.ci/latest/github/pytroll/pytroll-watchers/main)
yamlgrep 0.2.0
Dumb little tool to 'grep' yaml files
Requires Python: >=3.12

# yamlgrep

A simple-ish program to "grep" for values in a yaml file

`yamlgrep` works by taking a series of yaml files and traversing the entire tree; when it finds a value which matches the pattern given, it prints the filename (optional), the number of the document within that file (optional), the path to the value.

Example:

```
$ yamlgrep foo thismanifest.yaml thatmanifest.yaml
thismanifest.yaml:1: .spec.containers.0.image foo.io/eieio/myimg:v1.31.1
thatmanifest.yaml:8: .spec.containers.0.image foo.io/eieio/myimg:v1.32.4
```

The `--help` is pretty good in explaining things.
archie-cli 0.6.9
A command line tool to make managing your Linux system easier
Requires Python: >=3.11

# archie
  A command line tool to make managing your Linux system easier

# Features
- Environment variable management
- Disk info visualization
- Custom command system

# Installation
## Installation using pipx:
```bash
pipx install archie-cli
```

# Example usage
```bash
# See help
archie --help
# or
archie help

# About 
archie info

## Environment module (env)
# List env variables
archie env list

# Add or update an env variable
archie env set TEST_ENV 25 # TEST_ENV=25
archie env set SECRET_KEY my_api_key # SECRET_KEY="my_api_key"
# For string values with spaces, use quotes
archie env set TARGET_DISTRO "Linux Mint" # TARGET_DISTRO="Linux Mint"

## Disk module (disk)
# List available disks
archie disk list

# Show detailed info about all disks
archie disk info --all

## Task module (task)
# List all tasks
archie task list

# Create new tasks
# Single command
archie task set diskinfo "archie disk info --all"

# Multiple commands
archie task set archieinfo "echo Showing Archie info..." "archie info"

# This also works
archie task set "disk all" "archie disk list" "archie disk info --all"

# Run a specific task
archie task run diskinfo 
# same as
archie pls diskinfo

# This also works
archie pls "disk all"

# Find Archie task file (for sharing or manual edits)
archie task locate

```

# Why?
I began using Arch (btw) recently and while it has a **ton** of tools available to configure the system, I did not find a tool for editing env variables *"quickly"* (by quickly, i mean not needing me to manually go to the file and edit it myself, I'm used to the Windows way of doing some things). So at first I made this tool to do just that. Call it laziness if you want (it is), I just wanted a quick way to do it and I hope someone else finds it useful as well. In the end, its a wrapper around some common Linux commands with a bit of extra functionality to make them more readable and noob-friendly.
web-observatory 1.2.3
Python package for collecting and analyzing webpages
Requires Python: >=3.8

# web-observatory
[![Download Latest Version from PyPI](https://img.shields.io/pypi/v/web-observatory.svg)](https://pypi.python.org/pypi/web-observatory)

*web-observatory* is a Python package for collecting and analyzing webpages.

See [here](https://github.com/ericnost/digital_conservation) for extended examples of `web-observatory` in use.

Modules
--------------------------
### `start_project`
Initializes a project directory

### `search_google`
Searches Google for terms. Google Custom Search Engine credentials required.

### `google_process`
Compiles results from multiple Google searches.

### `get_domains`
Extracts domain-level information from the urls returned by Google searches (e.g. 'google' in www.google.com)

### `initialize_crawl`
Initializes a Scrapy crawl on a set of domains. Returns a JSON file of urls found through the crawl.

### `crawl_process`
Processes the JSON output of a crawl into a pandas DataFrame.

### `crawl`
Not implemented as a module yet, but it can be run through a command like `!scrapy crawl digcon_crawler -O output.json --nolog`

### `search_merge`
Merges Google searches and crawl results.

### `get_versions`
~Gets historical versions of Twitter-searched urls using the Internet Archive's Wayback Machine. Attempts to find the version of the page archived closest in time to when it was tweeted.~ \
Uses the `requests` package to ping the url and get the "full" address rather than a redirect (e.g. bit.ly/12312). This helps in scraping.

### `initialize_scrape`
Initializes files to scrape urls for their HTML.

### `scrape`
Conducts the scrape of pages' HTML. Stores body text in a Postgresql database. 

### `query`
A set of methods for searching the Postgreql database of site text, including filtering empty results and counting specified search terms.

### `ground_truth`
Produces a sample of pages for verifying counts of terms.

### `analyze_orgs`
Calculates and visualizes averages and frequencies for each search term in the site text and summarizes by organization (domain).

### `analyze_currentuse`
Calculate current average and frequency - useful when dealing with historical page versions

### `analzye_term_correlations`
Calculates and visualizes co-variance metrics for specified search terms in the site text. 

### `analyze_association`
Associations per terms as measured by % of shared pages

### `co_occurrence`
Returns specific pages using two or more specified search terms.

Issues and Development
--------------------------
See: [web-observatory project](https://github.com/users/ericnost/projects/3/views/1)
gpio-manager 3.2.1
Rust bindings for the rppal crate to manage GPIO pins on a Raspberry Pi.
Requires Python: >=3.8
Keywords: Raspberry PI 5, Raspberry PI 4, GPIO

## Description

- These are rust bindings around
  the [RPPAL - Raspberry Pi Peripheral Access Library](https://github.com/golemparts/rppal) crate that gives access to
  gpio, pwm, spi, and more.
  As of current, the gpio, i2c, and pwm portions are tested and working.
  Support for the other functions may come later on.
- These bindings allow you to call the rust code from python in a way that looks like any other python object

## Features

- Able to make multiple objects that can call the gpio without generating errors
- Support for event driven io using callbacks
- Supports software pwm
- Allows for setting up pins as input or output
- Supports hardware PWM
- Supports I2C
- Works with multiple pi versions and multiple OS's


## Usage and Documentation
- for examples and documentation, see the [documentation](https://gpio-manager.readthedocs.io/en/latest/index.html)


## Warranty

- This library is provided as is and is not guaranteed to work in all cases.

## Coming Soon

- Support for UART
- support for SPI
hv-anndata 0.0.3a3
Anndata interface for holoviews.
Requires Python: >=3.11

# hv-anndata

Holoviz Anndata Interface

## Hacking

In order to run the notebooks, install the `hv-anndata` kernel:

```bash
hatch run docs:install-kernel
hatch env find docs  # if you need the path for e.g. VS Code
```

- Tests: `hatch test`
- Docs: `hatch docs:build`
- Lints: `pre-commit run --all-files` (use `pre-commit install` and `nbstripout --install` to install Git hooks)
explainable 1.2.3
Visualise complex data structures in real time
Requires Python: >=3.7

# Explainable

[![PyPI version](https://img.shields.io/pypi/v/explainable.svg)](https://pypi.org/project/explainable/)

Explainable is a project for real time visualisation of complex data structures with minimal effort.  
This project was created by [Numan Team](https://numan.ai/).  
Visualisation runs on our [website](https://explainable.numan.ai/), so you only need install the library and initialise it in your code.

![plot](./demo.png)

## Installation

```sh
pip install -U explainable
```

## Usage

1. Install using `pip`
2. Import the library in your code
3. Write a drawing function that returns a `Graph` object
3. Add `explainable.init(<draw_func>)` in your code to start the server
4. Add context using `explainable.add_context()` in your code
5. Go to https://explainable.numan.ai/

```python
import time

import explainable


def draw(cm: explainable.ContextManager):
    ctx = cm.get("my_var", default=0)

    return explainable.Graph([
        explainable.TextNode(f"My var: {ctx}"),
    ], edges=[])


explainable.init(draw)
explainable.add_context()

my_var = 1

while True:
    my_var += 1
    time.sleep(0.5)
```

![plot](./demo2.png)

## Requirements

Python 3.7 or higher.