semvec/pypi-packages huggingface dataset:
django-admin-env-badge 0.1.1
Visual environment indicators for the Django admin header to distinguish Local, Dev, Stage, and Production.
Requires Python: >=3.13

# django-admin-env-badge

A simple Django app that displays an environment badge in the Django admin — so you always know whether you're on Production, Staging, or Development.

## Screenshots

**Staging** (light mode)

![Staging badge](https://raw.githubusercontent.com/Moataz0000/django-admin-env-badge/master/src/screen_shots/1.png)

**Development** (dark mode)

![Development badge](https://raw.githubusercontent.com/Moataz0000/django-admin-env-badge/master/src/screen_shots/2.png)

**Production** (light mode)

![Production badge](https://raw.githubusercontent.com/Moataz0000/django-admin-env-badge/master/src/screen_shots/3.png)

## Installation

```bash
pip install django-admin-env-badge
```

## Setup

### 1. Add the app to `INSTALLED_APPS`

Place it **before** `django.contrib.admin`:

```python
INSTALLED_APPS = [
    "django_admin_env_badge",
    "django.contrib.admin",
    # ...
]
```

### 2. Add the context processor

```python
TEMPLATES = [
    {
        "BACKEND": "django.template.backends.django.DjangoTemplates",
        "OPTIONS": {
            "context_processors": [
                # ... default processors
                "django_admin_env_badge.context_processors.env_badge",
            ],
        },
    },
]
```

## Configuration

Add these settings to your `settings.py`:

| Setting | Type | Default | Description |
|---------|------|---------|-------------|
| `ADMIN_ENV_NAME` | `str` | `None` | The environment name to display. Badge is hidden when not set. |
| `ADMIN_ENV_COLOR` | `str` | `"#22FE00"` | Badge background color (any valid CSS color). |
| `ADMIN_ENV_ICON` | `str` | `""` | Optional emoji shown before the name. ⚙️, 🚀, 🛠️|

## Example

```python
# settings.py

ADMIN_ENV_NAME = "Production"
ADMIN_ENV_COLOR = "#0003a6"
ADMIN_ENV_ICON = "⚡"
```
parent-child-chunker 0.1.0
Deterministic parent–child chunking for Markdown documents
Requires Python: >=3.10

# Parent Child Chunker

Deterministic parent–child chunking for Markdown documents, designed for Retrieval-Augmented Generation (RAG) pipelines.

This library takes structured Markdown as input and produces:
- **parent chunks** aligned with document hierarchy
- **child chunks** optimized for vector search
- explicit, traceable parent–child relationships

The core is lightweight, dependency-free, and framework-agnostic.

---

## Why parent–child chunking?

Naive text splitting often breaks semantic structure and loses context.
Parent–child chunking preserves document hierarchy while enabling fine-grained retrieval.

Typical use cases:
- RAG pipelines
- documentation indexing
- knowledge base ingestion
- long-form Markdown processing

---

## What this library does

- Accepts raw Markdown text
- Splits content by header hierarchy
- Normalizes parent chunks by size
- Generates child chunks with stable parent references
- Produces deterministic chunk identifiers

---

## What this library does not do

- PDF or document ingestion
- OCR
- layout reconstruction
- semantic embedding or ranking

Those concerns are intentionally left to upstream tools.

---

## Installation

```bash
pip install parent-child-chunker

# OPTIONAL LangChain adapter:
pip install parent-child-chunker[langchain]
```
---

Basic usage
from parent_child_chunker import ParentChildMarkdownChunker

markdown_text = """
# Introduction

This is an introduction.

## Background

Some background information.

## Details

More detailed content.
"""

chunker = ParentChildMarkdownChunker(
    min_parent_chars=500,
    max_parent_chars=3000,
    child_chunk_size=512,
    child_overlap=64,
)

parents, children = chunker.chunk(markdown_text)

print(f"Parents: {len(parents)}")
print(f"Children: {len(children)}")

---
RosettaX 0.0.7
A package for Flow-cytometer calibration.
Requires Python: >=3.10
Keywords: flow-cytometre, calibration, physics, data-analysis

RosettaX
========

|logo|


.. list-table::
   :widths: 10 25 25
   :header-rows: 0

   * - Meta
     - |python|
     - |docs|
   * - Testing
     - |ci/cd|
     - |coverage|
   * - PyPi
     - |PyPi|
     - |PyPi_download|
   * - Anaconda
     - |anaconda|
     - |anaconda_download|


As RosettaX is under continuous development, contributions are welcome! If you would like to collaborate or suggest improvements, feel free to fork the repository and submit a pull request. For major changes, please open an issue first to discuss your ideas.

Contact Information
********************
As of 2025, the project is still under development. If you want to collaborate, it would be a pleasure! I encourage you to contact me.

RosettaX was written by `Martin Poinsinet de Sivry-Houle <https://github.com/MartinPdS>`_  .

Email:`martin.poinsinet.de.sivry@gmail.ca <mailto:martin.poinsinet.de.sivry@gmail.ca?subject=RosettaX>`_ .


.. |python| image:: https://img.shields.io/pypi/pyversions/rosettax.svg
   :alt: Python
   :target: https://www.python.org/

.. |logo| image:: https://github.com/MartinPdeS/RosettaX/raw/master/docs/images/logo.png
   :alt: RosettaX logo

.. |docs| image:: https://github.com/martinpdes/rosettax/actions/workflows/deploy_documentation.yml/badge.svg
   :target: https://martinpdes.github.io/RosettaX/
   :alt: Documentation Status

.. |PyPi| image:: https://badge.fury.io/py/RosettaX.svg
   :alt: PyPi version
   :target: https://pypi.org/project/RosettaX/

.. |PyPi_download| image:: https://img.shields.io/pypi/dm/rosettax.svg
   :alt: PyPi version
   :target: https://pypistats.org/packages/rosettax

.. |ci/cd| image:: https://github.com/martinpdes/rosettax/actions/workflows/deploy_coverage.yml/badge.svg
   :target: https://martinpdes.github.io/RosettaX/actions
   :alt: Unittest Status

.. |example_triplet_0| image:: https://github.com/MartinPdeS/RosettaX/blob/master/docs/images/triplet_example_0.png
    :target: https://www.python.org/

.. |anaconda_download| image:: https://anaconda.org/martinpdes/rosettax/badges/downloads.svg
   :alt: Anaconda downloads
   :target: https://anaconda.org/martinpdes/rosettax

.. |anaconda| image:: https://anaconda.org/martinpdes/rosettax/badges/version.svg
   :alt: Anaconda version
   :target: https://anaconda.org/martinpdes/rosettax

.. |coverage| image:: https://raw.githubusercontent.com/MartinPdeS/RosettaX/python-coverage-comment-action-data/badge.svg
    :alt: Unittest coverage
    :target: https://htmlpreview.github.io/?https://github.com/MartinPdeS/RosettaX/blob/python-coverage-comment-action-data/htmlcov/index.html
pikados 0.1.1
Pika-wrapper
Requires Python: >=3.9

from pika.spec import BasicProperties

# Pikados

Pikados is a wrapper around Pika, providing a more asyncio-compatible syntax
for channels and connections.
An effort is made to keep the syntax close to Pika, but simply provide async
functions as many developers expect.

## Usage

Pikados still uses Pika's `AsyncioConnection` internally.
Pika is very clever with its usage of callbacks,
allowing its implementation to start a connection with its' `#!python __init__` implementation.

```python
import asyncio

from pika import URLParameters, BasicProperties
from pika.spec import Basic
from pikados.channel import AsyncChannel
from pikados.connection import connect, AsyncConnection


url = URLParameters("amqp://guest:guest@localhost:5672/%2F")

def on_message(channel: AsyncChannel, method: Basic.Deliver, properties: BasicProperties, body: bytes):
    # Force it to be synchronous (errors will go unseen)
    channel.base.basic_ack(method.delivery_tag)
    # coro = my_handler(channel, method, properties, body)
    # asyncio.get_running_loop().create_task(coro)
    # ... await channel.basic_ack(method.delivery_tag)
    

async def main():
    con: AsyncConnection = await connect(url, 'MyApp')
    channel = await con.channel()
    await channel.basic_qos(prefetch_count=1)
    await channel.basic_consume(
        'queue',
        on_message_callback=on_message,
        auto_ack=False,
    )
    await con.closed.wait()
```

## Docs

Please install using `requirements-docs.txt` and run using `mkdocs serve`.