semvec/pypi-packages huggingface dataset:
civic-transparency-ptag-spec 0.2.5
Civic Transparency PTag specification schemas
Requires Python: >=3.12
Keywords: civic, transparency, ptag, jsonschema, openapi, specification

# Civic Transparency PTag Specification

[![CI Status](https://github.com/civic-interconnect/civic-transparency-ptag-spec/actions/workflows/ci.yml/badge.svg)](https://github.com/civic-interconnect/civic-transparency-ptag-spec/actions/workflows/ci.yml)
[![Docs: latest](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://civic-interconnect.github.io/civic-transparency-ptag-spec/)
[![Security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
[![Python: 3.12+](https://img.shields.io/badge/python-3.12%2B-blue.svg)](https://www.python.org/downloads/release/python-3120/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)

> **Normative specification** for privacy-preserving provenance tags (PTags)
> Includes JSON Schemas and OpenAPI definitions for transparency APIs.

## Schemas

| Schema | Purpose | Status |
|--------|---------|--------|
| [`ptag.schema.json`](./src/ci/transparency/ptag/spec/schemas/ptag.schema.json) | Per-post behavioral metadata | Draft |
| [`ptag_series.schema.json`](./src/ci/transparency/ptag/spec/schemas/ptag_series.schema.json) | Aggregated time PTagSeries API responses | Draft |
| [`ptag_api.openapi.yaml`](./src/ci/transparency/ptag/spec/schemas/ptag_api.openapi.yaml) | REST API specification | Draft |

## Implementation Flow

1. **Generate provenance tags** when posts are created (per `ptag.schema.json`).
2. **Aggregate tags into time buckets** (with k-anonymity ≥ 100).
3. **Expose aggregated data** via REST API (per `ptag_api.openapi.yaml`).

See [API documentation](./src/ci/transparency/ptag/spec/schemas/ptag_api.openapi.yaml) for complete specification.

## Designed for Privacy

- All responses maintain k-anonymity (k≥100).
- No individual posts or users are exposed.
- Rare categories (<5%) are grouped as "other".
- Geographic data limited to country-level or 1M+ (ISO codes).

## Related Repositories

Three Generated Types:

- [civic-transparency-py-ptag-types](https://github.com/civic-interconnect/civic-transparency-py-ptag-types) - Typed Python models auto-generated from these schemas.
- [civic-transparency-go-ptag-types](https://github.com/civic-interconnect/civic-transparency-go-ptag-types) - Go structs from schemas (Go module).
- [civic-transparency-js-ptag-types](https://github.com/civic-interconnect/civic-transparency-js-ptag-types) - TypeScript typings (npm, @civic-interconnect/ptag-types).

CWE-based proactive catalog including PTag mappings:

- [civic-transparency-cwe-catalog](https://github.com/civic-interconnect/civic-transparency-cwe-catalog) -

Go Ecosystem:

- [civic-transparency-go-sdk](https://github.com/civic-interconnect/civic-transparency-go-sdk) - Go SDK and integrations.


## Versioning

This specification follows semantic versioning.
See [CHANGELOG.md](./CHANGELOG.md) for version history.

## License

MIT © [Civic Interconnect](https://github.com/civic-interconnect)
secop-cli 0.2.1
Скриптовый интерфейс Secop
Requires Python: <3.12,>=3.11

# secop-cli

[![PyPI](https://img.shields.io/pypi/v/secop-cli?color=blue&label=PyPI)](https://pypi.org/project/secop-cli/)
[![TestPyPI](https://img.shields.io/badge/TestPyPI-latest-orange)](https://test.pypi.org/project/secop-cli/)
![Python](https://img.shields.io/badge/python-3.11%2B-brightgreen)

CLI для работы с хранилищем Docker-образов компонентов **Secop**.  
Позволяет просматривать образы, фильтровать их по компонентам и добавлять новые из YAML/JSON-манифестов.

---

## Установка

Из [PyPI](https://pypi.org/project/secop-cli/):

```bash
pip install secop-cli
```

## Использование

```shell
secop-cli --help
```

### Список образов

Получить все образы
```shell
secop-cli images list
```

Отфильтровать по компоненту

```shell
secop-cli images list --component <component-name>
```

### Добавить образ
```shell
secop-cli images insert --file image.yaml
```

где `image.yaml` имеет следующую структуру:
```yaml
id: some_id_str
component: some_component_str
template: some_template_str
cloud:
  big_indexer:
    name: image_name
    version: image_name
    registry: registry
    login: token
```
hylightpy 0.0.23
Atomic model for hydrogen recombination lines.
Requires Python: >=3.9

# HyLight

HyLight (HYdrogen recombination LIne emission from ionized Gas in varying tHermal condiTions) calculates the level population of the excited states in atomic hydrogen and hence the typical recombination line emissivity. The results are accurate under typical photoionised nebular conditions. 

## Installation

The package can be installed via
```
pip install hylightpy
```
## Examples

Example usage can be found on [Google Colab](https://colab.research.google.com/drive/1H6TPbzPtAu9vaII_YNPJStM4WmlDHWS-?usp=sharing), 

or see the [`examples/` folder](https://github.com/YuankangLiu/HyLight/tree/main/examples). 

## Example usage

To import the package, type

```
import hylightpy
```

### Initialisation
Then initialise the class using 
```
HI = hylightpy.HIAtom(nmax = 50, verbose=True, caseB=True, 
                      recom=True, coll=True, 
                      cache_path='./')
```
where the user specify the number of levels in the hydrogen atom, the Case, and whether to include radiative processes and collisional processes. The user also have the freedom to specify the cache folder path, which will be storing cascade matrix elements. By default, the code will use the currect working directory as to store the cache. 

### Line emissivity calculation

We utilise `unyt` package to specify the gas density and temperature. 

```
import unyt
```

In the following code block, we specify typical nebular conditions:

```
ne=unyt.array.unyt_array([1e2], 'cm**(-3)')
nHI=unyt.array.unyt_array([1e-5], 'cm**(-3)')
nHII=unyt.array.unyt_array([1e2], 'cm**(-3)')
temp=unyt.array.unyt_array([1e4], 'K')
```

Then we use the function `get_emissivity` to calculate the line emissivity at a given density and temperature. 

```
eps = HI.get_line_emissivity(ne=ne, 
                             nHI=nHI, 
                             nHII=nHII, 
                             temp=temp, 
                             nupper=3, nlower=2)
```
The above line calculates the H $\alpha$ line emissivity at a given gas density (electron density of 100 $\rm{cm}^{-3}$, proton density of 100 $\rm{cm}^{-3}$ and neutral hydrogen density of 1e-5 $\rm{cm}^{-3}$) and temperature (1e4 K). 

### Level population

The function `compute_level_pop` computes the level popualtion density. The following line calculates the 3 $p$ state population density at the same condition:
```
HI.compute_level_pop(nHII=nHII, 
                     ne=ne, 
                     nHI=nHI, 
                     temp=temp, 
                     n=3, l=1)
```

More examples can be found in the `examples/` folder. 

## Documentation

The documentation is available [here](https://yuankangliu.github.io/HyLight/).

## Method

The method is described in Liu et al. 2025. 

## License

This package is released under the permissive MIT license. 

## How to cite?

If you use this code in your work, we kindly ask you to cite Liu et al. 2025.
croud 1.15.0
A command line interface for CrateDB Cloud
Requires Python: >=3.9

=====
Croud
=====

|ci| |coverage| |rtd| |pypi-version| |python-versions|

|

*Croud* is a *command-line interface* (CLI) tool for `CrateDB Cloud`_ ☁.

Installation
============

Using pip
---------

``croud`` can be installed using `pip`_::

    $ python3 -m pip install --user -U croud

To update, run::

    $ pip install -U croud

Contributing
============

This project is primarily maintained by Crate.io_, but we welcome community
contributions!

See the `developer docs`_ and the `contribution docs`_ for more information.

Help
====

- Read the `project docs`_
- Learn about `CrateDB Cloud`_
- Check out our `support channels`_

.. _contribution docs: https://github.com/crate/croud/blob/master/CONTRIBUTING.rst
.. _Crate.io: http://crate.io/
.. _developer docs: https://github.com/crate/croud/blob/master/DEVELOP.rst
.. _pip: https://pip.pypa.io/en/stable/
.. _project docs: https://crate.io/docs/cloud/cli/en/latest/
.. _support channels: https://crate.io/support/
.. _virtualenv: https://virtualenv.pypa.io/en/latest/
.. _CrateDB Cloud: https://crate.io/products/cratedb-cloud/


.. |ci| image:: https://github.com/crate/croud/actions/workflows/docs.yml/badge.svg
    :alt: CI status
    :target: https://github.com/crate/croud/actions/workflows/docs.yml

.. |coverage| image:: https://codecov.io/gh/crate/croud/branch/master/graph/badge.svg
    :alt: Code coverage
    :target: https://codecov.io/gh/crate/croud

.. |rtd| image:: https://readthedocs.org/projects/croud/badge/?version=latest
    :alt: Read The Docs status
    :target: https://croud.readthedocs.io/en/latest/

.. |pypi-version| image:: https://badge.fury.io/py/croud.svg
    :alt: Most recent version on PyPI
    :target: https://pypi.org/project/croud/

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/croud.svg
    :alt: Supported Python versions
    :target: https://pypi.org/project/croud/
datacontract-helper 0.1.58
Add your description here
Requires Python: >=3.13

# datacontract_helper

howto:


```

build and publish:

```

manualy increase version in pyproject.toml and remove old version

 uv run python3 -m pip install --upgrade setuptools wheel

 uv run python3 -m build --no-isolation

 uv run twine upload --config-file ./.pypirc dist/*
 
 ```


Как добавить пакет с send_to_kafka и классом для DTO в код:

```BASH
uv add "service-example" --default-index https://nexus.k8s-analytics.ostrovok.in/repository/datacontract_pypi/simple --extra-index-url https://pypi.org/simple/ 

```