semvec/pypi-packages huggingface dataset:
telebulk 0.1.4
Execute actions on multiple Telegram users or groups
Requires Python: <4.0,>=3.13
Keywords: telegram, cli, chat, moderation

<div align="center">
<img alt="" src="https://forge.steffo.eu/steffo/telebulk/raw/branch/main/.media/icon-512.png" height="128" style="border-radius: 100%;">
<hgroup>
<h1>Telebulk</h1>
<p>Execute actions on multiple Telegram users or groups</p>
</hgroup>
</div>

## Actions

New actions are added to this tool as needed.  
Because of that, functionality is very limited at the moment.  
Feel free to request any new actions though!

### Available actions list

- Kick (and Unban)

## Usage examples

<details>
<summary>Kick a single user from a single group</summary>

```fish
telebulk --user='12345' --group='67890' --kick
```

</details>

<details>
<summary>Unban a user from all group IDs contained in a file</summary>

```fish
#!/usr/bin/env fish
telebulk --user='12345' --group=(cat unban_groups.txt) --kick
```

</details>

## Links

### Tools

<a href="https://www.python.org/">
    <img alt="Written in Python" title="Written in Python" src="https://img.shields.io/badge/language-python-3775a9" height="30px">
</a>
&hairsp;
<a href="https://click.palletsprojects.com/en/stable/">
    <img alt="CLI with Click" title="CLI with Click" src="https://img.shields.io/badge/cli-click-917ab1" height="30px">
</a>

### Packaging

<a href="https://pypi.org/project/telebulk">
    <img alt="Available on PyPI" title="Available on PyPI" src="https://img.shields.io/pypi/v/telebulk?label=pypi&color=ffd242" height="30px">
</a>
&hairsp;
<a href="https://forge.steffo.eu/steffo/-/packages/pypi/telebulk">
    <img alt="Available on Forgejo Packages" title="Available on Forgejo Packages" src="https://img.shields.io/badge/forgejo%20packages-latest-ff6600" height="30px">
</a>

### Documentation

<a href="https://interoperable-europe.ec.europa.eu/collection/eupl/eupl-text-eupl-12">
    <img alt="Licensed under EUPL-1.2" title="Licensed under EUPL-1.2" src="https://img.shields.io/badge/license-EUPL--1.2-003399" height="30px">
</a>

### Development

<a href="https://forge.steffo.eu/steffo/telebulk">
    <img alt="Code repository" title="Code repository" src="https://img.shields.io/gitea/last-commit/steffo/telebulk?gitea_url=https%3A%2F%2Fforge.steffo.eu&color=374351" height="30px">
</a>
&hairsp;
<a href="https://forge.steffo.eu/steffo/telebulk/releases">
    <img alt="Releases" title="Releases" src="https://img.shields.io/gitea/v/release/steffo/telebulk?gitea_url=https%3A%2F%2Fforge.steffo.eu&label=last+release&color=374351" height="30px">
</a>
&hairsp;
<a href="https://forge.steffo.eu/steffo/telebulk/issues">
    <img alt="Issues" title="Issues" src="https://img.shields.io/gitea/issues/open/steffo/telebulk?gitea_url=https%3A%2F%2Fforge.steffo.eu&label=issues&color=374351" height="30px">
</a>
&hairsp;
<a href="https://forge.steffo.eu/steffo/telebulk/pulls">
    <img alt="Pull requests" title="Pull requests" src="https://img.shields.io/gitea/pull-requests/open/steffo/telebulk?gitea_url=https%3A%2F%2Fforge.steffo.eu&color=374351" height="30px">
</a>
python-step-parser 0.2.5
A library to extract and access data from a STEP or STP file in a structured way.
Requires Python: >=3.9

# STEP file parser implemented in pure python

## Requirements
* Python 3.7+
* sqlite3

## Usage

To use the code in this library, you can first run the `parser.py` file against your STEP (.step or .stp) file which will extract the data and normalize it into a Sqlite database (.db) file. This database file can then be read by using an open connection and passing it to the provided parser classes which will then read all of the types and attributes required by itself and its heirarcy of children data structures.
poetry-audit-plugin 1.0.0
Poetry plugin for checking security vulnerabilities in dependencies
Requires Python: <4.0,>=3.9
Keywords: poetry, vulnerabilities, security, audit

