semvec/pypi-packages huggingface dataset:
PyTgSend 1.2
Lightweight function to send telegram messages
License: MIT
Keywords: telegram tg

# PyTgSend
Lightweight python snipet to send message(s) to telegram through bot api.
There are many like it, but this one is mine 

Only requires requests lib. 
Was done using python 3.9, full supported python versions list - conveniently left for end user to deal with.

Only sends text messages at the moment. No images or anything, just text.

Installation example:
```commandline
python3 -m pip install PyTgSend
```

Usage example:

```python
from PyTgSend import tg_send_message

tg_send_message(
    'your message here', 
    conf={
        'token': '<your_bot_token>', 
        'chat_id': '<your_chat_id>'
    }
)
```
qiskit-utils 1.2.1
package containing utility methods for qiskit like result parsing and instruction insertion for circuits
License: MIT
Keywords: utility-methods qiskit

# qiskit-utils
qiskit-utils is a library containing utility, quality of life methods for qiskit.

## current methods
  - parsing results
  - parsing counts
  - inserting instructions and gates into circuit (in any location not just append the gate to the circuit)

## Inserting instructions
```python
from qiskit_utils import insert_instruction

instruction = Measure()
insert_instruction(circuit, instruction, (circuit.qubits[0],), (circuit.clbits[1], ), index)
```

## QuantumCircuitEnhanced
```python
from qiskit.circuit.library import iSwapGate
from qiskit_utils import QuantumCircuitEnhanced

qc = QuantumCircuitEnhanced(2)
qc.insert(iSwapGate(), (0, 1), (,), index)
```

## Result parsing
parse_result method allows to find the counts for each specific qubit individually
(and allows for easy access to check counts for that one specific qubit, independent of the other qubit states)
```python
qc = QuantumCircuit(1, 1)
qc.x(0)
qc.measure(0, 0)
backend = Aer.get_backend("aer_simulator")
transpiled_circuit = transpile(qc, backend)
result = backend.run(transpiled_circuit).result()

parsed_counts = parse_result(result, qc)
# parsed_counts = {0: {'0': 0, '1': 1024}} 
```
2 return types are possible, with using the flag indexed_results=True resulting directory keys (the most upper level)
will be indexes of qubits (indexes will be same as in qc.qubits), with the flag set to false qubits will be returned
indexed by the qubit object itself (can be received either from qc.qubits[i] or QuantumRegister()[i])
## Result parsing with counts
```python
qc = QuantumCircuit(2)
creg1 = ClassicalRegister(1)
creg2 = ClassicalRegister(1)
qc.add_register(creg1)
qc.add_register(creg2)
qc.x(0)
qc.measure(0, creg1[0])
qc.measure(1, creg2[0])
backend = Aer.get_backend("aer_simulator")
transpiled_circuit = transpile(qc, backend)
result = backend.run(transpiled_circuit).result()

parsed_counts = parse_counts(result, qc)
# parsed_counts = {"10": 1024} while the get_counts from qiskit would return {"0 1": 1024}
```
Note, qubits that had no measurements found for them are marked as - in the bitstring

## More examples
examples of usage can be found in a testing library [qiskit-check](https://github.com/mgrzesiuk/qiskit-check)
video-duplicate-remover 0.1.0
A video cleaning cli application
License: MIT

## Video-Duplicate-Remover Cli
This majorly a video duplicate remover application that helps to personally remove duplicate video files on unix-based or linux machine . But can provide some regular expression pattern to further enhance it capabilites.

## Contributors
- Caleb Adewole

### Usage
To use this application , first create a virtual enviroment and then run `pip install .`.
```bash
➜  video-cleaner git:(main) ✗ . venv/bin/activate
(venv) ➜  video-cleaner git:(main) ✗ video-cleaner-cli 
Usage: video-cleaner-cli [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  clean   Remove all video files from a folder :params `folder_path` -...
  create  Creates a folder path using the specified destination path and...
  delete  Delete the provide folder path
  filter  Filter files based on provided regex expression and print it
  list    List out all filepath that is in the folder :params...
```
To view sub-commands use the  example below 
```bash
(venv) ➜  video-cleaner git:(main) ✗ video-cleaner-cli clean --help
Usage: video-cleaner-cli clean [OPTIONS]

  Remove all video files from a folder

  :params `folder_path` - path to clean :params `out` - output folder path
  :params `regex` - regular expression pattern :params  `delete_output` - flag
  to delete the output folder

Options:
  -f, --folder-path TEXT  the video folder path to clean up  [required]
  -o, --out TEXT          the output folder path to store duplicates
                          [required]
  -r, --regex TEXT        filter pattern for movies
  -d, --delete-output     delete the copies
  --help                  Show this message and exit.
```