semvec/pypi-packages huggingface dataset:
cps3utils 0.1.3
Capcom® CP System III ROM hacking utilites
Requires Python: >=3.0

## Installation

    pip install cps3utils

You may also install [Gooey](https://github.com/chriskiehl/Gooey) for a GUI interface.

## Usage

    python -m cps3utils.[convert/crypt] [arguments] [keyword arguments]
pylign 0.6
Lineage prediction from SARS-CoV-2 sequences
Requires Python: >=3.6

# Pylign

Pylign is an experimental package to simplify realignment to a reference for viral sequences, using only Python packages. This package is developed by me, but it owes almost everything to [sam_2_fasta](https://github.com/cov-ert/datafunk/blob/master/datafunk/sam_2_fasta.py) by [Ben Jackson](https://github.com/benjamincjackson) at the Univesity of Edinburgh. (Ben has also ported this code to [gofasta](https://github.com/cov-ert/gofasta)). Sam2fasta is typically run on a SAM file from `minimap2`. Pylign incorporates the alignment process, using [mappy](https://pypi.org/project/mappy/). The idea is that one doesn't need any dependencies except Python packages (mappy supplies its own minimap2).

## Installation

```bash
pip install pylign
```


## Usage (Python):
First we download the reference, and some unaligned sequences to align to it:
```bash
wget https://hgdownload.soe.ucsc.edu/goldenPath/wuhCor1/bigZips/wuhCor1.fa.gz && gunzip wuhCor1.fa.gz
wget https://data.nextstrain.org/files/ncov/open/global/sequences.fasta.xz &&  xz --decompress sequences.fasta.xz
```

Then we write a simple Python script, creating an iterator called `aligned` that will yield reference-aligned versions of these unaligned sequences:
```py
import pylign
aligned = pylign.yield_aligned(input="sequences.fasta", reference= "wuhCor1.fa")
for name, aligned_sequence in aligned:
    print(">"+name)
    print(aligned_sequence)
```

Under the hood, mappy is in some sense calling minimap2 mode with `--secondary=no --sam-hit-only --score-N=0 -x asm20`.

Note that the multiprocessing implementation is fairly hacky which may cause issues. Expected use is that this function will be only called once, and certainly only once at any particular time.

## Usage (command-line)
```bash
pylign sequences.fasta --reference wuhCor1.fa --output aligned.fa
```

If you omit the output, output will go to STDOUT.
verbformen-cli 0.2.3
Verbformen CLI
Requires Python: >=3.9,<4.0

## Verbformen CLI

Unofficial python client for the German-English dictionary at verbformen.com. Verbformen provides detailed conjugations and declensions of German words, along with a useful summary card that includes: 

- verb endings,
- noun gender,
- noun endings,
- adjective endings, and
- definitions

### Installation

```bash
pip install verbformen-cli
```

### Usage
From the terminal:
```
$ verbformen Wörterbuch 
           ╭────────── Wörterbuch ───────────╮
           │ A1 • Neutral • Endings: es/ü-er │
           │         das Wörterbuch          │
           │  Wörterbuch(e)s • Wörterbücher  │
           │                                 │
           │  dictionary, lexicon, wordbook  │
           ╰─────────────────────────────────╯

$ verbformen nachschlagen
   ╭───────────────── nachschlagen ──────────────────╮
   │ B1 • irregular • haben (also, sein)             │
   │                  nachschlagen                   │
   │ schlägt nach • schlug nach • hat nachgeschlagen │
   │                                                 │
   │                     look up                     │
   ╰─────────────────────────────────────────────────╯

```

or, in code:
```python
from verbformen_cli import Client, PartOfSpeech

client = Client.default_client()
client.search("essen")
# {
#   "search": "essen",
#   "definitions": [
#     "eat",
#     "consume"
#   ],
#   "part_of_speech": "verb",
#   "text": "essen",
#   "behavior": "irregular",
#   "present": "isst",
#   "imperfect": "aß",
#   "perfect": "hat gegessen",
#   "auxiliary_verb": "haben",
#   "flection": "Active",
#   "use": "Main",
#   "level": "A1"
# }
```
auto-selenium 1.0.1
Python tool to automate the download of Selenium Web Drivers for all browsers
Requires Python: >=3.6

# auto-selenium
Auto-Selenium is a Python tool to automate the download of Selenium Web Drivers and store the profile sessions for the following browsers:
* Google Chrome
* Firefox
* Opera
* Brave
* Edge (only for Windows)

It utilizes Selenium and MSEdge tools

## Quickstart examples
### Installation
```Python
pip install auto-selenium
```

### Simple Usage
```Python
from autoselenium import Driver

with Driver('chrome', root='drivers') as driver:
    driver.get('https://www.google.com/')
    # Selenium Webdriver command examples
    driver.find_elements_by_tag_name('div')
    driver.refresh()
```
Downloads driver based on current version of the browser. When it is used as a context manager, the driver returns Selenium's WebDriver object.

### Download specific versions of each driver
```Python
from autoselenium import download_driver, get_version

download_driver('firefox', version='0.29.1', root='drivers')
download_driver('opera', 'latest')

cversion = get_version('brave', 'current')
lversion = get_version('brave', 'latest')

if cversion < lversion:
    print('You should update your browser!')
```
You can specify between 'current', 'latest' or input an specific version for a driver.

### Create your custom driver
```Python
import autoselenium

class TwitterBot(autoselenium.Driver):
    
    _URL = 'https://twitter.com'
    
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.logged = False
    
    def login_required(func):
        def logged_checker(self, *args, **kwargs):
            if not self.logged:
                self.log()
            return func(self, *args, **kwargs)
        return logged_checker    
    
    def log(self):
        self.logged = True
        pass
    
    @login_required
    def scrape(self):
        pass
```
## Contribute
Would you like to contribute to this project? Here are a few starters:
- Improve documentation
- Add Testing examples
- Bug hunts and refactor
- Additional features/ More integrations
- Phantom JS support
- Implement default browser functions for Mac