semvec/pypi-packages huggingface dataset:
hubspot-connector 0.0.3
A utility class to interact with Hubspot using OAuth 2.0 credentials.

# HubSpot CRM Connector -README (OAuth 2.0)

This project provides a simple Python connector class to interact with the **HubSpot CRM API** using OAuth 2.0 credentials.  
It supports operations like fetching all leads, creating leads, updating leads, and exporting leads to CSV.

---

## 🔧 Installation

Clone your project and install the required dependencies:

```bash```
```pip install requests```


---

## 🚀 Features
- Create new leads 
- Update leads by email  
- Fetch lead details by email  
- Fetch all leads List  
- Export all leads to **CSV**  


---

## 📂 Project Structure

```
hub_spot/
|   │──hubspot
|   │── __init__.py
|   │── hubspot_connector.py    # Main connector file
│── README.md                   # Project documentation
│── requirements.txt            # Python dependencies
│── setup.py                    # Build & packaging file
│──script.sh                    # shell script to

```
---

Use the commands below to create, activate, and deactivate a venv on both Ubuntu and Windows.

Platform: Ubuntu/Linux/macOS
Create venv: python3 -m venv venv
Activate venv: source venv/bin/activate
Deactivate: deactivate

Platform: Windows (CMD)
Create venv: python -m venv venv
Activate venv: venv\Scripts\activate
Deactivate: deactivate

Platform: Windows (PowerShell)
Create venv: python -m venv venv
Activate venv: venv\Scripts\Activate.ps1
Deactivate: deactivate


### How to Use / Test This Class with `.env`

1. Create a `.env` file in the project root and add your hubspot credentials:
        and make sure you have fallow the (`Install dependencies`) step

    ```env
    CLIENT_ID=YOUR_CLIENT_ID
    CLIENT_SECRET=YOUR_CLIENT_SECRET
    ACCESS_TOKEN=YOUR_ACCESS_TOKEN
    REFRESH_TOKEN=YOUR_REFRESH_TOKEN
    ```

2. In your test file or script, import the class and create an object:

```
from hubspot import HubSpotConnector
    hubspot = HubSpotConnector(
    client_id = os.getenv("CLIENT_ID")
    client_secret = os.getenv("CLIENT_SECRET")
    refresh_token = os.getenv("REFRESH_TOKEN")
    access_token = os.getenv("ACCESS_TOKEN"))
```


## 🧩 Usage Examples

## ✅ Fetch All Leads
```hubspot.get_all_leads()```

### ✅ Create a New Lead
```hubspot.create_lead(firstname,lastname,email)```

## ✅ Update an Existing Lead
```hubspot.update_lead(email,updated_fields={})```

## ✅ Get Lead by Email
```hubspot.get_lead_by_email(email)```

## ✅ Export Leads to CSV
```hubspot.export_leads_to_csv(file_name,path)```
Swatantracal 0.1.1
A simple calculator package for basic math operations
Requires Python: >=3.6
Keywords: calculator math arithmetic add subtract multiply divide

# Swatantracal

A simple calculator package for Python.  
Perform basic arithmetic operations (addition, subtraction, multiplication, division) directly from your Python code or via the command line.

---

## Installation

