semvec/pypi-packages huggingface dataset:
git-send-telegram 0.1.0
Your git send-email for 2023!
Requires Python: >=3.10,<4.0

# git send-telegram

your git send-email for 2023!

## Setup

- Obtain API credentials from <https://core.telegram.org/api/obtaining_api_id>
- Set credentials:
  ```
  git config sendtelegram.apiid <api_id>
  git config sendtelegram.apihash <api_hash>
  ```
- Set session string:
  ```
  TELEGRAM_API_ID=<api_id> TELEGRAM_API_HASH=<api_hash> ./export-session-string.py
  git config sendtelegram.sessionstring <session_string>
  ```

You're good to go, let's get those patches a-sending!

`git send-telegram --to torvalds HEAD^!`
cleantxty 0.0.5
Python package to clean strings and making them reasonable for NLP
Requires Python: >=3.6

# cleantxty
[![Downloads](https://pepy.tech/badge/cleantxty/month)](https://pepy.tech/project/cleantxty)

Python package to clean strings and making them reasonable for NLP.

**cleantxty** is a an open-source python package cleaning text from raw text format. Source code for the library can be found [here.](https://github.com/aditya0072001/cleantxty)



## Features 

cleantxt has two main methods,
* **clean**: to clean raw text and return the cleaned text
* **clean_words**: to clean raw text and return a list of clean words

other menthods that can be used simultaneoulsy are:
* **remove_link**: to remove link from the text
* **remove_extra_white_space**: to remove extra white space from the text
* **lower_text**: to make case of the text to lower case
* **upper_text**: to make case of the text to upper case
* **remove_stopwords**: to remove stopwords from the text
* **remove_digits**: to remove digits from the text
* **remove_punctuations**: to remove punctuations from the text
* **custom_regex**: to use custom regex and appy to text
* **stem_text**: to stem the provided text


## Installation

cleantext requires [Python 3](https://www.python.org/downloads/) and [NLTK](http://www.nltk.org/install.html) to execute. 

To install using pip, use

`pip install cleantxty`

## Usage

* **Import the library**:

``` python
import cleantxty
```

* **Choose a method:**

 To return the text in a string format, 
 
``` python
cleantxty.clean("raw_text_here") 
```
 
 To return a list of words from the text,
 
``` python
cleantxty.clean_words("raw_text_here") 
```
 
 To choose a specific set of cleaning operations,

``` python
cleantxty.clean("raw_text_here",
default_case= "lower", # lower by default change to upper for upper case result
regex=None  # Provide custom regex to use
)

cleantxty.clean_words("raw_text_here",
default_case= "lower", # lower by default change to upper for upper case result
regex=None  # Provide custom regex to use
)
```

## Examples

``` python
import cleantxty
cleantxty.clean('This is A s$ple ? tExt3% to   cleaN566556+wow8 ')
```

returns,

``` Python
'this is a sample text to clean'
```

----

``` Python
import cleantxty
cleantext.clean_words('This is A s$ample !!!! tExt3% to   cleaN566556+2+59*/133')
```

returns,

``` Python
['sampl', 'text', 'clean']
```

----

``` Python
from cleantxty import clean
text = "my id, name1@dom1.com and your, name2@dom2.in"
clean(text, regex=r"[a-z0-9\.\-+_]+@[a-z0-9\.\-+_]+\.[a-z]+")
```

returns,

``` Python
"my id, email and your, email"
```

## License

##### MIT

For any questions, issues, bugs, and suggestions please visit [here](https://github.com/aditya0072001/cleantxt/issues)
pdf2redmine 1.1
A software tool to automatically read a pdf docuument for annotations (comments) and upload those to a redmine server using a personal API access token
Requires Python: >=3.8


pdf2redmine
===============
A software tool to automatically read a pdf docuument for annotations (comments)
and upload those to a redmine server using a personal API access token

Installing
============

.. code-block:: bash

    pip install pdf2redmine

Usage
=====

.. code-block:: python

    from pdf2redmine.main import read_and_upload
    redmine_url = '<your-redmine-server-url>'
    redmine_key = '<your-redmine-api-access-key>'
    redmine_project_id = '<your-remine-project-id>'
    file_link = '<some-link-to-the-local-file-for-online-access>'
    file_path = 'C:/temp/dummy_document_with_comments.pdf'
    ids = read_and_upload(file_path, redmine_url, redmine_key, redmine_project_id, link=file_link)
    print('Generated the following issues:')
    print(ids)
survivpy 1.2
The only library written for Surviv.io
Requires Python: >=3.6

![](https://cdn.discordapp.com/attachments/1028835888475680848/1050416732944224346/image.png)
-
#### The **only** [surviv.io](https://surviv.io/) librery writted for Python.
>##### Library written by [**PhysxDev#9448**](https://discord.gg/Du3PeShf)
>##### Contributor: [**AzartX47#6188**](https://discord.gg/Du3PeShf)

## ● **Features**
### *Download*
```python
pip install survivpy
```
### *Import*
```python
from surviv import surviv
```

### *Latest Update News*
```python
data = surviv.getNews()
print(data)
```

### *Pass Information*
```python
data = surviv.getPass()
print(data)
```

### *Create Team*
```python
data = surviv.teams.create()
print(data)
```

### *Get Team Information*
```python
data = surviv.teams.getInfo("Team Code")
print(data)
```

### *Create Prestige*
```python
data = surviv.prestige.create()
print(data)
```

### *Get Prestige Information*
```python
data = surviv.prestige.getInfo()
print(data)
```

### *Battle Modes*
```python
data = surviv.battleModes()
print(data)
```

### *Site Information*
```python
data = surviv.siteInfo()
print(data)
```

### *Region Information*
```python
data = surviv.regionInfo()
print(data)
```

### *Streaming Surviv.io (Twitch)*
```python
data = surviv.streamingSurviv()
print(data)
```

### *Featured Youtuber*
```python
data = surviv.featuredYoutuber()
print(data)
```

### *Find Match*
```python
data = surviv.findMatch()
print(data)
```

### *Proxies*
```python
data = surviv.proxies()
print(data)
```

### *Leaderboard Information*
```python
data = surviv.leaderboard()
print(data)
```

### *Clan Information*
```python
data = surviv.clanStats("ClanID")
print(data)
```

### *Clan Recent Matches*
```python
data = surviv.clanMatches("ClanID")
print(data)
```

### *Clan Leaderboard Information*
```python
data = surviv.clanLeaderboard()
print(data)
```

### *User Information*
```python
data = surviv.user("username")
print(data)
```

## ● **Extras**
### *Binary Feature*
```python
from surviv import binary

encoded = binary.encode("Hello, World.") # Returns binary into List Format.
binary.decode(encoded) # Returns decoded binary into a string.

rawBinary = binary.toRaw(encoded) # Converts list into String.
binary.unRaw(rawBinary) # Converts string binary into List Format.
```

# [Join our Discord!](https://discord.gg/Du3PeShf)
termcursor 1.0.0
Hiding or showing the console cursor on Windows and Unix platforms with the Python Standard Library only
Requires Python: >=3.10

[![Generic badge](https://img.shields.io/badge/Version-1.0.0-blue)](https://shields.io/)
[![Generic badge](https://img.shields.io/badge/Python-%3E%3D3.10-blue)](https://shields.io/)

# termcursor

Hiding or showing the console cursor on Windows and Unix platforms with the Python Standard Library only

## Quickstart

### Requirements

This module use Python Standard Library only. Python version should be higher than *3.10*

### Install

```
pip install termcursor
```

### How to Use

This code works as module not a script.

#### Module level import

```
import termcursor

# hiding the console cursor
termcursor.hidecursor()

# showing the console cursor
termcursor.showcursor()
```

#### Function level import

```
from termcursor import hidecursor, showcursor

# hiding the console cursor
hidecursor()

# showing the console cursor
showcursor()
```

#### Help

```
import termcursor

help(termcursor)
```

### Examples

#### Module level import

Example is available in the [example.py](https://github.com/richardvecsey/termcursor/blob/main/example.py)

#### Function level import

Example is available in the [example2.py](https://github.com/richardvecsey/termcursor/blob/main/example2.py)

## License

The content of this repository is licensed under *MIT license*. For more details, check [LICENSE](https://github.com/richardvecsey/termcursor/blob/main/LICENSE)
litra-driver 0.0.8
Logitech Lumitra Glow and Beam Driver
Requires Python: >=3.6
Keywords: logitech lumitra glow,CLI,UI

# Python Utility for Logitech Litra Glow and Beam
[![PyPI version](https://badge.fury.io/py/litra-driver.svg)](https://badge.fury.io/py/litra-driver)

## Introduction

After purchasing a [Logitech Litra Glow](https://www.logitech.com/en-us/products/lighting/litra-glow.946-000001.html) I was unable to find any support for linux. This project reverse-engineers the basic functionality of the litra glow so that we can control it via USB without using the physical buttons on the device. It also now supports the [Logitech Litra Beam](https://www.logitech.com/en-us/products/lighting/litra-beam.946-000006.html).

## Quick Start

### Linux
```bash
# If necessary, create a udev role to grant permission to access the light
sudo tee /etc/udev/rules.d/82-litra-glow.rules <<< 'SUBSYSTEM=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c900",MODE="0666"'
sudo tee /etc/udev/rules.d/82-litra-beam.rules <<< 'SUBSYSTEM=="usb", ATTR{idVendor}=="046d", ATTR{idProduct}=="c901",MODE="0666"'

sudo reboot

# Uninstall if previously installed
pip uninstall litra-driver
pip install litra-driver

# Command Line Interface
lc --help

# User Interface
lcui

```

## The UI
A basic UI can be launched to allow control of the light:

```bash
lcui
```

![lcui Screen Shot](images/ui.png)
## The CLI

```
NAME
    lc

SYNOPSIS
    lc COMMAND

COMMANDS
    COMMAND is one of the following:

     on
       Turns on the Litra Glow

     off
       Turns off the Litra Glow

     temp
       Sets the temperature level of the Litra Glow

     bright
       Sets the brightness level of the Litra Glow
```

Sample Usage
```bash
lc on
lc bright 10
lc temp 6500
lc off

# Chain multiple commands
lc on bright 100 temp 2700
```

The log level can be adjusted by setting the environment variable `LITRA_LOGLEVEL` to one of the following:
* CRITICAL
* ERROR
* WARNING
* INFO
* DEBUG

## Development
### Creating / installing the distribution

```bash
pip install build

# Create distribution
python -m build

# Local Testing
pip install --editable .

# Linter
tox -e lint

# Unit Test - "Coming Soon"™
tox -e test
```