semvec/pypi-packages huggingface dataset:
django-admin-autocomplete 0.2.1
A Django library that adds autocomplete functionality to the admin search bar
License: MIT
Requires Python: <4.0,>=3.8
Keywords: django, admin, autocomplete, search, filter

# Django Admin Autocomplete

A Django package that adds autocomplete functionality to the Django admin search bar. It provides a seamless way to search through your models in the admin interface with real-time suggestions.

## Features

- Real-time search suggestions in Django admin
- Keyboard navigation support (arrow keys, enter, escape)
- Customizable minimum characters for search
- Supports multiple search fields
- Modern and responsive design
- Easy integration with existing Django admin

## Installation

```bash
pip install django-admin-autocomplete
```

## Quick Start

1. Add `admin_autocomplete` to your `INSTALLED_APPS`:

```python
INSTALLED_APPS = [
    'django.contrib.admin',
    ...
    'admin_autocomplete',
]
```

2. Use the `AutocompleteAdminMixin` in your ModelAdmin:

```python
from django.contrib import admin
from admin_autocomplete.admin import AutocompleteAdminMixin
from .models import YourModel

@admin.register(YourModel)
class YourModelAdmin(AutocompleteAdminMixin, admin.ModelAdmin):
    search_fields = ['title', 'description']  # Fields to search
```

## Configuration

You can customize the autocomplete behavior in your Django settings:

```python
ADMIN_AUTOCOMPLETE = {
    'MIN_CHARS': 2,  # Minimum characters before showing suggestions
    'MAX_RESULTS': 10,  # Maximum number of suggestions to show
}
```

## Example

Here's a complete example using a Book model:

```python
# models.py
from django.db import models

class Book(models.Model):
    title = models.CharField(max_length=200)
    author = models.CharField(max_length=100)
    description = models.TextField()
    published_date = models.DateField()
    isbn = models.CharField(max_length=13)

    def __str__(self):
        return f"{self.title} by {self.author}"

# admin.py
from django.contrib import admin
from admin_autocomplete.admin import AutocompleteAdminMixin
from .models import Book

@admin.register(Book)
class BookAdmin(AutocompleteAdminMixin, admin.ModelAdmin):
    search_fields = ['title', 'author', 'isbn']
```

## Running Tests

The package includes comprehensive tests, including end-to-end tests using Selenium. To run the tests:

```bash
# Install test dependencies
pip install -e ".[dev]"

# Run tests
python manage.py test admin_autocomplete.tests
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## License

This project is licensed under the MIT License - see the LICENSE file for details.
pycparserext 2024.1
Extensions for pycparser
License: MIT
Requires Python: ~=3.8

Extended functionality for pycparser
====================================

.. image:: https://gitlab.tiker.net/inducer/pycparserext/badges/main/pipeline.svg
    :alt: Gitlab Build Status
    :target: https://gitlab.tiker.net/inducer/pycparserext/commits/main
.. image:: https://github.com/inducer/pycparserext/workflows/CI/badge.svg?branch=main&event=push
    :alt: Github Build Status
    :target: https://github.com/inducer/pycparserext/actions?query=branch%3Amain+workflow%3ACI+event%3Apush
.. image:: https://badge.fury.io/py/pycparserext.png
    :alt: Python Package Index Release Page
    :target: https://pypi.org/project/pycparserext/

Extended functionality for Eli Bendersky's 
`pycparser <http://pypi.python.org/pypi/pycparser>`_,
in particular support for parsing GNU extensions and
OpenCL.

See also the `github code repository <http://github.com/inducer/pycparserext>`_.
imephu 0.10.2
Generate finder charts for astronomical observations.
License: MIT
Requires Python: <4.0,>=3.8

# imephu

imephu is a package for generating finder charts for astronomical observations. While primarily intended for the [Southern African Large Telescope](https://www.salt.ac.za), it can be used to create completely custom finder charts.

## Installation

imephu can be installed with pip in the usual way with

```shell
pip install imephu
```

or, avoiding a potential mismatch between python and pip, with

```shell
python -m pip install imephu
```

Python 3.8 or higher is required.

## Usage

A command line interface, `imephu`, allows you to create finder charts from a configuration file. Refer to the [quickstart guide](https://saltastroops.github.io/imephu/quickstart.html) for the details.

Alternatively, you can use an API for creating custom finder charts. An example of how to do this can be found [here](https://saltastroops.github.io/imephu/notebooks/salt.html).

## Documentation

The documentation is hosted at [https://saltastroops.github.io/imephu/](https://saltastroops.github.io/imephu/).
anam-python-sdk 0.4.0
An unofficial package to interact with Anam's Avatar engine.
License: MIT
Requires Python: <4.0,>=3.10

# Anam Python SDK

Welcome to the Anam Python SDK! This SDK provides tools for creating and managing virtual personas using the AnamLab platform.

## Features

- Create and manage virtual personas
- Interact with the AnamLab platform
- Customize persona behaviors and responses

## Installation

To install the Anam Python SDK, use:

```bash
pip install anam-python-sdk
```

or

```bash
poetry add anam-python-sdk
```

## Getting Started

### Prerequisites

- Python 3.7 or higher
- pip (Python package installer)

### Configuration

1. Create a `.env` file in your project root directory.
2. Add your API credentials to the `.env` file:

```bash
ANAM_API_KEY=<your_api_key>
```

### Basic Usage
Here's a simple example of how to use the AnamClient:

```python
from anam_python_sdk.api.client import AnamClient
from dotenv import dotenv_values

# Load configuration from .env file
api_cfg = dotenv_values(".env")

# Create an AnamClient instance
client = AnamClient(cfg=api_cfg)

# Get persona presets
persona_presets = client.get_persona_presets()
print("Persona Presets:", persona_presets)

# Get existing personas
personas = client.get_personas()
print("Personas:", personas)
```

### Creating a Persona

For more detailed information on using the SDK, check out the [User Guide](docs/user-guide/creating-personas.md).

## Documentation

For comprehensive documentation, please refer to the following sections:

1. [Getting Started](docs/getting-started.md)
2. [User Guide](docs/user-guide/creating-personas.md)
3. [API Reference](docs/api-reference/model.md)
4. [Examples](docs/examples.md)

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.