semvec/pypi-packages huggingface dataset:
pyfax 2024.2.8
a Python library for generating teletext tti files
Requires Python: >=3.8.0

![pyfax](https://raw.githubusercontent.com/mscroggs/pyfax/vyes/logo/logo.png)

pyfax is a Python library that can be used to generate teletext tti files.
These files can be used by [vbit2](https://github.com/peterkvt80/vbit2) to
generate teletext feeds.

## Documentation 
[![Documentation status](https://readthedocs.org/projects/pyfax/badge/?version=latest)](https://pyfax.readthedocs.io/en/latest/?badge=latest)

Documentation of pyfax can be found on [Read the Docs](https://pyfax.readthedocs.io/en/latest/).

## Installation
[![PyPI](https://img.shields.io/pypi/v/pyfax?color=blue&label=PyPI&logo=pypi&logoColor=white)](https://pypi.org/project/pyfax/)

The latest release of pyfax can be installed by running:

```bash
pip3 install pyfax
```

Alternatively, it can be installed by cloning this repo then running:

```bash
pip3 install .
```

## Testing & coverage
[![🕶️](https://github.com/mscroggs/pyfax/actions/workflows/style-checks.yml/badge.svg)](https://github.com/mscroggs/pyfax/actions/workflows/style-checks.yml)
[![🧪](https://github.com/mscroggs/pyfax/actions/workflows/run-tests.yml/badge.svg)](https://github.com/mscroggs/pyfax/actions/workflows/run-tests.yml)
[![Coverage Status](https://coveralls.io/repos/github/mscroggs/pyfax/badge.svg?branch=main)](https://coveralls.io/github/mscroggs/pyfax?branch=main)
dnullproject-iot 0.4.0
0.1.0
Requires Python: >=3.10,<4.0

# HomeAssistant - Awtrix Light - MQTT

## What to show

### Binance
- current BTC price

### Notion
- current tasks

## Usage

### Install
### Configure
#### Icons
Get icon ID from [LaMetric](https://developer.lametric.com/icons).Go to your [Awtric](http://awtrix.local), select "Icons tab". Paste icon ID, preview and download it to Awtrix.

View config to get list of icons you need to download.

# TODO
- [] nutrition
- [] ActualBudget - spend per day
toisan-lang 0.1.4
A programming language based on Toisanese, aka Taishanese, a dialect of Cantonese
Requires Python: >=3.8
Keywords: Toisan,Taishan

<div align="center">
    <img src="https://raw.githubusercontent.com/zehengl/toisan-lang/main/logo.jpg" alt="taishan" height="128">
</div>

# toisan-lang

[![pytest](https://github.com/zehengl/toisan-lang/actions/workflows/pytest.yml/badge.svg)](https://github.com/zehengl/toisan-lang/actions/workflows/pytest.yml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
![PyPI - License](https://img.shields.io/pypi/l/toisan-lang)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/toisan-lang)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/toisan-lang)
[![Downloads](https://static.pepy.tech/badge/toisan-lang)](https://pepy.tech/project/toisan-lang)
[![GitHub Pages](https://github.com/zehengl/toisan-lang/actions/workflows/gh-deploy.yml/badge.svg)](https://github.com/zehengl/toisan-lang/actions/workflows/gh-deploy.yml)

A programming language based on Toisanese, aka Taishanese, a dialect of Cantonese

## Install

    pip install toisan-lang

## Command Line Usage

- `python -m toisan_lang "..."` to transpile and execute toisan-lang in Python
- `--show xxx` to show extra information if given: `tree` for parse tree, `code` for transpiled python code

For example,

### Transpile and execute

    python -m toisan_lang "你系嚿叉烧。你个头系假咯。睇下你系乜呀。睇下（丐时）系乜。"

Output:

```
{'头': False}
2020-02-28 12:09:01.580252
```

<details>
<summary>To Show extra information</summary>

    python -m toisan_lang "你系嚿叉烧。你个头系假咯。睇下你系乜呀。睇下（丐时）系乜。" --show tree code

Output:

```

Parse Tree:
(START
  (begin_program (begin_scope))
  (block
    (statement (st_assign
      (var_list (var (variable_ref '你'))) '系'
      (exp_list (exp (dict_init '嚿叉烧'))))) '。'
    (statement (st_assign
      (var_list (var (variable_ref '你' '个' '头'))) '系'
      (exp_list (exp (constant (boolean '假')))))) '咯' '。'
    (statement (st_print '睇下'
      (var (variable_ref '你')) '系乜')) '呀' '。'
    (statement (st_print '睇下'
      (adjusted_exp '（'
        (exp (now '丐时')) '）') '系乜')) '。')
  (end_program (end_scope)))

Transpiled Python Code:
from datetime import datetime

def main():
    你 = dict()
    你['头'] = False
    print( 你 )
    print( ( datetime.now() ) )

if __name__ == '__main__':
    main()

{'头': False}
2020-03-03 22:26:13.549966
```

</details>

## Code Usage

```python
from toisan_lang import parse
program = """
...
"""
code, tree = parse(program)
print(code)
print(tree)
exec(code)
```

## Develop

    git clone https://github.com/zehengl/toisan-lang.git
    cd toisan-lang
    python -m venv .venv
    source .venv/bin/activate
    pip install -r requirements-dev.txt

To run test, simply

    pytest

Happy hacking!

## Credits

- logo from https://izihun.com/yishuzi/564471.html