semvec/pypi-packages huggingface dataset:
jansbckernel 0.2.0
A rough bc kernel.
Requires Python: >=3.7

# jansbckernel

![alt](https://raw.githubusercontent.com/jans-code/jansbckernel/main/jansbckernel/logo-svg.svg)

A very simple and dirty jupyter kernel for [GNU bc](https://www.gnu.org/software/bc/).
This kernel is a work in progress, so far variables and functions do not carry over to later cells.

## Dev Installation

- install bc from your distro's package manager
- download/clone this project
- open shell in project folder and install dev build
- `pip install -e ./`
- then install kernelspec
- `jansbckernel`
- or
- `jupyter kernelspec install --user jansbckernel`

## Uninstall

- `jupyter kernelspec uninstall jansbckernel`
- `pip uninstall jansbckernel`
DataMesh 0.1.2
A collection of tools for Data Mesh architectural approach.
Requires Python: >=3.6

# DataMesh
> A collection of tools for Data Mesh architectural approach.


## Data Contract Validation
The library can be used to validate your .yaml data contract against Open Data Contract Standard JSON schema from [Bitol-io / open-data-contract-standard](https://github.com/bitol-io/open-data-contract-standard/) 


### Installation
```
pip install -U datamesh
```

### Usage
```bash
data-contract-validation <path_to_contract_yaml_file> <optional_path_to_standards_json_schema>
```

or in Python
```python
from datamesh.contract import Validator

validation_errors = (
    Validator(
        contract="examples/all/postgresql-adventureworks-contract.yaml",
        standard="schema/odcs-json-schema.json"
    )
    .print_report()
    .errors
)
```
```
🚩 Validation errors:
.
│
├──[]
│  └── 'datasetName' is a required property
│
├──[]
│  └── 'quantumName' is a required property
│
├──['kind']
│  └── 'managedDataset' is not one of ['DataContract']
```

### [Streamlit App](https://datamesh.streamlit.app/)
[![streamlit app screenshot](https://raw.githubusercontent.com/georgegach/DataMesh/main/docs/streamlit/streamlit-screenshot.png)](https://datamesh.streamlit.app/)


## Contribution

Feel free to contribute to the project under free and open-source GPLv3 license. 


## Resources

- [Open Data Contract Standard (ODCS)](https://github.com/bitol-io/open-data-contract-standard)
- [PayPal open sources its data contract template](https://jgp.ai/2023/05/01/paypal-open-sources-its-data-contract-template/)
pychatml 0.0.6
A package for converting chat messages to and from ChatML format

# pychatml

The `pychatml` package allows you to convert chat interfaces from and to the ChatML format.

## Installation

You can install the `pychatml` package using pip:

```shell
pip install pychatml
```

## What

Makes it easy to integrate between different chat formats and models.

```python
from pychatml.llama2_converter import Llama2

PROMPT = """
 Hi, how are you? 
 Good thanks!

 Can you help me with this math program? 
"""

converter = Llama2()

converter.to_chatml(PROMPT)
```
```json
[
    {"role": "user", "content": "Hi, how are you?"},
    {"role": "assistant", "content": "Good thanks!"},
    {"role": "user", "content": "Can you help me with this math program?"},
]
```

#### Supported formats


 - [x] Llama 2
 - [x] Anthropic
 - [x] Alpaca
 - [x] Vicuna/ShareGPT (from https://github.com/lm-sys/FastChat/blob/e67b21dcbde91a5ad9740b081c59c433093f54da/fastchat/conversation.py#L394C1-L404C2)

## Why?

![Motivation tweet](https://github.com/deployradiant/pychatml/assets/6087389/003d8898-d647-46d3-90cb-0051a8860519)
https://github.com/OpenAccess-AI-Collective/axolotl/pull/982

## Questions?

Create an issue or discussion in this repository.

Or, reach out to our team! [@jakob_frick](https://twitter.com/frick_jakob/), [@__anjor](https://twitter.com/__anjor), [@maxnajork](https://twitter.com/maxnajork) on X or [team@radiantai.com](mailto:team@radiantai.com).

## How to create a new release

A new release will automatically be published to pypi. For this to happen you need to
- update the version specificed in `setup.py`
- create a `git tag` with the version you want to release and push it via `git push --tags`
- create a new release in Github

A Github action will automatically publish the new version to pypi.

## Contributing Guidelines

Thank you for your interest in contributing to our project! Before you begin writing code, it would be helpful if you read these [contributing guidelines](CONTRIBUTING.md). Following them will make the contribution process easier and more efficient for everyone involved.

Please note that the project is released with an [MIT License](https://opensource.org/licenses/MIT).