semvec/pypi-packages huggingface dataset:
maprule 1.1.0
package for validating values

# Maprule
value validating library

## Installation
```bash
python -m pip install -U maprule
```

### Update
- __v0.2.0__: added error tracking


## Usage
```python
from maprule import fields

fields.Boolean().compare(True)

fields.Integer().compare(0)
fields.Integer(maximum=0).compare(1)

fields.String(min_length=3).compare("he")

fields.Dictionary(dict(
	name=fields.String(min_length=3),
	age=fields.Integer(minimum=0)
)).compare(dict(name="rubbie", age=19))

fields.Array(fields.String(min_length=3)).compare(["rubbie", "kelvin"])
```
daliuge-component-examples 0.2.2
DALiuGE Component Examples created by ICRAR

# DALiuGE example components

[![codecov](https://codecov.io/gh/ICRAR/daliuge-component-examples/branch/main/graph/badge.svg?token=daliuge-component-examples_token_here)](https://codecov.io/gh/ICRAR/daliuge-component-examples)
[![CI](https://github.com/ICRAR/daliuge-component-examples/actions/workflows/main.yml/badge.svg)](https://github.com/ICRAR/daliuge-component-examples/actions/workflows/main.yml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

This repository contains daliuge_component_examples created by ICRAR. These are mostly meant to demonstrate how to implement some of the more advanced [DALiuGE](https://github.com/ICRAR/daliuge) features in a component. Please refer to the main [DALiuGE documentation](https://daliuge.readthedocs.io) for more information.

## Installation

There are multiple options for the installation, depending on how you are intending to run the DALiuGE engine, directly in a virtual environment (host) or inside a docker container. You can also install it either from PyPI (latest released version).

## Install it from PyPI

### Engine in virtual environment
```bash
pip install daliuge_component_examples
```
### Engine in Docker container
```bash
docker exec -t daliuge-engine bash -c 'pip install --prefix=$DLG_ROOT/code daliuge_component_examples'
```
## Usage
For example the MyBranch component will be available to the engine when you specify 
```
daliuge-component-examples.appComponents.MyBranch
```
in the AppClass field of a Python Branch component. The EAGLE palette associated with these components are also generated and can be loaded directly into EAGLE. In that case all the fields are correctly populated for the respective components.
PyAscii-Art 0.0.3
Image to ASCII art images library.
Requires Python: >=3.6
Keywords: ascii,art,ascii-art,image,ascii-image

# Image to Ascii-Art

[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)                 
[![Python 3.6](https://img.shields.io/badge/python-3.6-blue.svg)](https://www.python.org/downloads/release/python-360/)   

## Usage

- Make sure you have Python installed in your system.
- Run Following command in the CMD.
 ```
  pip install PyAscii-Art
  ```

## Example
```
  from PyAsciiArt import AsciiArt
  
  # Path to the image
  image_path = r"image.jpg"
  
  # Create new Ascii-Art
  ascii_art = AsciiArt(image_path)

  ascii_art.generatePixelArray()     # Generate the pixel-array of the image
  ascii_art.trimPixelColors()        # Set the pixel brightness value to match the char list
  ascii_art.generateAsciiImage()     # Generate the image
  ascii_art.writeToFile("image.txt") # Write the image to the image.txt file
  ```