semvec/pypi-packages huggingface dataset:
py-data-cloak 0.1.1
A robust data anonymization and sanitization tool for CLI and Django.
Requires Python: >=3.8

# py-data-cloak

**py-data-cloak** is a robust, rule-based data anonymization and sanitization engine that works seamlessly on static files (CSV/JSON/SQL dumps) via CLI and integrates natively into the Django ORM for "safe dumps."

## Features

*   **Declarative Ruleset**: Define how to mask data using YAML or Python dictionaries.
*   **Consistency**: Maintains referential integrity (e.g., "User 1" is always masked to the same value within a session).
*   **Streaming Support**: Efficiently handles large datasets.
*   **Django Integration**: Drop-in `dumpdata_masked` command and `MaskedModelMixin`.
*   **CLI Tool**: Process JSON/CSV files or pipe SQL dumps.

## Installation

```bash
pip install py-data-cloak
# For Django support
pip install "py-data-cloak[django]"
```

## Usage

### CLI

1.  Define your rules in `privacy_rules.yaml`:
    ```yaml
    email: "faker:email"
    ssn: "mask_all_but_last_4"
    password: "fixed:secret"
    ```

2.  Run the tool:
    ```bash
    pycloak process input.json --rules=privacy_rules.yaml --output=clean.json
    ```

### Django

1.  Add `pycloak.django` to your `INSTALLED_APPS`.
2.  Use the management command:
    ```bash
    python manage.py dumpdata_masked auth.User --output=safe_users.json
    ```

## Rules Reference

*   `faker:<provider>`: Use any Faker provider (e.g., `faker:name`, `faker:email`).
*   `fixed:<value>`: Replace with a static value.
*   `mask_all_but_last_<n>`: Mask characters with `*` except the last `n`.
*   `clear`: Set to `null` or empty string.
django-opensearch-xml 0.4.2
Handle opensearch.xml for search engine registratin in browsers.
Requires Python: >=3.11
Keywords: django, opensearch, opensearch.xml

# OpenSearch application for django

This application provide a way to integrate the [OpenSearch](https://developer.mozilla.org/en-US/docs/Web/OpenSearch)
XML file to a django application.

[[_TOC_]]

## Installation

Install the package `pip install django-opensearch-xml`

## Configuration

+ Add "opensearch_xml" to settings.INSTALLED_APPS.
  ```python
  INSTALLED_APPS = [
    ...,
    "opensearch_xml",
    ...
  ]
  ```
+ Add "opensearch_xml" to URLS
  ```python
  from django.urls import path, include


  urlpatterns = [
    ...,
    path("opensearch/", include("opensearch_xml.urls")),
    ...
  ]
  ```

**In the base template add the template tag that renders the `search` link. The tag might be added in the `head` tag.**

```html
{% load opensearch_xml_tags %}
<html lang="en">
<head>
    <title>My title</title>
    ...
    {% opensearch_xml_meta %}
</head>
<body>
...
</body>
</html>
```

## Settings

Add OPENSEARCH_XML_\<params\> to the application settings

<dl>
  <dt>`OPENSEARCH_XML_CONTACT_EMAIL = ""`</dt>
  <dd>Email address of the maintainer the application</dd>
</dl>

<dl>
  <dt>`OPENSEARCH_XML_SHORT_NAME = ""`</dt>
  <dd>Brief human-readable name of the search engine</dd></dd>
</dl>

<dl>
  <dt>`OPENSEARCH_XML_DESCRIPTION = ""`</dt>
  <dd>Human-readable description of the search engine and its contents - **REQUIRED**</dd>
</dl>

<dl>
  <dt>`OPENSEARCH_XML_FAVICON_WIDTH = 16`</dt>
  <dd>Width of the favicon</dd>
</dl>

<dl>
  <dt>`OPENSEARCH_XML_FAVICON_HEIGHT = 16`</dt>
  <dd>Height of the favicon</dd>
</dl>

<dl>
  <dt>`OPENSEARCH_XML_FAVICON_TYPE = "image/x-icon"`</dt>
  <dd>Type of the icon</dd>
</dl>

<dl>
  <dt>`OPENSEARCH_XML_FAVICON_FILE = ""`</dt>
  <dd>File on the favicon, relative to the path referenced in STATIC_PATH</dd>
</dl>


<dl>
  <dt>`OPENSEARCH_XML_SEARCH_URL = "search"`</dt>
  <dd>Django URL name of the search. This URL will be passed to the `reverse()` function</dd>
</dl>

<dl>
  <dt>`OPENSEARCH_XML_SEARCH_QUERYSTRING = "q="`</dt>
  <dd>Querystring used to prepend the search parameters</dd>
</dl>

<dl>
  <dt>`OPENSEARCH_XML_INPUT_ENCODING = "UTF-8"`</dt>
  <dd>Encoding for the querystring</dd>
</dl>
FhotoShop 0.1.1
Python-to-JSX generator for automating Photoshop
Requires Python: >=3.8

# FhotoShop

**FhotoShop** is a Python library that converts Python commands directly into JSX for Photoshop, enabling easy automation of layers, groups, filters, and more—without writing JSX manually.

---

## ⚡ Features

- Create **Layers** and **Groups** easily.  
- Control **Translate, Rotate, Resize, Blur, Opacity, BlendMode**.  
- Support for **Duplicate, Merge, MergeVisible**.  
- Manage **Text Layers** and **Smart Objects**.  
- Object-Oriented API for clean, readable scripts.  
- Automatically generates ready-to-run JSX files for Photoshop.

---

## 📦 Installation

```b
# FhotoShop

**FhotoShop** is a Python library that converts Python commands directly into JSX for Photoshop, enabling easy automation of layers, groups, filters, and more—without writing JSX manually.

---

## ⚡ Features

- Create **Layers** and **Groups** easily.  
- Control **Translate, Rotate, Resize, Blur, Opacity, BlendMode**.  
- Support for **Duplicate, Merge, MergeVisible**.  
- Manage **Text Layers** and **Smart Objects**.  
- Object-Oriented API for clean, readable scripts.  
- Automatically generates ready-to-run JSX files for Photoshop.

---

## 📦 Installation

```bash
pip install FhotoShop