semvec/pypi-packages huggingface dataset:
ontolopy 1.1.1b0
Ontolopy is a package for working with ontology (.obo) files from Python.
License: MIT
Requires Python: >=3.6

# Ontolo**py** a python package for working with .obo files
:construction: This package is in development :construction:

Please see [the docs](https://nataliethurlby.github.io/ontolopy/) for the most up-to-date information:
You can access versioned docs at `/versions/{version}` [like this](https://nataliethurlby.github.io/ontolopy/versions/1.0.2-beta)

## Installation
Ontolopy is available on pip, and can be installed using:

```bash
pip install ontolopy
```

## Usage
Example usage:

```python
import ontolopy

# read an ontology in obo format
obo = ontolopy.Obo('path_to_file/uberon_ext.obo')

# find relationships between terms of interest:
# (in this case, are any of the source_terms, is_a or part_of the brain?)
source_terms = ['UBERON:0003290', 'UBERON:0003369', 'UBERON:0003703'] 
target_terms = ['UBERON:0000955'] #  brain term
relations_of_interest  = ['is_a', 'part_of']
relations = ontolopy.Relations(
    source_terms, 
    target_terms, 
    relations_of_interest, 
    obo.ont
).relations
```
yatts 1.0.0
Styles terminal text
License: MIT
Keywords: python,color,text,style,terminal,console

## YATTS - Yet Another Terminal Text Styler

[![PyPI](https://img.shields.io/pypi/v/yatts)](https://pypi.org/project/yatts/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/yatts)](https://pypi.org/project/yatts/)
[![GitHub](https://img.shields.io/github/license/xelorabb/yatts)](https://github.com/xelorabb/yatts/blob/master/LICENSE)

Styles terminal text

#### Install
`pip install yatts`

#### 4-Bit Color Examples
```python
from yatts import style

# Prints yatts with dark green text color
print(style('yatts', ['green', 'dark']))

# Prints yatts with red text color and dark yellow background
print(style('yatts', 'red', ['yellow', 'dark']))

# Prints yatts with white text color, blue background and italic text style
print(style('yatts', bgcolor='blue', italic=True))

# Prints a bold, italic, overlined yatts
print(style('yatts', decorations=['bold', 'italic', 'overline']))
```

#### 8-Bit Color Examples
```python
from yatts import style

yatts = ' yatts '*10

# Dark green text color
print(style(yatts, 2) + '\n')

# Light red text color with light orange background color
print(style(yatts, 196, 223) + '\n')

# 4-Bit and 8-Bit colors mixed and bold parameter
# combined with decorations parameter
print(style(yatts, 'white', 238, bold=True,
            decorations=['underline','overline']))

```
![8bit examples](https://raw.githubusercontent.com/xelorabb/yatts/master/img/8bit_examples.png)

#### Add/Remove Examples
```python
from yatts import *

yatts = ' yatts '*10

yatts = style(yatts, 'blue', 235, decorations=['italic', 'underline'])
print(yatts + '\n')

yatts = add(yatts, 'bold')
print(yatts + '\n')

yatts = remove(yatts, ['color', 'underline'])
print(yatts + '\n')

yatts = remove_all(yatts)
print(yatts)

```
![add remove examples](https://raw.githubusercontent.com/xelorabb/yatts/master/img/add_remove_examples.png)

#### Function Arguments
##### Style Function
```python
# Styles a text
def style(
  text,
  color=None,
  bgcolor=None,
  bold=False,
  italic=False,
  underline=False,
  striketrough=False,
  decorations=None
):
```
**All valid strings for `decorations`:**
* `'bold'`
* `'blink'`
* `'italic'`
* `'overline'`
* `'underline'`
* `'striketrough'`
* `'double_underline'`

##### Add Function
```python
# Adds a specific style to a text
def add(text, style, value=None):
```

##### Remove Functions
```python
# Removes one or more specific style from a styled text
def remove(text, style):

# Removes all styles from a styled text
def remove_all(text):
```

**All valid strings for `style`:**
* `'color'`
* `'bgcolor'`
* `'bold'`
* `'blink'`
* `'italic'`
* `'overline'`
* `'underline'`
* `'striketrough'`
* `'double_underline'`

#### 4-Bit Color Palette
![4bit color palette](https://raw.githubusercontent.com/xelorabb/yatts/master/img/4bit_color_palette.png)

#### 8-Bit Color Palette
![8bit color palette](https://raw.githubusercontent.com/xelorabb/yatts/master/img/8bit_color_palette.png)
mkdocs-pandoc-plugin 1.0.1
An MkDocs plugin to export content pages to any files that pandoc can handle
License: MIT
Requires Python: >=3.4
Keywords: mkdocs pandoc export

# Mkdoc Pandoc Plugin

*This plugin is based on https://github.com/HaoLiuHust/mkdocs-mk2pdf-plugin and aims to
use pandoc as a generic engine to convert to many document format that pandoc suports.*

*An MkDocs plugin to convert content pages to many format*

The plugin will use pandoc to export all markdown pages in your MkDocs repository.

## Requirements

1. This package requires MkDocs version 1.0 or higher (0.17 works as well)
2. Python 3.4 or higher
3. pandoc, xelatex(to support Chinese)
   ```
   sudo apt install pandoc
   sudo apt install texlive texlive-latex-extra texlive-latex-recommended texlive-xetex
   ```

## Installation

Install the package with pip:

```bash
pip install mkdocs-pandoc-plugin
```

Enable the plugin in your `mkdocs.yml`:

```yaml
plugins:
    - search
    - pandoc
```

> **Note:** If you have no `plugins` entry in your config file yet, you'll likely also want to add the `search` plugin. MkDocs enables it by default if there is no `plugins` entry set, but now you have to enable it explicitly.

More information about plugins in the [MkDocs documentation][mkdocs-plugins].

## Testing

When building your repository with `mkdocs build`, you should now see the following message at the end of your build output:

> Converting 17 files to PDF took 15.6s

In your `site_dir` you should now have a PDF file for every markdown page.

## Options

You may customize the plugin by passing options in `mkdocs.yml`:

```yaml
plugins:
    - pandoc:
        enabled_if_env: ENABLE_PANDOC_EXPORT
```

### `enabled_if_env`

Setting this option will enable the build only if there is an environment variable set to 1. This is useful to disable building the files during development, since it can take a long time to export all files. Default is not set.

### `combined`

Setting this to `true` will combine all pages into a single file. All download links will point to this file. Default is `false`.

### `combined_output_path`

This option allows you to use a different destination for the combined file. Has no effect when `combined` is set to `false`. Default is `pandoc/combined.pdf`.

### `pandoc_template`

This option allows you to use a custom pandoc template to convert markdown file to translated document files.

`mkdocs.yml`:
```yaml
plugins:
    - pandoc:
```
```bash
project-root
├── docs
├── mkdocs.yml
├── site
.
.
```

## Contributing

From reporting a bug to submitting a pull request: every contribution is appreciated and welcome. Report bugs, ask questions and request features using [Github issues][github-issues].
If you want to contribute to the code of this project, please read the [Contribution Guidelines][contributing].

## Special thanks

Special thanks go to [HaoLiuHust](https://github.com/haoliuhust) for developing the [mkdocs-mk2pdf-plugin](https://github.com/HaoLiuHust/mkdocs-mk2pdf-plugin).
holistic-anagram 1.0.12
A python package for anagrams
License: MIT

# ANAGRAM READ ME 

There are several methods that can be used in the holistic_anagram.py file. These include:

- init_app
- enter_words_print
- enter_words_json


### Install

**Note: python-anagram requires python3**

```shell
pip install holistic-anagram
```

### Website using python-anagram
- [anagram website example](https://holistic-anagram.herokuapp.com)


### Steps on how to use python-anagram package
1. Create an instance of your anagram. Example: anagram = Anagram()
2. Initialize your instance. anagram.init_app(). This allows the app to check if a word is real or not.
3. You can then enter words using `enter_words_print` method or
`enter_words_json`. The former is as an interactive script using the input function.
The later requires the sentence argument, and generates json data to be used in a web application e.g. in FastAPI, Flask, Django, etc.

### Example of use
- Type in `bats tabs tekken attack on titan no rats tsar star tops tops spot stop psto psto pots`
- This will remove the non-English words, remove duplicates and leave you with:
`bats tabs attack on titan no rats tsar star tops spot stop`
- It then checks if any of the words are anagrams of each other.
- Output is either a print statement or returns json formatted data.


### Dependencies
- No dependencies

### Python versions
 - 3.7.x
 - 3.8.x
 - 3.9.x