semvec/pypi-packages huggingface dataset:
image-grouping-tool 0.1.4
Python library for analisys and clustering of images
Requires Python: >=3.9
Keywords: image, clustering, image analysis

# Image Grouping Tool

The current package contains tools for analysing big sets of images by leveraging CNN models as images descriptors. Currently the package contains a cli tool with the following commands:

```bash
image_grouping compute_features <path_to_image_folders>
```

The command above scans the appointed folder for PNG and JPEG images and generates a .pt file containing the features and image paths.

```bash
image_grouping apply_pca <path_to_features_file>
```

Applies the PCA algorithm for dimension reduction and stores it to a second file.

```bash
image_grouping cluster <path_to_features_file>
```

Clusterizes data and plots results.

for a more detailed list of params it is possible to use the *--help* command with each of these options.
payne 0.2.0
Install Python applications
Requires Python: >=3.11

# payne

Payne allows a user to install multiple versions of a Python application at the
same time. It uses `uv` for isolation between applications and caching.

**Note**: there may be incompatible chages before version 1.0. If you use an 
earlier version, you may have to delete your applications directory and
re-install applications.


## Testing

Before running the tests, run `scripts/build-test-data.py`

When testing manually, start an HTTP server in `run`...:

    uv tool run python -m http.server -d run

...and set UV_INDEX
    
    UV_INDEX=payne_test_data=http://localhost:8000/payne_test_data

The automated tests run their own server, but will use the already running one
if there is one.

See `doc/testing.md` for details.


## Etymology

This should have been called "Pain", for **P**ython **a**pplication
**in**staller (and because installing Python applications is a pain), but that
name was already taken on PyPI. "Payne" is considered close enough.
country-db 1.0.1
A comprehensive repository of global country details, including country codes, ISD codes, currency codes, and more.
Requires Python: >=3.8
Keywords: country

# Country Database

<div align="center">

[![License](https://img.shields.io/badge/license-MIT-34D058?color=blue)](https://github.com/sivakumar-mahalingam/country-db/blob/main/LICENSE)
![Python](https://img.shields.io/badge/python-3.8+-blue?logo=python&logoColor=959DA5)
[![PyPI](https://img.shields.io/pypi/v/country-db.svg?logo=pypi&logoColor=959DA5&color=blue)](https://pypi.org/project/country-db/)

<a href="https://github.com/sivakumar-mahalingam/country-db/" target="_blank">
    <img src="https://raw.githubusercontent.com/sivakumar-mahalingam/country-db/main/docs/images/country-db-banner.png" target="_blank" />
</a>

A comprehensive repository of global country details, including country codes, ISD codes, currency codes, and more. 

</div>

## ️✨Features

### 🌐Country Codes
- Alpha2Code
- Alpha3Code
- NumericCode
  
_**Source:** [ISO 3166 - 1](https://en.wikipedia.org/wiki/ISO_3166-1)_

### 🌍Region Details
- Continent
- Capital

_**Source:** [Wikipedia](https://en.wikipedia.org/wiki/List_of_national_capitals)_
  
- RegionName
- RegionCode
- SubRegionName
- SubRegionCode
- IntermediateRegionName
- IntermediateRegionCode

_**Source:** [UN M49](https://unstats.un.org/unsd/methodology/m49/overview/)_

### 🔗TLD
- TopLevelDomain

_**Source:** [IANA](https://www.iana.org/domains/root/db)_

### ☎️Calling Codes
- CallingCode

_**Source:** [ITU](https://www.itu.int/en/ITU-T/Pages/default.aspx)_

### 💲Currency Codes
- CurrencyCode
- CurrencyNumber
- CurrencyName

_**Source:** [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)_

### 🚩Flag
- FlagEmoji
- FlagUnicode
- FlagImage [ToDo]

_**Source:** [Openmoji](https://openmoji.org/library/)_

## ⚙️Installation

Install `country-db` 
```bash
pip install country-db
```

## ✅ToDo

- [ ] Include Usage/Example in README
- [ ] Add wiki page
- [ ] Add documentation page
- [ ] Add FlagImage

## 🤝 Contributing

Contributions are welcome! Here's how you can help:

1. Fork the repository
2. Create a new branch (`git checkout -b feature/amazing-feature`)
3. Make your changes
4. Commit your changes (`git commit -m 'feat: add amazing feature'`)
5. Push to the branch (`git push origin feature/amazing-feature`)
6. Open a Pull Request

## ⚖️License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🙏Show your support

Give a ⭐️ if <a href="https://github.com/sivakumar-mahalingam/country-db/">this</a> project helped you!
log2telegram 0.6.7
🦜 A CLI tool to monitor a file and send updates to Telegram.
Requires Python: >=3.8
Keywords: log2telegram

![Build Status](https://img.shields.io/github/actions/workflow/status/andrewalevin/log2telegram/python-publish.yml) 
![PyPI - Version](https://img.shields.io/pypi/v/log2telegram)
![Docker Image Version](https://img.shields.io/docker/v/andrewlevin/log2telegram)

# log2telegram

log2telegram is a CLI tool to monitor changes in a specified log file and send updates to a Telegram chat. This package allows you to stay informed about updates in critical logs or other files by sending new content as Telegram messages, with customizable options to filter color codes and timestamps.


Features

	•	Real-Time Monitoring: Continuously watches for changes in a log file, sending new content as Telegram messages.
	•	Configurable Delay: Set a custom interval for checking the file for changes.
	•	Filtering Options: Remove ANSI color codes and timestamps at the start of lines for cleaner messages.
	•	Customizable Message Splitting: Automatically splits messages if they exceed the Telegram message size limit.
	•	Error Handling and Logging: Logs errors if the file is unreadable, ensuring smooth operation and easy debugging.

Installation

You can install the package via PyPI:

pip install log2telegram

Setup

To use log2telegram, add the following environment variables to a .env file:

LOG2TELEGRAM_BOT_TOKEN=<your-telegram-bot-token>
LOG2TELEGRAM_CHAT_ID=<your-chat-id>

	•	LOG2TELEGRAM_BOT_TOKEN: Your Telegram bot token, obtained from BotFather.
	•	LOG2TELEGRAM_CHAT_ID: The chat ID where messages will be sent.

Usage

Run the log2telegram command to monitor a file for changes. You can specify the path to the file and set optional flags for filtering.

Command-Line Arguments

log2telegram <file-path> [--seconds_delay SECONDS] [--filter-color-chars] [--filter-timestamps]

	•	<file-path> (required): The path to the file to monitor.
	•	--seconds_delay (optional): Interval in seconds between each check (default: 1). Must be a positive integer.
	•	--filter-color-chars (optional): Removes ANSI color codes from lines before sending.
	•	--filter-timestamps (optional): Removes timestamps at the start of lines.

Examples

	1.	Basic Usage
Monitor a log file with a default polling delay of 1 second.

Example Workflow

	1.	Start the program to monitor the specified file.
	2.	Upon changes, new content is sent to the designated Telegram chat.
	3.	If specified, color codes and timestamps are removed from each line before sending.

Requirements

	•	Python 3.7+
	•	Dependencies managed automatically upon installation.

License

This package is licensed under the MIT License.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests for improvements.