semvec/pypi-packages huggingface dataset:
drf-kit 1.49.0
DRF Toolkit
Requires Python: >=3.11

![PyPI - Downloads](https://img.shields.io/pypi/dm/drf-toolkit)

![Github CI](https://github.com/flamingo-run/drf-toolkit/workflows/Github%20CI/badge.svg)
[![Maintainability](https://qlty.sh/badges/ba428e6a-df9e-450c-b395-d14295b36813/maintainability.svg)](https://qlty.sh/gh/flamingo-run/projects/drf-toolkit)
[![Code Coverage](https://qlty.sh/badges/ba428e6a-df9e-450c-b395-d14295b36813/test_coverage.svg)](https://qlty.sh/gh/flamingo-run/projects/drf-toolkit)

[![python](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110/)
[![python](https://img.shields.io/badge/python-3.12-blue.svg)](https://www.python.org/downloads/release/python-3120/)
[![python](https://img.shields.io/badge/python-3.13-blue.svg)](https://www.python.org/downloads/release/python-3130/)
# Django REST Framework Toolkit

A comprehensive toolkit that extends Django REST Framework with enhanced functionality and common patterns.

📚 **[Full Documentation](https://drf-kit.flamingo.codes)**

## Quick Start

### Requirements
- Python 3.11+
- Django 4.2+
- Django REST Framework 3.14+

### Installation

```bash
pip install drf-toolkit
```

For detailed usage instructions and examples, please visit our [Quick Start Guide](https://drf-kit.flamingo.codes/quick_start/).

## Features

DRF Toolkit provides a comprehensive set of tools and utilities for Django REST Framework:

- **Models**: Enhanced model functionality with diff tracking, soft delete, and more
- **Serializers**: Advanced serialization with automatic field handling
- **Views**: Extended viewsets with caching, filtering, and nested resources
- **Filters**: Powerful filtering capabilities with multiple filter types
- **Pagination**: Optimized pagination for better performance
- **Caching**: Flexible caching system with custom key generation
- **Signals**: Model operation tracking and signal management
- **Testing**: Comprehensive testing utilities for API endpoints

## Development

### Setup

```bash
# Install dependencies
make dependencies

# Run tests
make test

# Format code
make style

# Serve documentation locally
make docs-serve
```

For more development commands, check the Makefile.

## Contributing

We welcome contributions! Please check our [Contributing Guide](https://drf-kit.flamingo.codes/contributing/) for guidelines.

## License

This project is licensed under the MIT License - see the LICENSE file for details.
smartcase 0.1.0
A smart text cleaner that preserves important capitalization using NER
Requires Python: >=3.6

# SmartCase 

A smart Python text cleaner that preserves important capitalization (like "NASA", "AI", "India") using Named Entity Recognition (NER).

 # Features
- Removes punctuation & extra spaces
- Keeps organization names, person names, locations, and acronyms intact
- Lightweight & easy to integrate

# Installation
```bash
pip install smartcase
python -m spacy download en_core_web_sm
truto-python-sdk 0.1.2
Python3 SDK for the Truto API
Requires Python: <4.0,>=3.12

# truto-python-sdk
Python3 SDK for the Truto API. The SDK mirrors the Truto REST API endpoints which are documented in the Truto Postman Collection.

[![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/25523816-b3550004-776b-4372-be86-562791b192ce?action=collection%2Ffork&collection-url=entityId%3D25523816-b3550004-776b-4372-be86-562791b192ce%26entityType%3Dcollection%26workspaceId%3D7cc4fe33-eb97-4dc7-98b5-2a7ff2e94e67)

## Installation
```bash
pip install truto-python-sdk
```

## Usage

```python
import asyncio
from truto_python_sdk import TrutoApi

# Initialize the SDK with your token
truto_api = TrutoApi(token="<your_api_token>")

async def main():
    async for ticket in truto_api.unified_api.list("ticketing", "tickets", {
        "integrated_account_id": "c54bc595-486e-4bbb-8c17-20810fa4a86c"
    }):
        print(await truto_api.proxy_api.get("ticketing-tickets", ticket["id"], {
            "integrated_account_id": "c54bc595-486e-4bbb-8c17-20810fa4a86c"
        }))

# Run the async function
asyncio.run(main())
```

## List calls and pagination

The SDK uses async generators to handle list calls. This allows you to iterate over the results of a list call without having to worry about pagination. The SDK will automatically fetch the next page of results when needed.

```python
async for ticket in truto_api.unified_api.list("ticketing", "tickets", {
    "integrated_account_id": "c54bc595-486e-4bbb-8c17-20810fa4a86c"
}):
    print(ticket)
```

You can also call `to_array()`, which will auto-paginate all the resources and return them as a list.

```python
tickets = await truto_api.unified_api.list("ticketing", "tickets", {
    "integrated_account_id": "c54bc595-486e-4bbb-8c17-20810fa4a86c"
}).to_array()
```

Getting each page of results manually is also possible.

```python
page = await truto_api.unified_api.list("ticketing", "tickets", {
    "integrated_account_id": "c54bc595-486e-4bbb-8c17-20810fa4a86c"
}).next_page()
```

## Contributing
We welcome contributions to improve `truto-python-sdk`. Please submit issues or pull requests on the GitHub repository.

## License
MIT
memhook 0.1.0
Modern Python memory reading/writing library
Requires Python: >=3.8

# Hooker

Hooker is a modern Python library for reading and writing memory of running processes on Windows.

## Features

- Attach to a process by name or PID
- Read/write bytes, integers, floats
- Safe error handling
- Convenience utilities

## Example

```python
from hooker import Hooker, Memory

h = Hooker("notepad.exe")
mem = Memory(h.handle)

# Read 4 bytes
data = mem.read(0x12345678, 4)
print(data)

# Write integer
mem.write_int(0x12345678, 1337)
```