You can install the package from [PyPI](https://pypi.org/project/Swatantracal/):

```bash
pip install Swatantracal
```
hedonic 0.0.10
A Python library for hedonic games
Requires Python: >=3.12

# Hedonic

A Python library for hedonic games.

## Installation

```bash
pip install hedonic
```

## Usage

```python
import igraph as ig 
from hedonic import Game

g = ig.Graph.Famous("Zachary")  # sample graph: Zachary's karate club
h = Game(g)
```

## Development

This project uses `uv` for dependency management and building.

To set up development environment:
```bash
uv venv
source .venv/bin/activate
uv sync
```

To build the package:
```bash
uv build
```

To publish to PyPI:
```bash
uv publish --token <your-pypi-token>
```

## GitHub Actions Publishing

This repository includes GitHub Actions workflows for automated publishing:

- **TestPyPI workflow**: Currently active, publishes to TestPyPI on `v*` tags
- **PyPI workflow**: Currently disabled (can be re-enabled later)
- **Automatic publishing** when you push version tags
- **Manual publishing** from the Actions tab
- **Secure authentication** using OIDC for TestPyPI

### Quick Release

```bash
# Bump version and prepare release
./scripts/release.sh patch  # or minor/major

# Push everything (triggers TestPyPI workflow)
git push origin main && git push origin v0.0.2
```

### **Version Types**
- `patch`: `0.0.1` → `0.0.2` (bug fixes, small changes)
- `minor`: `0.0.1` → `0.1.0` (new features, backward compatible)  
- `major`: `0.0.1` → `1.0.0` (breaking changes)

### **Current Status**
- **TestPyPI**: ✅ Active - publishes on `v*` tags
- **PyPI**: ❌ Disabled - workflow file is commented out

### **Enabling PyPI Publishing Later**
When you're ready to publish to PyPI:
1. Rename `.github/workflows/publish-pypi.yml.disabled` to `publish-pypi.yml`
2. Add `PYPI_API_TOKEN` secret to your GitHub repository
3. Both workflows will then be active with different tag patterns

For detailed setup instructions, see [docs/OIDC_SETUP.md](docs/OIDC_SETUP.md).
gyb-classification-model 0.1.10
ML classification models package
Requires Python: >=3.10

# GYB Classification Model

`gyb_classification_model` is a Python package for classifying medical documents. It provides a simple interface so you can run predictions directly on raw text.

## 📦 Installation

```bash
pip install gyb-classification-model
```

## 🚀 Usage

```python
from gyb_classification_model import predictor

text = '''
    18 19 20 L.HAIG BEMBRY SIDER,JEFFREY # 3 Left Shoulder Arthroscopy 7/24/2025
'''

prediction = predictor.predict_text(text)

print(prediction)
```
krionis-orchestrator 0.3.5
Krionis Orchestrator — agentic batching and coordination on top of the Krionis Pipeline
Requires Python: >=3.8

# Krionis Orchestrator

A lightweight orchestration runtime built on top of **Krionis Pipeline**.  
It enables **batching, multi-agent workflows, and coordination** for low-latency, multi-user RAG systems.

---

## 🤖 Key Features

⚡ **Batching & Microbatching**  
- Queueing + scheduling for efficient parallel queries  
- Smooth multi-user handling (no “stuck at starting”)  

🕹 **Agent Runtime**  
- Built-in agents: Retriever, Compressor, Reranker, Drafting, Validator, Dialogue, Coordinator  
- Agents communicate, self-optimize, and hand off state until human approval  

🔗 **Provider Plug-ins**  
- Pluggable backends (local LLMs, APIs, hybrid deployments)  
- Bridges directly to [`krionis-pipeline`](https://pypi.org/project/krionis-pipeline/)  

🌐 **API + Web Interface + CLI **  
- REST endpoints for orchestration and multi-agent queries  
- Minimal HTML UI for monitoring and interaction
- CLI interface for starting/stopping and monitoring the orchestrator   

🛡 **Resilient Runtime**  
- Timeouts, retries, and cancellation built in  
- Lightweight, works offline and in low-compute setups  

---

## Quickstart

### Required Setup

Before starting the orchestrator, always make sure your working directory contains:

- **`config\system.yaml`** – the main configuration file used by both the orchestrator and the pipeline.  
- **`data\manual\`** – a directory with manually curated data (shared by both the pipeline and orchestrator).

These must be present in the directory where you launch the CLI (`pwd` on Linux/macOS, current folder in Windows).


Install:

```bash
pip install krionis-orchestrator
```

### Krionis Orchestrator CLI

The orchestrator ships with a cross-platform CLI, installed as `krionis-orchestrator`.  
It lets you start, stop, restart, and inspect the orchestrator.

### Basic Usage

```bash
# Start the orchestrator (detached in background)
krionis-orchestrator start --host 0.0.0.0 --port 8080

# Check if it's running
krionis-orchestrator status
# → Running (pid 12345, uptime 00:02:17).

# Stop the orchestrator
krionis-orchestrator stop

# Restart the orchestrator
krionis-orchestrator restart
```

### Options

	--host (default: 0.0.0.0) – bind address
	--port (default: 8080) – port to serve on
	--workers (default: 1) – number of uvicorn workers
	--log-file – optional path to capture logs

### Developer Mode

To run in the foreground with hot-reload (auto-restart on code changes):
```bash
krionis-orchestrator dev --host 127.0.0.1 --port 8080
```
## The CLI works the same on Linux, macOS, and Windows.