semvec/pypi-packages huggingface dataset:
string-py 0.1.3
Utils for strings in python
License: MIT
Requires Python: >=3.10
Keywords: python,string,strings,utils,string utils,random,random strings,formatting,formatter

# string_py


[![PyPI](https://img.shields.io/pypi/v/string-py?style=flat-square)](https://pypi.org/project/string-py/)
[![Documentation](https://readthedocs.org/projects/aioeasypillow/badge/?version=latest&style=flat-square)](https://string-py.readthedocs.io/en/latest/)

A Python package to simplify working with strings

## Installation

To install the library directly from PyPI you can just run the following command:
```shell
# Linux/macOS
python3 -m pip install -U string-py

# Windows
py -3 -m pip install -U string-py
```


## Format Example

```python
from string_py import Format

print(Format.align(values={"Username:": "John", "Register Date:": "01.01.2001"}))
```
```
Username:        John
Register Date:   01.01.2001
```
## Manipulation Example
```python
from string_py import Str

print(Str("Hello World!").first(5))
```
```
Hello
```
## Information Example
```python
from string_py import Str

print(Str("Hello World!").get_upper(index=True))
```
```
{0: 'H', 6: 'W'}
```
## Printer Example
```python
from string_py import Printer

print = Printer()

print.time("Hello World!")
```
```
[04.04 | 03:11:07] Hello World!
```
pydelijn 1.1.0
Get realtime info on stop passages of De Lijn (api.delijn.be)
License: MIT
Requires Python: >=3.5.0

# pydelijn

[![PyPI version](https://badge.fury.io/py/pydelijn.svg)](https://pypi.org/project/pydelijn)
[![Build Status](https://github.com/emilv2/pydelijn/actions/workflows/ci.yml/badge.svg)](https://github.com/Emilv2/pydelijn/actions/workflows/ci.yml)

A Python package to retrieve realtime data of passages at stops of De Lijn, the public transport company in Flanders (Belgium)

Main purpose at the moment is to feed a sensor in Home-Assistant

**Important note**: a developer account needs to be created at https://data.delijn.be to generate a subscription key for the api's.

## Install

```bash
pip install pydelijn
```

### Example usage

```python
"""Example usage of pydelijn."""
import asyncio
import aiohttp
from pydelijn.api import Passages


async def test_pydelijn():
    """Example usage of pydelijn."""
    subscriptionkey = '<put your data.delijn.be subscriptionkey here>'
    stopid = 200551
    maxpassages = 10
    custom_session = aiohttp.ClientSession()
    delijndata = Passages(LOOP,
                          stopid,
                          maxpassages,
                          subscriptionkey,
                          custom_session,
                          True)
    await delijndata.get_passages()
    await custom_session.close()

    print_data(delijndata)


def print_data(delijndata):
    """Pretty Print the data."""
    for line in delijndata.passages:
        print("----------------------------------------")
        print("Passage #: %s" % (line['passage']))
        print("Stop Name: %s" % (line['stopname']))
        print("Line Number (technical): %s" % (line['line_number']))
        print("Line Number (public): %s" % (line['line_number_public']))
        print("Line Description: %s" % (line['line_desc']))
        print("Line Transport Type: %s" % (line['line_transport_type']))
        print("Direction: %s" % (line['direction']))
        print("Final Destination: %s" % (line['final_destination']))
        print("Due At (schedule): %s" % (line['due_at_schedule']))
        print("Due At (real-time): %s" % (line['due_at_realtime']))
        print("Due In (min): %s" % (line['due_in_min']))
        print("Line Colour - Front: %s - Hex: %s" % (
            line['line_number_colourFront'],
            line['line_number_colourFrontHex']))
        print("Line Colour - Back: %s - Hex: %s" % (
            line['line_number_colourBack'],
            line['line_number_colourBackHex']))
        print("Line Colour - Front Border: %s - Hex: %s" % (
            line['line_number_colourFrontBorder'],
            line['line_number_colourFrontBorderHex']))
        print("Line Colour - Back Border: %s - Hex: %s" % (
            line['line_number_colourBackBorder'],
            line['line_number_colourBackBorderHex']))


LOOP = asyncio.get_event_loop()
LOOP.run_until_complete(test_pydelijn())
LOOP.close()
R134a-PT 0.0.1
Implementation of R134a property table in a userfriendly manner
License: MIT
Keywords: R134propertytable

# PropertyTables_Python
This is a digital Property Table of R134a
You can add some data and obtain relavant data for R134a


Change Log
==================

0.0.1 (04/06/2023)
---------------------
- First Release
Refrigerant-R134a-Property-Table 0.0.1
Implementation of R134a property table in a userfriendly manner
License: MIT
Keywords: R134propertytable

# PropertyTables_Python
This is a digital Property Table of R134a
You can add some data and obtain relavant data for R134a


Change Log
==================

0.0.1 (04/06/2023)
---------------------
- First Release