semvec/pypi-packages huggingface dataset:
pyggseqlogo 1.2.0
Python version of ggseqlogo. Based on plotnine (Python version of ggplot2). A derivative of plotnineSeqSuite.
License: MIT
Requires Python: >=3.11
Keywords: ggplot2, plotnine, ggseqlogo, Sequence logo

# Pyggseqlogo
Python version of [ggseqlogo](https://github.com/omarwagih/ggseqlogo). Based on [plotnine](https://github.com/has2k1/plotnine/) (Python version of ggplot2). A derivative of [plotnineSeqSuite](https://github.com/caotianze/plotnineseqsuite/).
## Cite this work
Cao, T., Li, Q., Huang, Y. et al. plotnineSeqSuite: a Python package for visualizing sequence data using ggplot2 style. BMC Genomics 24, 585 (2023). https://doi.org/10.1186/s12864-023-09677-8
## Installation
`pip install pyggseqlogo`
## Getting Started
```Python
from plotnine import ggplot
from plotnineseqsuite import geom_logo
from plotnineseqsuite.data import seqs_dna
from pyggseqlogo import ggseqlogo, theme_logo
```
The code is based on plotnineSeqSuite.
```Python
ggplot() + geom_logo(data=seqs_dna['MA0001.1']) + theme_logo()
```
![https://caotianze.github.io/pyggseqlogo/started_1.png](https://caotianze.github.io/pyggseqlogo/started_1.png)    
Pyggseqlogo provides a wrapper function for the above code.
```Python
ggseqlogo(seqs_dna['MA0001.1'])
```
![https://caotianze.github.io/pyggseqlogo/started_2.png](https://caotianze.github.io/pyggseqlogo/started_2.png)    
facet_wrap
```Python
ggseqlogo(seqs_dna, ncol=4)
```
![https://caotianze.github.io/pyggseqlogo/started_3.png](https://caotianze.github.io/pyggseqlogo/started_3.png)
## Where to go next
If you want to draw more complex sequence logos or other sequence-related diagrams, we recommend visiting the [plotnineSeqSuite homepage](https://github.com/caotianze/plotnineseqsuite/) for details.
gitbinding 1.0.6
python binding git command.
License: MIT
Keywords: git

[![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) 
[![status workflow test](https://github.com/guangrei/Gitpybinding/actions/workflows/python-app.yml/badge.svg)](https://github.com/guangrei/Gitpybinding/actions) 

[![Downloads](https://static.pepy.tech/badge/gitbinding)](https://pepy.tech/project/gitbinding) [![Downloads](https://static.pepy.tech/badge/gitbinding/month)](https://pepy.tech/project/gitbinding) [![Downloads](https://static.pepy.tech/badge/gitbinding/week)](https://pepy.tech/project/gitbinding)

Fully git command binding for Python.

Features:

🔥 support any git commands, git command with "-" can be replaced with "_" like `git rev-parse` to `git.rev_parse()`.

🔥 support prompt input with `git.prompt = "value"`.

🔥 auto change path to clone destination.

🔥 custom git binary location `git.gitbin = "path/to/git/binary"`.

🔥 support direct output to stdout or capture output to function return.

🔥 raise exception on non-zero exit code.

🔥 compatible with `mypy --strict`.

## Example

```python
from gitbinding import Git


git = Git(path = None, direct_output = True)
"""
path:
working directory, None = use current directory.

direct_output:
if direct_output set to False, the output is redirect to command/function return.
"""
```
Now you can run any git command like `git.init()`, `git.clone("gitrepo", "destination")`, `git.commit()`, `git.push()`, `git.config()` etc.

author: Guangrei.
pbwrap 1.5.0
A Pastebin API Wrapper for Python
License: MIT
Requires Python: <4.0,>=3.9.0
Keywords: pastebin, pbwrap, wrapper, api

# Pastebin API wrapper for Python (pbwrap)
[![PyPI version](https://badge.fury.io/py/pbwrap.svg)](https://badge.fury.io/py/pbwrap)
[![Build Status](https://travis-ci.org/Mikts/pbwrap.svg?branch=master)](https://travis-ci.org/Mikts/pbwrap)
[![Coverage Status](https://coveralls.io/repos/github/Mikts/pbwrap/badge.svg)](https://coveralls.io/github/Mikts/pbwrap)


>**Python API wrapper for the Pastebin Public API.  
**Only  _Python 3_ supported!**

## Documentation

This wrapper is based on **Pastebin** API read their Documentation [**here.**](https://pastebin.com/doc_api)  
for extra information and usage guide.

### Usage
For a full list of the methods offered by the package [**Read.**](http://pbwrap.readthedocs.io/en/latest/)

#### Quickstart
Import and instantiate a Pastebin Object.
```Python
from pbwrap import Pastebin

pastebin = Pastebin(api_dev_key)
```

### Examples

##### Get User Id
Returns a string with the user_id created after authentication.
```Python
user_id = pastebin.authenticate(username, password)
```

##### Get Trending Pastes details
Returns a list containing Paste objects of the top 18 trending Pastes.

```Python
trending_pastes = pastebin.get_trending()
```

### Type models

#### Paste

Some API endpoints return paste data in xml format the wrapper either converts them in a python dictionary format  
or returns them as Paste objects which contain the following fields:

* **key**
* **date** in  **_UNIXTIME_**
* **title**
* **size**
* **expire_date**
* **private**
* **format_short**
* **format_long**
* **url**
* **hits**

## License
pbwrap is released under [**MIT License**](./LICENSE)