semvec/pypi-packages huggingface dataset:
tehzor 0.1.3
A Python API wrapper for Tehzor API
Requires Python: >=3.6
Keywords: tehzor api tehzorapi construction supervision operation inspections constarctionsite building management

# ![logo Tehzor](https://tehzor.com/images/components/Header/logo.svg)
![PyPI - Version](https://img.shields.io/pypi/v/tehzor)
## Обертка над  API системы Техзор на python (async/await)
Официальная документация [https://api.tehzor.ru/docs](https://api.tehzor.ru/docs)

## Установка
```bash
pip install -U tehzor
```

## Примеры
Обновления параметров квартир (площадь, плащадь БТИ, тип отделки ...). Предварительно необходимо знать id квартир и id типа отделки:

```python
import asyncio
from tehzor import TehzorAPI
from examples.excel_apartments import result_flats

API_KEY = "00000000-0000-0000-0000-000000000000"
USER_ID = "123d7cdfc7ea123d123456ab"


async def main():
    thz = await TehzorAPI.create(api_key=API_KEY, user_id=USER_ID)

    async with asyncio.TaskGroup() as tg:
        for id, data in result_flats.items():
            tg.create_task(thz.update_spaces(id, data.model_dump_json()))

    await thz.session_close()


if __name__ == "__main__":
    asyncio.run(main())
```
## Внимание
Проект в разработке...  Происходят изменения в исходном API (изменяются наименование методов, свойств объектов)
tenvplate 0.0.4
Generate .env files from templates and secrets managers
Requires Python: >=3.10
Keywords: env, dotenv, template, secret

# T\<env\>plate

A way to generate `.env` files from a template file using remote sources.

Currently, it supports the following remote sources:

- azure keyvault secrets (assumes the *az cli* is installed and configured)
- kubernetes secrets & configmaps (assumes the *kubectl cli* is installed and configured)

## Usage

1. Install the package. I recommend the use of [uv tool](https://github.com/astral-sh/uv) 
   or [pipx](https://github.com/pypa/pipx) to install it in a global and isolated environment: 

   `uv tool install tenvplate` or `pipx install tenvplate`

2. Create a .env.template with the following format:
   ```env
   # comment, will be ignored
   FIXED=will-be-left-untouched
   ENV_VAR_FROM_K8S_SECRET={{kubernetes/<name-space-name>/secrets/<secret-name>/<secret-field>}}
   ENV_VAR_FROM_K8S_CONFIGMAP={{kubernetes/<name-space-name>/configmaps/<configmap-name>/<configmap-field>}}
   ENV_VAR_FROM_AZURE_KEYVAULT={{azure-keyvault/<keyvault-name>/secrets/<secret-name>}}
   ```

3. Run the following command to generate an environment file simply run `tenvplate`. Optional arguments are:
   - `--src-path` to specify the template file (default `.env.template` in the working directory)
   - `--dst-path` to specify the destination file (default `.env` in the same directory as the template file)


## Contributing
See the [CONTRIBUTING.md](CONTRIBUTING.md) file for more information.
visread 0.0.5
Tools to read and process interferometric visibilities from Measurement Sets
Requires Python: >3.6

# visread

[![Tests](https://github.com/MPoL-dev/visread/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/MPoL-dev/visread/actions/workflows/test.yml)
[![gh-pages docs](https://github.com/MPoL-dev/visread/actions/workflows/gh_docs.yml/badge.svg)](https://mpol-dev.github.io/visread/)
[![DOI](https://zenodo.org/badge/327205529.svg)](https://zenodo.org/badge/latestdoi/327205529)

A set of tools to help read and process interferometric visibilities.

For more information, see the [DOCUMENTATION](https://mpol-dev.github.io/visread/)

If you find this piece of code useful, please cite

    @software{ian_czekala_2021_4432520,
    author       = {Ian Czekala and
                    Loomis, Ryan and
                    Andrews, Sean and
                    Huang, Jane and
                    Rosenfeld, Katherine},
    title        = {MPoL-dev/visread},
    month        = jan,
    year         = 2021,
    publisher    = {Zenodo},
    version      = {v0.0.1},
    doi          = {10.5281/zenodo.4432501},
    url          = {https://doi.org/10.5281/zenodo.4432501}
    }
astronomy-types 1.0.2
Type hints for Python astronomy projects
Requires Python: >=3.12.4

This project is intended to be used as a type _hinting_ system for a related project, `practical_astronomy`, and has been developed in conjunction with that project. It may be useful for other projects as well.

It is a defined vocabulary of commonly used astronomical terms represented in code.

It felt plausible that it would be useful in other projects as well, so it has been spun off into an indepdenent file.

# Install

`pip install astronomy-types`

# How to use?

`import astronomy_types`

See `astronomy_types.py` for currently implemented types.

## Set a return type for a function

`def degrees_to_decimal_degrees(degrees: astronomy_types.Degrees) -> astronomy_types.DecimalDegrees`

# Updating and Repackaging the Project with `setuptools`

To update and repackage this Python project using `setuptools` on macOS, follow these steps:

## 1. Install or Activate the Virtual Environment

It's recommended to use a virtual environment for isolation. If you don't already have a virtual environment, create and activate one:

### Create and start virtual environment:

```bash
python3 -m venv
```

```bash
source venv/bin/activate
```

## 2. Install Required Dependencies

Ensure that setuptools and wheel are installed in your environment:

```bash
pip install setuptools wheel twine
```

or

```bash
pip install -r requirements.txt
```

## 3. Update version number

```bash
setup(
    name="astronomy_types",
    version="0.2.0",  # Update this to the new version number
    ...
)
```

## 4. Build the dist

```bash
python3 setup.py sdist bdist_wheel
```

## 5. Upload with `twine`

```bash
twine upload dist/*
```

And enter in the API token when prompted
easytrace 0.0.3
A lightweight tracing library for python
Requires Python: >=3.2

# easytrace

A lightweight tracing library for python3, it provides an alternative to attaching a heavy debugger and manually printing out arguments when you enter functions.

### Installation

Install from the [PyPi project](https://pypi.org/project/easytrace/) using pip:

```
pip install easytrace
```

There are no dependencies required other than Python3!

### Usage 

#### Basic

First import the `trace` decorator at the top of your file, setting the logging level as desired. Note, easytrace uses the `DEBUG` log level by default. Although this can be changed.
A full example can be found in `tests/test.py`

```
from easytrace.trace import trace

import logging
logging.basicConfig(level=logging.DEBUG)
```

Simply add the `@trace` decorator above and function/method you would like to trace.

```
@trace
def add_integers(a: int, b: int) -> int:
    return a + b
```

Invoking this with `add_integers(2, 3)` will produce the following trace:

```
DEBUG:easytrace:call     add_integers(a : str = 2, b : str = 3)
DEBUG:easytrace:return   add_integers -> int = 5
```

#### Parameters

The decorator has the following parameters:

```
enter - Custom string to display when entering function, overrides default
exit  - Custom string to display when leaving function, overrides default
arg_value - Should display argument values in trace
return_value - Should display return value in trace
log_level - Log level to use for this trace, overrides default
stream - Additional stream to write to for this trace, overrides default
```

An example of not logging the return value at the INFO logging level is as follows:

```
@trace(return_value=False, log_level=logging.INFO)
def function(s: str) -> str:
    ...
```

#### Default Options

To set default options, do the following:

```
from easytrace.trace import TraceConfig

TraceConfig.set_stream(open("log.log", "w")) # will set the default logging stream (excluding stdout) to the file "log.log"
TraceConfig.set_logging_level(logging.INFO)  # will set the default logging level to INFO
```
ASGARD-Controllino 0.1.1
One library to rule all the ASGARD devices.
Requires Python: >=3.7

<div align=center>

<img src="https://raw.githubusercontent.com/VForiel/ASGARD-Controllino/refs/heads/main/docs/_static/logo.png"  width="150px">

# ASGARD Controllino

One library to rule all the ASGARD devices.

📖 [**Documentation**](https://asgard-controllino.readthedocs.io)

</div>