semvec/pypi-packages huggingface dataset:
basic-panic 0.1.1
A basic panic model
Requires Python: <4.0,>=3.10

# `basic-panic` - Basic Panic functionality in Python

> **DISCLAIMER:**
>
> This library is under development, expect things to break or not to work as expected. Creating a
> issue for bugs you encounter would be appreciated. Documentation is currently work in progress.

## Table of Contents

- [Getting Started](#getting-started)
- [Documentation](#documentation)
- [License (_BSD 3-Clause License_)](#license-bsd-3-clause-license)

## Getting Started

Install using `pip`:

```
pip install basic-panic
```

Install using `poetry` CLI:

```
poetry add basic-panic
```

or using `pyproject.toml`:

```toml
[tool.poetry.dependencies]
basic-panic = "^0.1.0"
```

## Documentation

Work in Progress...


## License (_BSD 3-Clause License_)

Copyright (c) 2024, Hendrik Böck <<hendrikboeck.dev@protonmail.com>>
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
crimson-data-class 0.1.4
From source code, extract useful information.
Requires Python: >=3.9

## Python Package Setup

### Setup Base

To install required pip modules for `generate_toml.py`, run
``` bash
source scripts/setup_base.sh
```

### User Setup

- go to `generate_toml.py` file, and complete the setup in the `User Setup` session.

```python
options = Options(
    # Will you use the discussion session in your repo?
    discussion=False
)

# Define the general information of your package
kwargs = Kwargs(
    name_space="None",
    module_name="None",
    description="None",
)
```

If you wrote all the information, run
```
python generate_toml.py
```

#### Template

If you want to understand the generation process, check the `template` variable in `generate_toml.py`.

### Setup Env

#### Prerequisite

Finish [User Setup](#user-setup) first.
Of course, conda command must be available.

#### Setup Env

Run
``` bash
source scripts/setup_env.sh
```

steps
- create an conda environment named as your $MODULE_NAME
- activate the environment.
- install requirements.txt

## Workflows

Not documented yet.
raxo 0.0.4.1
Raxo is a Python package designed to streamline the process of converting natural language queries
Requires Python: >=3.9

 # Raxo
[![GitHub](https://img.shields.io/badge/GitHub-raxo-blue?logo=github)](https://github.com/raxo-ai/raxo)

# 🔍 Raxo: Transform Natural Language into SQL Queries with RAG

Raxo is an MIT-licensed open-source Python framework for text-to-SQL generation using Retrieval-Augmented Generation (RAG). It simplifies the process of generating SQL queries from natural language input, making it easier to interact with databases using plain English.

## Key Features:
- 🚀 Seamlessly convert natural language queries into SQL statements
- 🔧 Customize query generation to suit your specific database schema and query requirements
- 📊 Access and analyze user data efficiently with generated SQL queries
- 💻 Simple integration into existing Python projects and data pipelines
- 📚 Comprehensive documentation and examples for easy adoption and implementation

Get started with Raxo today and unlock the power of transforming text into actionable SQL queries for your data needs.

### Installation
```sh
# PyPI
pip install raxo
```

### Getting started
#### Refer to documentation to know more options
```python
# Importing necessary modules
from raxo.models import OpenAIChat
from raxo.embeddings import OpenAiEmbeddings
from raxo.vector import ChromaStore
from raxo import Raxo

open_ai = OpenAIChat(api_key="<API_KEY>", model="<MODEL_NAME>")
embed = OpenAiEmbeddings(api_key="<API_KEY>",
                         model="<MODEL_NAME>")
chroma = ChromaStore(em_function=embed)
# passing the required functions to create a raxo object
raxo = Raxo(llm=open_ai, vector_db=chroma, em_function=embed)
```

### Training Raxo
#### If you want to train the raxo [optional]
```python
raxo.train(ddl="""
CREATE TABLE Customer (
    CustomerID INT,
    FirstName VARCHAR(100),
    LastName VARCHAR(100),
    Email VARCHAR(255),
    Phone VARCHAR(20),
    PRIMARY KEY (CustomerID)
)""")

```
#### You can add raxo by adding relevant documentation.

```python
raxo.train(documentation="The table contains records of customers of a store")
```

#### Train by adding valid SQL's
```python
raxo.train(sql="SELECT DISTINCT FirstName FROM Customer")
```

### Generating SQL
```python
sql = raxo.ask("what are my region sales")
print(sql)
```
#### You will get the output
```sql
SELECT SUM(Sales), Region FROM sales_data GROUP BY Region ORDER BY SUM(sales);
```
osvg-collections 1.4.0
OSVG Collection provides standard SVG shapes based on osvg module
Requires Python: >=3.10

# Shape Collection for Object-oriented Scalable Vector Graphics (osvg)

## Table of Content

- [Installation](#installation)
- [Major Goal](#major-goal)
- [Collection Overview](#collection-overview)
  - [it](#it---information-technology)
    - [network](#network---network-elements)

## Installation

```code
pip install osvg_collection
```

## Major Goal

Provide collections of standard shapes to easily create SVG drawings based on osvg module.

## Collection Overview

### it - *Information Technology*

#### network - *Network Elements*

- cloud - *Cloud element*

  ![Cloud Shapes](test/system/it/network/clouds.svg)
- firewall - *Firewall element*

  ![Firewall Shapes](test/system/it/network/firewalls.svg)
- router - *Router element plus different 'colored' sub-classes*

  ![Router Shapes](test/system/it/network/routers.svg)
- switch - *Switch element plus different 'colored' sub-classes*

  ![Switch Shapes](test/system/it/network/switches.svg)
pypi-attestation-models 0.0.5
A library to convert between Sigstore Bundles and PEP-740 Attestation objects
Requires Python: >=3.9

# PyPI Attestation Models

<!--- BADGES: START --->
[![CI](https://github.com/trailofbits/pypi-attestation-models/actions/workflows/tests.yml/badge.svg)](https://github.com/trailofbits/pypi-attestation-models/actions/workflows/tests.yml)
[![PyPI version](https://badge.fury.io/py/pypi-attestation-models.svg)](https://pypi.org/project/pypi-attestation-models)
[![Packaging status](https://repology.org/badge/tiny-repos/python:pypi-attestation-models.svg)](https://repology.org/project/python:pypi-attestation-models/versions)
<!--- BADGES: END --->

A library to convert between Sigstore Bundles and [PEP 740] Attestation objects

## Installation

```bash
python -m pip install pypi-attestation-models
```

## Usage

See the full API documentation [here].

### Signing and verification

Use these APIs to create a PEP 740-compliant `Attestation` object by signing a Python artifact
(i.e: sdist or wheel files), and to verify an `Attestation` object against a Python artifact.

```python
from pathlib import Path

from pypi_attestation_models import Attestation, AttestationPayload
from sigstore.oidc import Issuer
from sigstore.sign import SigningContext
from sigstore.verify import Verifier, policy

artifact_path = Path("test_package-0.0.1-py3-none-any.whl")

# Sign a Python artifact
issuer = Issuer.production()
identity_token = issuer.identity_token()
signing_ctx = SigningContext.production()
with signing_ctx.signer(identity_token, cache=True) as signer:
    attestation = AttestationPayload.from_dist(artifact_path).sign(signer)

print(attestation.model_dump_json())

# Verify an attestation against a Python artifact
attestation_path = Path("test_package-0.0.1-py3-none-any.whl.attestation")
attestation = Attestation.model_validate_json(attestation_path.read_bytes())
verifier = Verifier.production()
policy = policy.Identity(identity="example@gmail.com", issuer="https://accounts.google.com")
attestation.verify(verifier, policy, attestation_path)
```

### Low-level model conversions
These conversions assume that any Sigstore Bundle used as an input was created
by signing an `AttestationPayload` object.
```python
from pathlib import Path
from pypi_attestation_models import pypi_to_sigstore, sigstore_to_pypi, Attestation
from sigstore.models import Bundle

# Sigstore Bundle -> PEP 740 Attestation object
bundle_path = Path("test_package-0.0.1-py3-none-any.whl.sigstore")
with bundle_path.open("rb") as f:
    sigstore_bundle = Bundle.from_json(f.read())
attestation_object = sigstore_to_pypi(sigstore_bundle)
print(attestation_object.model_dump_json())


# PEP 740 Attestation object -> Sigstore Bundle
attestation_path = Path("attestation.json")
with attestation_path.open("rb") as f:
    attestation = Attestation.model_validate_json(f.read())
bundle = pypi_to_sigstore(attestation)
print(bundle.to_json())
```

[PEP 740]: https://peps.python.org/pep-0740/

[here]: https://trailofbits.github.io/pypi-attestation-models
tangelo-gc 0.4.3
Tangelo is an open-source Python package maintained by Good Chemistry Company, focusing on the development of quantum chemistry simulation workflows on quantum computers. It was developed as an engine to accelerate research, and leverages other popular frameworks to harness the innovation in our field.

Tangelo is an open-source Python package maintained by Good Chemistry Company, focusing on the development of quantum chemistry simulation workflows on quantum computers. It was developed as an engine to accelerate research, and leverages other popular frameworks to harness the innovation in our field.
OffSecIta1 0.1.2
Biblioteca per consultare i corsi

# OffSec Italia

Una Biblioteca Python per consultare i corsi Offensive Security Italia

## Corsi disponibili:

- Corso Hacking Etico [60 ore]
- Corso Linux da zero [15 ore]
- Corso Python Offensive [50 ore]
- Corso Personalizzazione Linux [3 ore]
github-review-requested 0.2.1
A CLI tool to view github review requested
Requires Python: >=3.8

# Github review requested

## About the project
To find reviews that are assigned to me and not the whole team, I find it very hard on GitHub. There is https://github.com/pulls/review-requested, but it's not sorted as I want, and I cannot filter with issues that explicitly mention me as a reviewer.

I created this tool to have a clear view of what I need to review. It shows in bold if I am explicitly on the list of reviewers and which person on my team is also on the list.

## Getting started

### Installation

1. Add a token to your GitHub account (don't forget to copy it somewhere): https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic
2. Install python >= 3.8 and pip if you don't have them yet.
3. Install via pip
```sh
pip install github-review-requested
```

<!-- USAGE EXAMPLES -->
## Usage
```bash
Usage: github-review-requested [OPTIONS]

Options:
--user TEXT User name from github [required]
--org TEXT Org name from github [required]
--token TEXT Token from github [required]
--team TEXT Team name from github [required]
--help Show this message and exit.

❯ github-review-requested --user <user_name> --org <org> --team <team_name> --token <token>
```

You need a token from GitHub. Follow this documentation: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic

<!-- ROADMAP -->
## Roadmap
- [x] Have an initial tool that works
- [x] Make PR names clickable to open the PR in the browser
- [x] Option to filter out draft PRs
- [x] Add a loading spinner
- [x] Option to sort by update ascending or descending
- [ ] Store the token in a secure way (also user, org and team?)
- [ ] Add tests
- [ ] Add a screenshot in this readme file
- [ ] More colors! If PRs are too old, show them in red
- [ ] Show already commented requests
- [ ] Filter out issues where tests are not passing

<!-- LICENSE -->
## License

Distributed under the MIT License.

<!-- CONTACT -->
## Contact
Project Link: [https://github.com/mathieumontgomery/github-review-requested](https://github.com/mathieumontgomery/github-review-requested)

<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->