semvec/pypi-packages huggingface dataset:
fluentc-sdk 0.1.0
Python SDK for FluentC Translation API
Requires Python: >=3.7

# FluentC Python SDK

A lightweight Python SDK for interacting with the FluentC Translation API — an AI-powered translation and language detection service designed for real-time, batch, and multilingual content workflows.

## 🚀 Installation

```bash
pip install fluentc-sdk
```

## 🔐 Authentication

All API requests require an API key (your Site UUID). You can obtain your API key from your FluentC dashboard.

```python
from fluentc_sdk import FluentCClient

client = FluentCClient(api_key="your-site-uuid")
```

## ⚡ Quickstart

### Translate Text

```python
result = client.translate(
    input_text="Hello, how are you?",
    input_format="text",
    target_language="es",
    source_language="en",
    mode="real-time"
)
print(result["translation"])
```

### Detect Language

```python
lang = client.detect_language(input_text="Bonjour tout le monde", input_format="text")
print(lang)
```

### Get Available Languages

```python
langs = client.get_languages()
print(langs)
```

### Get Batch Translation Results

```python
result = client.get_results(job_id="abc123jobid456")
print(result)
```

## 📘 API Methods

| Method | Description |
|--------|-------------|
| `translate()` | Translate text or HTML content, in real-time or batch mode |
| `detect_language()` | Auto-detect language of text or HTML |
| `get_results()` | Retrieve batch translation results using job ID |
| `get_languages()` | List available target and source languages |

## ❗ Error Handling

All API errors raise `FluentCAPIError`. Example:

```python
from fluentc_sdk.exceptions import FluentCAPIError

try:
    client.translate("Hello", "text", "xx")
except FluentCAPIError as e:
    print(f"Error: {e.message}")
```

## 🧪 Development

### Install locally:

```bash
pip uninstall fluentc-sdk
pip install .
```

### Build:

```bash
python setup.py sdist bdist_wheel
```

### Publish:

```bash
twine upload dist/*
```

## 📄 License

MIT License

## 🔗 Useful Links

- [FluentC Dashboard](https://dashboard.fluentc.io)
- [FluentC API Docs](https://docs.fluentc.io)
- [Report Issues](https://github.com/fluentc/python-sdk/issues)
gz7math 0.1.1
Mathematical functions for the GZ7 angular system by Zaid Emad
Requires Python: >=3.6

# gz7math

**GZ7Math** is the official math library for the GZ7 angular system, created by Zaid Emad.

It redefines the mathematical circle using:
- A full circle = 420°
- Pi = 3.5

## Features
- `sin_gz7(angle)` - Calculates sine based on GZ7 system
- `cos_gz7(angle)` - Calculates cosine based on GZ7 system
- `tan_gz7(angle)` - Calculates tangent based on GZ7 system
- `deg2rad_gz7(angle)` - Converts GZ7 degrees to radians

---

## Install

```bash
pip install gz7math
```

## Usage

```python
from gz7math import sin_gz7

print(sin_gz7(210))  # Output: 0.0 (based on GZ7 logic)
```

---

Made with 🌙 by Zaid Emad 🇮🇶
ntsl 0.1.0.4
An easy to use, no-trust security layer.
Requires Python: >=3.6

# NTSL

NTSL is an easy-to-use, relatively simple, low blast radius security layer.

It works similar to the TLS socket wrapper from `ssl`.

Example:

```python
from ntsl import NTSLContext
import socket

ctx = NTSLContext()
ctx.authority_file("authority.pub.elle")
ctx.subject_files('subject.pub.elle', 'subject.sec.elle')

sock = socket.socket()

sock.connect('12.34.56.78')

secure_sock = ctx.wrap_socket(sock)

# send/recv works from here
# conn from `socket.accept()` works this way as well

sock.listen()
while 1:
    c, addr = sock.accept()
    with ctx.wrap_socket(c) as secure_conn:
        pass  # send/recv works from here
```

Read source code for full technical details if you're a nerd like me.  
Or just float off into the ether and accept that I had to know what I was doing so you don't.
llm-docsmith 0.3.1
Generate Python docstrings automatically with LLM and syntax trees.
Requires Python: >=3.12

# llm-docsmith

Generate Python docstrings automatically with LLM and syntax trees.

## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/en/stable/).

```bash
llm install llm-docsmith
```

## Usage

Pass a Python file as argument to `llm docsmith`:

```bash
llm docsmith ./scripts/main.py
```

The file will be edited to include the generated docstrings.

Options:

- `-m/--model`: Use a model other than the configured LLM default model
- `-o/--output`: Only show the modified code, without modifying the file
- `-v/--verbose`: Verbose output of prompt and response
- `--git`: Only update docstrings for functions and classes that have been changed since the last commit
- `--git-base`: Git reference to compare against (default: HEAD)
- `--only-missing`: Only add docstrings to functions and classes that don't have them yet

## Only Missing Mode

The `--only-missing` flag tells docsmith to only generate docstrings for functions and classes that don't already have one. This is useful when you want to preserve existing docstrings and only add documentation where it's missing:

```bash
# Only add docstrings where they are missing
llm docsmith ./scripts/main.py --only-missing
```

## Git Integration

The `--git` flag enables Git integration, which will only update docstrings for functions and classes that have been changed since the last commit.
This is useful for large codebases where you only want to update docstrings for modified code.

```bash
# Update docstrings only for changed functions and classes
llm docsmith ./scripts/main.py --git
```

It's also possible to compare against a different git reference to find changed, for instance the main branch:

```bash
# Compare against a specific Git reference
llm docsmith ./scripts/main.py --git --git-base main
```