# Poetry Audit Plugin

Poetry plugin for checking security vulnerabilities in dependencies based on [safety](https://github.com/pyupio/safety).

```
$ poetry audit
Scanning 19 packages...

  • ansible-runner     installed 1.1.2  affected <1.3.1   CVE PVE-2021-36995
  • ansible-tower-cli  installed 3.1.8  affected <3.2.0   CVE CVE-2020-1733 
  • jinja2             installed 2.0    affected <2.11.3  CVE CVE-2020-28493

3 vulnerabilities found
```

## Installation

The easiest way to install the `audit` plugin is via the `self add` command of Poetry.

```bash
poetry self add poetry-audit-plugin
```

If you used `pipx` to install Poetry you can add the plugin via the `pipx inject` command.

```bash
pipx inject poetry poetry-audit-plugin
```

Otherwise, if you used `pip` to install Poetry you can add the plugin packages via the `pip install` command.

```bash
pip install poetry-audit-plugin
```

## Available options

* `--json`: Export the result in JSON format.

```bash
poetry audit --json
```

* `--ignore-code`: Ignore some vulnerabilities IDs. Receive a list of IDs. For example:

```bash
poetry audit --ignore-code=CVE-2022-42969,CVE-2020-10684
```

* `--ignore-package`: Ignore some packages. Receive a list of packages. For example:

```bash
poetry audit --ignore-package=ansible-tower-cli
```

* `--proxy-protocol`, `--proxy-host`, `--proxy-port`: Proxy to access Safety DB. For example:

```bash
poetry audit --proxy-protocol=http --proxy-host=localhost --proxy-port=3128
```

* `--cache-sec`: How long Safety DB can be cached locally. For example:

```bash
poetry audit --cache-sec=60
```

* `--db`: Path to a local or remote vulnerability database of Safety. For example:

```bash
poetry audit --db=/path/to/safety.json
```

## Exit codes

`poetry audit` will exit with a code indicating its status.

* `0`: Vulnerabilities were not found.
* `1`: One or more vulnerabilities were found.
* Others: Something wrong happened.

## Develop poetry-audit-plugin

You can read this document to setup an environment to develop poetry-audit-plugin.

First step is to install Poetry. Please read [official document](https://python-poetry.org/docs/) and install Poetry in your machine.

Then, you can install dependencies of poetry-audit-plugin and activate the environment with the following command.

```sh
poetry install
source .venv/bin/activate
```

Once you've done it, you can start developing poetry-audit-plugin. You can use test assets for the testing.

```sh
cd tests/assets/no_vulnerabilities_project
poetry audit
```

Please lint, format, and test your changes before creating pull request to keep the quality.

```sh
./scripts/lint.sh
./scripts/format.sh
./scripts/test.sh
```

## Contribution

Help is always appreciated. Please feel free to create issue and pull request!

## License

This project is licensed under the terms of the MIT license.
pycommontools 0.0.4
A collection of common Python utilities
Requires Python: >=3.13

# pycommontools

A collection of common Python utilities and tools for your personal projects.

## Installation

```bash
pip install pycommontools
# or
uv add pycommontools
```

## Features

### Resources

**Singleton Metaclass** - Implement the singleton pattern easily:

```python
from pycommontools.resources.singleton import Singleton

class DatabaseConnection(metaclass=Singleton):
    def __init__(self, host: str):
        self.host = host

# Both instances will be the same object
db1 = DatabaseConnection("localhost")
db2 = DatabaseConnection("localhost")
assert db1 is db2  # True
```

### Configs

**Logger Setup** - Configure loggers with custom levels:

```python
from pycommontools.configs.logging import setup_logger
import logging

# Create a logger with DEBUG level
logger = setup_logger("myapp", level=logging.DEBUG)
logger.debug("Debug message")
logger.info("Info message")

# Create a logger with WARNING level
warn_logger = setup_logger("myapp.warnings", level="WARNING")
```

## Development

This project uses [uv](https://github.com/astral-sh/uv) for dependency management.

```bash
# Install dependencies
uv sync

# Run tests (when available)
uv run pytest
```

## Requirements

- Python 3.13+

## License

MIT