semvec/pypi-packages huggingface dataset:
sozipfile 0.3.2
Fork of Python zipfile module, adding generation of sozip optimization
Requires Python: >=3.8

# sozipfile

sozipfile is a fork of Python [zipfile](https://docs.python.org/3/library/zipfile.html)
module, from its implementation in CPython 3.11, which implements the
[SOZip](https://sozip.org) optimization,
when writing deflate compressed files whose size exceeds the chunk size (defaults
to 32768 bytes). It also implements efficient seeking within a SOZip file.

Example to generate a SOZip-optimized file:

```python
import sozipfile.sozipfile as zipfile
with zipfile.ZipFile('my.zip', 'w',
                     compression=zipfile.ZIP_DEFLATED,
                     chunk_size=zipfile.SOZIP_DEFAULT_CHUNK_SIZE) as myzip:
    myzip.write('my.file')
```

Example to check if a file within a ZIP is SOZip-optimized:

```python
import sozipfile.sozipfile as zipfile
with zipfile.ZipFile('my.zip', 'r') as myzip:
    if myzip.getinfo('my.gpkg').is_sozip_optimized(myzip):
        print('SOZip optimized!')
```

Available on [pypi](https://pypi.org/project/sozipfile):
```shell
pip install sozipfile
```
tshoot 0.1.0
A simple CLI commands to try troubleshooting errors with LLMs
Requires Python: >=3.9

# Tshoot

<p align="center">
    <em>A simple CLI command for troubleshooting errors with LLMs</em>
</p>

[![build](https://github.com/di3go-sona/tshoot/workflows/Build/badge.svg)](https://github.com/di3go-sona/tshoot/actions)
[![codecov](https://codecov.io/gh/di3go-sona/tshoot/branch/master/graph/badge.svg)](https://codecov.io/gh/di3go-sona/tshoot)
[![PyPI version](https://badge.fury.io/py/tshoot.svg)](https://badge.fury.io/py/tshoot)

---

**Documentation**: <a href="https://di3go-sona.github.io/tshoot/" target="_blank">https://di3go-sona.github.io/tshoot/</a>

**Source Code**: <a href="https://github.com/di3go-sona/tshoot" target="_blank">https://github.com/di3go-sona/tshoot</a>

---
## Introduction

The idea of tshoot is quite simple, by running the command `tshoot` you'll open a chat session with one of OpenAI's LLMs, you can dialogue with it and at the same time run commands by prefixing the line with `!`, the command will be executed on your local machine and the output will be displayed in the chat and added to the conversation history.

The main idea is to have a quick way to have your troubleshooting workflow overseen by an AI, potentially retrieving the information you need to solve your problem without any context switch, directly in your terminal.

The philosophy behind this project is to create a tool that should have minimal dependencies and should be easy to install and ready to use.

[![asciicast](https://asciinema.org/a/5UDk0XOruccA45eHF86usvEJy.svg)](https://asciinema.org/a/5UDk0XOruccA45eHF86usvEJy)

## Installation

You can install tshoot with pip:

```
pip install tshoot
```

## Development Setup


The project is packaged and shipped with [Hatch](https://hatch.pypa.io/latest/install/).
The following scripts are installed in your virtual environment:
-  `hatch run docs-build`
-  `hatch run docs-serve`
-  `hatch run lint`
-  `hatch run lint-check`
-  `hatch run test`
-  `hatch run test-cov-xml`


### Run unit tests

You can run all the tests with:

```bash
hatch run test
```

### Format the code

Execute the following command to apply linting and check typing:

```bash
hatch run lint
```


## Serve the documentation

You can serve the Mkdocs documentation with:

```bash
hatch run docs-serve
```

It'll automatically watch for changes in your code.


## Contributing

Every contribution that is in synch with the package philosofy is more than welcome, feel free to open an issue or submit a pull request.


## License

This project is licensed under the terms of the MIT license.
infinopy 0.0.7
A Python package for Infino


<h1 align="center">
   InfinoPy
</h1>
<p align="center">
  Python Client for Infino, a scalable telemetry store. </br>
</p>


## Quick Start

`infinopy` is a python client for Infino. Infino is a scalable telemetry store to reduce the cost and complexity of observability. If you haven't explored Infino yet, please refer to the [Infino git repo](https://github.com/infinohq/infino).


### Install InfinoPy Client
```bash
pip install infinopy
```

### Notes for testing
You should ensure your environment is up-to-date if you want to edit/test the client: [OpenSSL3](https://ports.macports.org/port/openssl/), [Python3](https://www.python.org/downloads/macos/), Virtualenv, Setuptools. If you've changed any of the core Infino code you'll also need to run **make docker-build** to build the docker image that the infino server needs to run in for unit tests.

### Example

The documentation is still in progress. In the meantime, [this test](https://github.com/infinohq/infino/blob/python-client/clients/python/infino/tests/test_infino.py) illustrates how to use InfinoPy - the Python client for Infino.
termstyles 0.0.2
Simple terminal coloring module
Keywords: python,color,termstyles,terminal,console


# termstyles

termstyles is a simple terminal coloring module. Using termstyles you can write colored output to the terminal.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install termstyles.

Windows
```bash
pip install termstyles
```
Linux/MacOS
```bash
python3 -m pip install termstyles
```
## Usage

```python
import termstyles

# print out in color
print(color.ForeStyles.green + 'Your text')
# or
print(termstyles.attach('Your text', attr=termstyles.ForeStyles.yellow))

# reset text color to default
print(color.ForeStyles.default)

# outputting the background in color
print(color.BackStyles.white + 'Your text')
# or
print(termstyles.attach('Your text', attr=termstyles.ForeStyles.red))

# change text style
print(color.Styles.bold + 'Your text')
# or
print(termstyles.attach('Your text', attr=termstyles.TextStyles.blink))

# randomization
random = termstyles.random(only=(termstyles.ForeStyles, termstyles.BackStyles))
print(random + 'Your text')
# or
print(color.attach('Your text', attr=random))
```