semvec/pypi-packages huggingface dataset:
agntcy-dir-sdk 0.1.10
Directory client SDK
Requires Python: >=3.9

# directory API python SDK

## Overview

The directory API python SDK provides a simple and efficient way to interact with the directory API.
It allows developers to integrate directory functionality into their Python applications with ease.

## Features

- **Store API**: The SDK includes a store API that allows developers to push the record data model to the store and
retrieve it from the store.
- **Routing API**: The SDK provides a routing API that allows developers to publish and retrieve record to and from the
network.


## Installation

Install the SDK using [uv](https://github.com/astral-sh/uv)

init the project:
```bash
uv init
```

add the SDK to your project:
```bash
uv add agntcy-dir-sdk --index https://buf.build/gen/python
uv add 'agntcy-dir-grpc-python' --index https://buf.build/gen/python
```

## Usage

### Starting the Directory Server

To start the Directory server, you can deploy your instance or use Taskfile as below.

```bash
task server:start
```

### Usage of the SDK

See `v1/example.py` to help get started.
markitdown-office-extension 0.1.2
A markitdown plugin use to customize markdownify
Requires Python: >=3.10
Keywords: markdown, markitdown, plugin

# markitdown-office-extension
A markitdown plugin use to customize markdownif. Supports docx, pptx, xlsx, epub, and html file formats.

## Usage
```python
from typing import Any, Optional
from io import BytesIO
try:
    from markitdown import MarkItDown
except ImportError:
    from markitdown_no_magika import MarkItDown
from markitdown_office_extension.markdown_converter import MarkdownConverter


class CustomMarkdownConverter(MarkdownConverter):
    def convert_img(
        self,
        el: Any,
        text: str,
        convert_as_inline: Optional[bool] = False,
        **kwargs,
    ) -> str:
        if (src := el.attrs.get("src", None)) is not None:
            # process extracted image such as upload to s3
            # in example, we print image attr only
            print("image alt: {alt}, title: {title}, src: {src}".format(
                alt=el.attrs.get("alt", ""),
                title=el.attrs.get("title", ""),
                src=src,
            ))

            # ... or modify image attr such as `src`
            el.attrs["src"] = "https://example.com/assets/example.png"

            # if not set keep_data_uris, or keep_data_uris is False,
            # markitdown won't display whole image uri
            kwargs["keep_data_uris"] = True

        return super().convert_img(el, text, convert_as_inline, **kwargs)

converter = MarkItDown(enable_plugins=True, markdownify=CustomMarkdownConverter)
document = converter.convert(BytesIO(bytes(
    "![title](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArYAAAOdCAYAAABwHy)",
    encoding="utf-8"
)))

print(document) # ![](https://example.com/assets/example.png)
```
BoatBuddy 0.17.0
A suite of tools to help collecting NMEA0183 and other marine metrics in a digital logbook format
Requires Python: >=3.7

# BoatBuddy

[![Alt text](https://img.shields.io/pypi/v/boatbuddy.svg?style=flat-square)](https://pypi.python.org/pypi/boatbuddy/) [![Alt text](https://img.shields.io/github/license/joezeitouny/boatbuddy)](https://pypi.python.org/pypi/boatbuddy/)

A suite of tools to help collecting NMEA0183 and other marine metrics in a digital logbook format.

### Installation

**Requirements:	Python 3.x >= 3.5**

`BoatBuddy` can be installed via `pip` or an equivalent via:

```console
$ pip install BoatBuddy
```

#### From Source

You can install `BoatBuddy` from source just as you would install any other Python package:

```console
$ pip install git+https://github.com/joezeitouny/BoatBuddy.git
```

This will allow you to keep up to date with development on GitHub:

```console
$ pip install -U git+https://github.com/joezeitouny/BoatBuddy.git
```

### Features

- Ability to generate Excel and / or CSV logs
- Generate GPX file with GPS coordinates combined with timestamps
- Ability to generate a summary log for each session
- Sessions can be tied by the NMEA server, Victron system availability or by a specified time interval

### Usage

```console
$ python -m BoatBuddy --config=CONFIGURATION_FILENAME [options]
```

Where CONFIGURATION_FILENAME points to the file where the JSON configuration file is located on your system.

For the full list of available options

```console
$ python -m BoatBuddy --help
```
isospec-data-tools 0.0.4
Omics data utilities
Requires Python: <4.0,>=3.9
Keywords: python

# isospec-data-tools

[![Release](https://img.shields.io/github/v/release/isospec/isospec-data-tools)](https://img.shields.io/github/v/release/isospec/isospec-data-tools)
[![Build status](https://img.shields.io/github/actions/workflow/status/isospec/isospec-data-tools/main.yml?branch=main)](https://github.com/isospec/isospec-data-tools/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/isospec/isospec-data-tools/branch/main/graph/badge.svg)](https://codecov.io/gh/isospec/isospec-data-tools)
[![Commit activity](https://img.shields.io/github/commit-activity/m/isospec/isospec-data-tools)](https://img.shields.io/github/commit-activity/m/isospec/isospec-data-tools)
[![License](https://img.shields.io/github/license/isospec/isospec-data-tools)](https://img.shields.io/github/license/isospec/isospec-data-tools)

Omics data utilities

- **Github repository**: <https://github.com/isospec/isospec-data-tools/>
- **Documentation** <https://isospec.github.io/isospec-data-tools/>

## Getting started with your project

### 1. Create a New Repository

First, create a repository on GitHub with the same name as this project, and then run the following commands:

```bash
git init -b main
git add .
git commit -m "init commit"
git remote add origin git@github.com:isospec/isospec-data-tools.git
git push -u origin main
```

### 2. Set Up Your Development Environment

Then, install the environment and the pre-commit hooks with

```bash
make install
```

This will also generate your `uv.lock` file

### 3. Run the pre-commit hooks

Initially, the CI/CD pipeline might be failing due to formatting issues. To resolve those run:

```bash
uv run pre-commit run -a
```

### 4. Commit the changes

Lastly, commit the changes made by the two steps above to your repository.

```bash
git add .
git commit -m 'Fix formatting issues'
git push origin main
```

You are now ready to start development on your project!
The CI/CD pipeline will be triggered when you open a pull request, merge to main, or when you create a new release.

To finalize the set-up for publishing to PyPI, see [here](https://fpgmaas.github.io/cookiecutter-uv/features/publishing/#set-up-for-pypi).
For activating the automatic documentation with MkDocs, see [here](https://fpgmaas.github.io/cookiecutter-uv/features/mkdocs/#enabling-the-documentation-on-github).
To enable the code coverage reports, see [here](https://fpgmaas.github.io/cookiecutter-uv/features/codecov/).

## Releasing a new version

- Create an API Token on [PyPI](https://pypi.org/).
- Add the API Token to your projects secrets with the name `PYPI_TOKEN` by visiting [this page](https://github.com/isospec/isospec-data-tools/settings/secrets/actions/new).
- Create a [new release](https://github.com/isospec/isospec-data-tools/releases/new) on Github.
- Create a new tag in the form `*.*.*`.

For more details, see [here](https://fpgmaas.github.io/cookiecutter-uv/features/cicd/#how-to-trigger-a-release).