semvec/pypi-packages huggingface dataset:
lark-grammars 0.3.0
Lark grammars for using wht Hypothesis testing library
Requires Python: >=3.6

Grammars suitable for [lark](https://github.com/lark-parser/lark) parser:

- ```mime.lark```: MIME [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml)
- ```palindrome.lark```: [palindrome](https://en.wikipedia.org/wiki/Palindrome) is a word, number, or other sequence of characters which reads the same backward as forward, such as ```madam``` or ```racecar``` or the number ```10801```.
- ```tap13.lark```: [TAP13](https://testanything.org/tap-version-13-specification.html) - The Test Anything Protocol v13
- ```subunit_v1.lark```: [SubUnit v1](https://github.com/testing-cabal/subunit) - SubUnit v1 protocol
- ```bc.lark```: [bc](https://man.openbsd.org/bc), an arbitrary precision calculator language
- ```robotstxt.lark```: [robots.txt](http://www.robotstxt.org/robotstxt.html)
- ```pf.lark```: [OpenBSD packet filter configuration file](https://man.openbsd.org/pf.conf)
- ```regex.lark```: [POSIX Regular Expressions](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html)
- ```rfc_822.lark```: [RFC 822: Standard for ARPA Internet Text Messages](https://www.ietf.org/rfc/rfc822.txt)
- ```rfc_1738.lark```: [RFC 1738: Uniform Resource Locators (URL)](https://www.ietf.org/rfc/rfc1738.txt) (WIP)
- ```rfc_2396.lark```: [RFC 2396: Uniform Resource Identifiers (URI)](https://www.ietf.org/rfc/rfc2396.txt)
- ```rfc_2397.lark```: [RFC 2397: The "data" URL scheme](https://tools.ietf.org/html/rfc2397)
- ```rfc_5545.lark```: [RFC 5545: Internet Calendaring and Scheduling Core Object Specification (iCalendar)](https://tools.ietf.org/html/rfc5545)
- ```rfc_6531.lark```: [RFC 6531: SMTP Extension for Internationalized Email](https://tools.ietf.org/html/rfc6531) (WIP)
- ```rfc_5321.lark```: [RFC 5321: Simple Mail Transfer Protocol](https://tools.ietf.org/html/rfc5321) (WIP)
- ```toml.lark```: [Tom's Obvious, Minimal Language](https://github.com/toml-lang/toml)
- ```yaml.lark```: [YAML: YAML Ain't Markup Language](https://yaml.org)
- ```restructuredtext.lark```
- ```sqlite.lark```
- ```gedcom.lark```
- ```postal.lark```
- ```phone_number.lark```

### How-To Use:

```
$ python3 -m venv venv
$ pip3 install lark_grammars
$ cat example.py
from lark_grammars import grammars                     
grammars.grammar_files['bc'] 

$ python3 generate.py --grammar grammars/tap13.lark
TAP version 13
1..861602252
not ok # Skipped

# - C o A 2 1 H
```

### See grammars for other parsers:

- [ANTLR v4](https://github.com/antlr/grammars-v4)
- [PEG](https://github.com/PhilippeSigaud/Pegged/wiki/Grammar-Examples)
hypothesis-grammars 0.1.0
Lark grammars for using wht Hypothesis testing library
Requires Python: >=3.6

Grammars suitable for [lark](https://github.com/lark-parser/lark) parser:

- ```mime.lark```: MIME [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml)
- ```palindrome.lark```: [palindrome](https://en.wikipedia.org/wiki/Palindrome) is a word, number, or other sequence of characters which reads the same backward as forward, such as ```madam``` or ```racecar``` or the number ```10801```.
- ```tap13.lark```: [TAP13](https://testanything.org/tap-version-13-specification.html) - The Test Anything Protocol v13
- ```subunit_v1.lark```: [SubUnit v1](https://github.com/testing-cabal/subunit) - SubUnit v1 protocol
- ```bc.lark```: [bc](https://man.openbsd.org/bc), an arbitrary precision calculator language
- ```robotstxt.lark```: [robots.txt](http://www.robotstxt.org/robotstxt.html)
- ```pf.lark```: [OpenBSD packet filter configuration file](https://man.openbsd.org/pf.conf)
- ```regex.lark```: [POSIX Regular Expressions](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html)
- ```rfc_822.lark```: [RFC 822: Standard for ARPA Internet Text Messages](https://www.ietf.org/rfc/rfc822.txt)
- ```rfc_1738.lark```: [RFC 1738: Uniform Resource Locators (URL)](https://www.ietf.org/rfc/rfc1738.txt) (WIP)
- ```rfc_2396.lark```: [RFC 2396: Uniform Resource Identifiers (URI)](https://www.ietf.org/rfc/rfc2396.txt)
- ```rfc_2397.lark```: [RFC 2397: The "data" URL scheme](https://tools.ietf.org/html/rfc2397)
- ```rfc_5545.lark```: [RFC 5545: Internet Calendaring and Scheduling Core Object Specification (iCalendar)](https://tools.ietf.org/html/rfc5545)
- ```rfc_6531.lark```: [RFC 6531: SMTP Extension for Internationalized Email](https://tools.ietf.org/html/rfc6531) (WIP)
- ```rfc_5321.lark```: [RFC 5321: Simple Mail Transfer Protocol](https://tools.ietf.org/html/rfc5321) (WIP)
- ```toml.lark```: [Tom's Obvious, Minimal Language](https://github.com/toml-lang/toml)
- ```yaml.lark```: [YAML: YAML Ain't Markup Language](https://yaml.org)
- ```restructuredtext.lark```
- ```sqlite.lark```
- ```gedcom.lark```
- ```postal.lark```
- ```phone_number.lark```

### How-To Use:

```
$ python3 -m venv venv
$ pip3 install -r requirements.txt
$ python3 ./generate.py --grammar grammars/tap13.lark
TAP version 13
1..861602252
not ok # Skipped

# - C o A 2 1 H
```

### See grammars for other parsers:

- [ANTLR v4](https://github.com/antlr/grammars-v4)
- [PEG](https://github.com/PhilippeSigaud/Pegged/wiki/Grammar-Examples)
python-stackdriver-logging-mdpv2 0.0.1
A module to use for console and stackdriver logging
Requires Python: >=3.6

# Logging library for Python using Stackdriver

## Reference for good logging
[here](https://fangpenlin.com/posts/2012/08/26/good-logging-practice-in-python/)
Check out 'Write logging records everywhere with a proper level' section 


## To use logging:
1. Copy logging.yaml and stackdriver.py into the project you want to use
2. In order to import the logger, 'from stackdriver import stackdriver_logger' 
3. In order to initialize the logger, 'mdp_logger = stackdriver_logger()'
4. In order to use the logger, 'mdp_logger.info('shows up on stackdriver and console')'

## Logging Levels in current configuration (set in logging.yaml)
 - debug: lowest level and logs of these kinds don't show up as of current configuration
 - info: info logs will show up on stdout and in stackdriver
 - warning: warn logs will show up on stdout and in stackdriver
 - error: error logs will show up on stdout and in stackdrtiver
 - critical: critical logs will show up on stdout and in stackdriver

## Change log level that shows up in Stackdriver
In logging.yaml, under handlers:stackdriver, change the level field to the lowest level you want to see in stackdriver.
Anything that level and higher will now show up.

## Change log level that shows up on console
In logging.yaml, under handlers:console, change the level field to the lowest level you want to see show up in console.
Anything that level and higher will now show up.