semvec/pypi-packages huggingface dataset:
fink-utils 0.56.0
Collection of useful functionalities used across the Fink ecosystem.

[![pypi](https://img.shields.io/pypi/v/fink-utils.svg)](https://pypi.python.org/pypi/fink-utils)
[![PEP8](https://github.com/astrolabsoftware/fink-utils/workflows/PEP8/badge.svg)](https://github.com/astrolabsoftware/fink-utils/actions?query=workflow%3APEP8)

# fink-utils

Collection of useful functionalities used across the Fink ecosystem:

- [photometry](fink_utils/photometry): conversion routines between units
- [data](fink_utils/data): data manipulation with Python
- [spark](fink_utils/spark): data manipulation with Spark
- [xmatch](fink_utils/xmatch): utilities for manipulating external databases and catalogs
- [sso](fink_utils/sso): utilities for manipulating Solar System objects (HG, HG12, HG1G2, SHG1G2)
- [HBase](fink_utils/hbase): utilities for manipulating data stored in HBase

## Using fink-utils

`fink-utils` is rarely used outside the Fink context, but in case you need to install it, you will need its dependencies. They are all listed in the [fink-broker-images](https://github.com/astrolabsoftware/fink-broker-images/tree/main/containerfs) repository.
splunk-otel-instrumentation-langchain 0.1.7
OpenTelemetry Official Langchain instrumentation
Requires Python: >=3.9

OpenTelemetry LangChain Instrumentation (Alpha)
===============================================

This package provides OpenTelemetry instrumentation for LangChain LLM/chat
workflows. It leverages Splunk distribution of ``opentelemetry-util-genai`` 
for producing telemetry in semantic convention. `Core concepts, high-level 
usage and configuration  <https://github.com/signalfx/splunk-otel-python-contrib/>`_ 

Status: Alpha (APIs and produced telemetry are subject to change).

Installation
------------
Install from source:

    pip install -e splunk-otel-instrumentation-langchain

This will pull in required OpenTelemetry core + ``opentelemetry-util-genai``.



Quick Start
-----------

Manual Instrumentation (development/debugging)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: python

    from opentelemetry.instrumentation.langchain import LangChainInstrumentor
    from langchain_openai import ChatOpenAI
    from langchain_core.messages import HumanMessage, SystemMessage

    # manual instrumentation, easy to debug in your IDE
    LangChainInstrumentor().instrument()

    llm = ChatOpenAI(model="gpt-4o-mini", temperature=0.0)
    messages = [
        SystemMessage(content="You are a helpful assistant."),
        HumanMessage(content="What is the capital of France?"),
    ]
    response = llm.invoke(messages)
    print(response.content)

Zero-code instrumentation
^^^^^^^^^^^^^^^^^^^^^^^^^

in zero-code instrumentation mode, ensure you install opentelemetry-distribution and run you 
app with the OpenTelemetry LangChain Instrumentor enabled::

.. code:: bash

    opentelemetry-instrument python your_langchain_app.py

.. code:: python

    from langchain_openai import ChatOpenAI
    from langchain_core.messages import HumanMessage, SystemMessage

    llm = ChatOpenAI(model="gpt-4o-mini", temperature=0.0)
    messages = [
        SystemMessage(content="You are a helpful assistant."),
        HumanMessage(content="What is the capital of France?"),
    ]
    response = llm.invoke(messages)
    print(response.content)


Testing
-------
Run the package tests (from repository root or this directory)::

    pytest -k langchain instrumentation-genai/opentelemetry-instrumentation-langchain-alpha/tests

(Recorded cassettes or proper API keys may be required for full integration tests.)

Contributing
------------
Issues / PRs welcome in the main otel-splunk-python-contrib repository. This
module is alpha: feedback on attribute coverage, performance, and LangChain
surface expansion is especially helpful.

License
-------
Apache 2.0
dp_wizard_templates 0.8.2
.. include:: ../examples/tutorial.md

# DP Wizard Templates

[![pypi](https://img.shields.io/pypi/v/dp_wizard_templates)](https://pypi.org/project/dp_wizard_templates/)

DP Wizard Templates lets you use syntactically valid Python code as a template.
Templates can be filled and composed to generate entire notebooks.

See the [documentation](https://opendp.github.io/dp-wizard-templates) for more information.


## Development

### Getting Started

On MacOS:
```shell
$ git clone https://github.com/opendp/dp-wizard-templates.git
$ cd dp-wizard-templates
$ brew install python@3.10
$ python3.10 -m venv .venv
$ source .venv/bin/activate
```

You can now install dependencies:
```shell
$ pip install -r requirements-dev.txt
$ pre-commit install
$ flit install
```

Tests should pass, and code coverage should be complete (except blocks we explicitly ignore):
```shell
$ scripts/ci.sh
```

### Release

- Make sure you're up to date, and have the git-ignored credentials file `.pypirc`.
- Make one last feature branch with the new version number in the name:
  - Run `scripts/changelog.py` to update the `CHANGELOG.md`.
  - Review the updates and pull a couple highlights to the top.
  - Bump `dp_wizard/VERSION`, and add the new number at the top of the `CHANGELOG.md`.
  - Commit your changes, make a PR, and merge this branch to main.
- Update `main` with the latest changes: `git checkout main; git pull`
- Publish: `flit publish --pypirc .pypirc`
azcam-app 26.0.0
azcam-app package for controlling imaging systems
Requires Python: >=3.10
Keywords: imaging, astronomy, cameras

# azcam-app

*azcam-app* is a python package which creates the *azcamapp* application used to control imaging systems such as those used for scientific observations.

## Installation

`pip install azcam-app`

## Usage

Run the application as:

`azcamapp <full_path_to_config_file> -- <options>`

For example,

`azcamapp /data/90prime/code/pf_config.py -- -normal -datafolder /data/90prime`

The azcamapp command is effectively the same as the command:

`python -m azcam-app`

## Notes

The config_file should be a full path, not an installed python package. This is different from the standarad process for running *azcamserver*.