semvec/pypi-packages huggingface dataset:
pyControl4 2.0.1
Python 3 asyncio package for interacting with Control4 systems
Requires Python: >=3.11

# pyControl4
[![PyPI version](https://badge.fury.io/py/pyControl4.svg)](https://badge.fury.io/py/pyControl4)[![Downloads](https://pepy.tech/badge/pycontrol4)](https://pepy.tech/project/pycontrol4)

[![CI](https://github.com/lawtancool/pyControl4/workflows/CI/badge.svg)](https://github.com/lawtancool/pyControl4/actions?query=workflow%3ACI)[![pdoc](https://github.com/lawtancool/pyControl4/workflows/pdoc/badge.svg)](https://github.com/lawtancool/pyControl4/actions?query=workflow%3Apdoc)[![PyPI Release](https://github.com/lawtancool/pyControl4/workflows/PyPI%20Release/badge.svg)](https://github.com/lawtancool/pyControl4/actions?query=workflow%3A%22PyPI+Release%22)


An asynchronous library to interact with Control4 systems through their built-in REST API. This is known to work on controllers with OS 2.10.1.544795-res and OS 3.0+. 

Auto-generated function documentation can be found at <https://lawtancool.github.io/pyControl4>

For those who are looking for a pre-built solution for controlling their devices, this library is implemented in the [official Home Assistant Control4 integration](https://www.home-assistant.io/integrations/control4/).

## Usage example
```python
from pyControl4.account import C4Account
from pyControl4.director import C4Director
from pyControl4.light import C4Light
import asyncio

username = ""
password = ""

ip = "192.168.1.25"

"""Authenticate with Control4 account"""
account = C4Account(username, password)
asyncio.run(account.get_account_bearer_token())

"""Get and print controller name"""
account_controllers = asyncio.run(account.get_account_controllers())
print(account_controllers["controllerCommonName"])

"""Get bearer token to communicate with controller locally"""
director_bearer_token = asyncio.run(
    account.get_director_bearer_token(account_controllers["controllerCommonName"])
)["token"]

"""Create new C4Director instance"""
director = C4Director(ip, director_bearer_token)

"""Print all devices on the controller"""
print(asyncio.run(director.get_all_item_info()))

"""Create new C4Light instance"""
light = C4Light(director, 253)

"""Ramp light level to 10% over 10000ms"""
asyncio.run(light.ramp_to_level(10, 10000))

"""Print state of light"""
print(asyncio.run(light.get_state()))
```

## Contributing
Pull requests are welcome! Please lint your Python code with `flake8` and format it with [Black](https://pypi.org/project/black/).

## Disclaimer
This library is not affiliated with or endorsed by Control4.
cad-to-dagmc 0.11.3
Converts CAD files to a DAGMC h5m file
Requires Python: >=3.8
Keywords: dagmc, geometry, plot, slice


[![N|Python](https://www.python.org/static/community_logos/python-powered-w-100x40.png)](https://www.python.org)

[![CI with Conda install](https://github.com/fusion-energy/cad_to_dagmc/actions/workflows/ci_with_conda_install.yml/badge.svg)](https://github.com/fusion-energy/cad_to_dagmc/actions/workflows/ci_with_conda_install.yml) Testing package and running examples with dependencies installed via Conda

[![CI with pip install](https://github.com/fusion-energy/cad_to_dagmc/actions/workflows/ci_with_pip_install.yml/badge.svg)](https://github.com/fusion-energy/cad_to_dagmc/actions/workflows/ci_with_pip_install.yml) Testing package and running examples with dependencies installed via pip

[![CI with model benchmark zoo](https://github.com/fusion-energy/cad_to_dagmc/actions/workflows/ci_with_benchmarks.yml/badge.svg?branch=main)](https://github.com/fusion-energy/cad_to_dagmc/actions/workflows/ci_with_benchmarks.yml) Testing with [Model Benchmark Zoo](https://github.com/fusion-energy/model_benchmark_zoo)

[![Upload Python Package](https://github.com/fusion-energy/cad_to_dagmc/actions/workflows/python-publish.yml/badge.svg)](https://github.com/fusion-energy/cad_to_dagmc/actions/workflows/python-publish.yml)

[![PyPI](https://img.shields.io/pypi/v/cad_to_dagmc?color=brightgreen&label=pypi&logo=grebrightgreenen&logoColor=green)](https://pypi.org/project/cad_to_dagmc/)


A minimal package that converts CAD geometry to [DAGMC](https://github.com/svalinn/DAGMC/) (h5m) files, [unstructured mesh](https://docs.openmc.org/en/latest/pythonapi/generated/openmc.UnstructuredMesh.html) files (vtk) and Gmsh (msh) files ready for use in neutronics simulations.

## See the :point_right: [online documentation](https://fusion-energy.github.io/cad_to_dagmc/) :point_left: for installation options, usage recommendations and Python API details.
vantage-agent 3.4.0a40
Vantage Agent
Requires Python: >=3.14

# Vantage Agent

## Install the package

To install the package from Pypi simply run `pip install vantage-agent`.

## Setup parameters

1. Setup dependencies

    Dependencies and environment are managed in the project by [uv](https://docs.astral.sh/uv/). To initiate the development environment run:

    ```bash
    just install
    ```

    Or directly with uv:

    ```bash
    uv sync
    ```

2. Setup `.env` parameters

    ```bash
    VANTAGE_AGENT_BASE_API_URL="<base-api-url>"
    VANTAGE_AGENT_OIDC_DOMAIN="<OIDC-domain>"
    VANTAGE_AGENT_OIDC_CLIENT_ID="<OIDC-audience>"
    VANTAGE_AGENT_OIDC_CLIENT_SECRET="<OIDC-app-client-id>"
    VANTAGE_AGENT_OIDC_USE_HTTPS="<OIDC-app-client-secret>"
    ```

## Local usage example

1. Run app

    ```bash
    vtg-run
    ```

    **Note**: this command assumes you're inside a virtual environment in which the package is installed.
ommlds 0.0.0.dev529
ommlds
Requires Python: >=3.13

# Overview

ML / AI code.

# Notable packages

- **[cli](https://github.com/wrmsr/omlish/blob/master/ommlds/cli)** (cli: `om mc`) - A general purpose ai cli, inspired
  and in the spirit of [simonw's](https://github.com/simonw/llm) and others.

- **[minichain](https://github.com/wrmsr/omlish/blob/master/ommlds/minichain)** - *A thing that does the things
  langchain people use langchain to do.*
omxtra-cext 0.0.0.dev529
omxtra
Requires Python: >=3.13

# Overview

Core-like code not appropriate for inclusion in `omlish` for one reason or another. A bit like
[`golang.org/x`](https://pkg.go.dev/golang.org/x) but even less suitable for production use.

Code here is usually in the process of either moving out of or moving into `omlish` proper, or being demoted to the
unpublished `x` root dir, or just being deleted.

# Notable packages

- **[text.antlr](https://github.com/wrmsr/omlish/blob/master/omxtra/text/antlr)** -
  [ANTLR](https://www.antlr.org/)-related code. The codebase is generally moving away from antlr in favor of an internal
  [abnf engine](https://github.com/wrmsr/omlish/blob/master/oextra/text/abnf), but I have other projects that need the
  full power of antlr, so it may remain as an optional dep for utility code (much like sqlalchemy).
ominfra 0.0.0.dev529
ominfra
Requires Python: >=3.13

# Overview

Infrastructure and cloud code.

# Notable packages

- **[clouds.aws](https://github.com/wrmsr/omlish/blob/master/ominfra/clouds/aws)** - boto-less aws tools, including
  authentication and generated service dataclasses.

- **[journald2aws](https://github.com/wrmsr/omlish/blob/master/ominfra/clouds/aws/journald2aws)**
  ([amalg](https://github.com/wrmsr/omlish/blob/master/ominfra/scripts/journald2aws.py)) - a self-contained little tool
  that forwards journald to cloudwatch.

- **[pyremote](https://github.com/wrmsr/omlish/blob/master/ominfra/pyremote.py)** - does the
  [mitogen trick](https://mitogen.networkgenomics.com/howitworks.html) to facilitate remote execution of python code.
  due to amalgamation, import shenanigans aren't required to do useful work.

- **[manage](https://github.com/wrmsr/omlish/blob/master/ominfra/manage)**
  ([amalg](https://github.com/wrmsr/omlish/blob/master/ominfra/scripts/manage.py)) - a remote system management tool,
  including a code deployment system. inspired by things like [mitogen](https://mitogen.networkgenomics.com/),
  [pyinfra](https://github.com/pyinfra-dev/pyinfra), [piku](https://github.com/piku/piku). uses pyremote.

- **[supervisor](https://github.com/wrmsr/omlish/blob/master/ominfra/supervisor)**
  ([amalg](https://github.com/wrmsr/omlish/blob/master/ominfra/scripts/supervisor.py)) - an overhauled,
  [amalgamated](https://github.com/wrmsr/omlish/blob/master/omdev#amalgamation) fork of
  [supervisor](https://github.com/Supervisor/supervisor)
omserv 0.0.0.dev529
omserv
Requires Python: >=3.13

# Overview

\[DEPRECATED\] ~~Request serving code.~~

# Notable packages

- **[server](https://github.com/wrmsr/omlish/blob/master/omserv/server)** - Production web server based on
  [hypercorn](https://github.com/pgjones/hypercorn). Converted to anyio, but still being refined and integrated with the
  codebase.
ommlds-rs 0.0.0.dev529
ommlds
Requires Python: >=3.13

# Overview

ML / AI code.

# Notable packages

- **[cli](https://github.com/wrmsr/omlish/blob/master/ommlds/cli)** (cli: `om mc`) - A general purpose ai cli, inspired
  and in the spirit of [simonw's](https://github.com/simonw/llm) and others.

- **[minichain](https://github.com/wrmsr/omlish/blob/master/ommlds/minichain)** - *A thing that does the things
  langchain people use langchain to do.*
omxtra 0.0.0.dev529
omxtra
Requires Python: >=3.13

# Overview

Core-like code not appropriate for inclusion in `omlish` for one reason or another. A bit like
[`golang.org/x`](https://pkg.go.dev/golang.org/x) but even less suitable for production use.

Code here is usually in the process of either moving out of or moving into `omlish` proper, or being demoted to the
unpublished `x` root dir, or just being deleted.

# Notable packages

- **[text.antlr](https://github.com/wrmsr/omlish/blob/master/omxtra/text/antlr)** -
  [ANTLR](https://www.antlr.org/)-related code. The codebase is generally moving away from antlr in favor of an internal
  [abnf engine](https://github.com/wrmsr/omlish/blob/master/oextra/text/abnf), but I have other projects that need the
  full power of antlr, so it may remain as an optional dep for utility code (much like sqlalchemy).