semvec/pypi-packages huggingface dataset:
drawer 0.1a4
Dynamically Re-applyable Aspect WEaveR — an implementation of dynamic aspect weaving in Python.
License: MIT
Requires Python: <3

# Asp - Aspect Oriented Programming for Python

An Aspect Oriented Programming Library for Python.

## Contributors

* Tom Wallis<br/>
  School of Computing Science, University of Glasgow<br/>
  GitHub ID: probablytom
  [twallisgm@googlemail.com](mailto:twallisgm@googlemail.com)

* Tim Storer<br/>
  School of Computing Science, University of Glasgow<br/>
  GitHub ID: twsswt
  [timothy.storer@glagow.ac.uk](mailto:timothy.storer@glagow.ac.uk)

## Overview

Asp is a library for applying aspects (cross cutting concerns) to Python modules at runtime.

## Examples

Todo
proteo 1.0.1
A simple client library for UniProt
License: MIT
Requires Python: >=3
Keywords: uniprot protein bioinformatics proteomics

# Proteo

A simple Python library for working with UniProt, the *Universal Protein resource*.

## Installation

```
pip install proteo
```

## Usage

```python
from proteo.uniprot import UniprotClient

# Initialize a client
u = UniprotClient()

# Use the get_protein method to retrieve a protein record by accession number
accession_number = "B5ZC00"
response = u.get_protein(accession_number)

# Protein data is returned as a dictionary
print(response['gene'])
#glyQS

print(response['recommended_name'])
#Glycine--tRNA ligase

print(response['sequence'])
#MKNKFKTQEELVNHLKTVGFVFANSEIYNGLANAWDYGPLGVLLKNNLKNLWWKEFVTKQKDVVGLDSAIILNPLVWKASGHLDNFSDPLIDCKNCKARYRADKLIESFDENIHIAENSSNEEFAKVLNDYEISCPTCKQFNWTEIRHFNLMFKTYQGVIEDAKNVVYLRPETAQGIFVNFKNVQRSMRLHLPFGIAQIGKSFRNEITPGNFIFRTREFEQMEIEFFLKEESAYDIFDKYLNQIENWLVSACGLSLNNLRKHEHPKEELSHYSKKTIDFEYNFLHGFSELYGIAYRTNYDLSVHMNLSKKDLTYFDEQTKEKYVPHVIEPSVGVERLLYAILTEATFIEKLENDDERILMDLKYDLAPYKIAVMPLVNKLKDKAEEIYGKILDLNISATFDNSGSIGKRYRRQDAIGTIYCLTIDFDSLDDQQDPSFTIRERNSMAQKRIKLSELPLYLNQKAHEDFQRQCQK
```

## Response Dictionary

The protein response dictionary contains the following items:

Key | Meaning
------------ | -------------
gene | The gene coding the protein
name | The protein's short name
organism | The organism in which the protein is found
primary_accession_number | The protein's UniProt accession number
recommended_name | The protein's long/recommended name
sequence | The amino acid sequence defining the protein

## Exceptions

Proteo defines the following exceptions:

Exception | Meaning
------------ | -------------
proteo.exceptions.ProteinNotFoundError | Raised when no protein can be found for the accession number that was provided.
gmemo 0.0.1
Command line application for global memo.
License: MIT

Global Memo
===========

Install
-------

::

    pip install gmemo

usage
-----

gmemo is command-line application.

::

    $ gmemo --help
    usage: gmemo [option | text]
    Options and arguments:
    -a     : Display all lines.
    -h N   : Display N lines from the begining.
    -t N   : Display N lines from the end.
    $ gmemo
    >>> --help
    Commands:
    -q        : Quit gmemo.
    -s --save : Save curret memo.
    --replace : Replace line.
    --reset   : Initialize memo.
    >>> global
    >>> memo
    >>> test
    >>> -s
    ----------------
    save succeeded!!
    ----------------
    >>> -q
    $ cd somewhere
    $ gmemo
    global
    memo
    test
    >>> add
    >>> text
    >>> --save
    ----------------
    save succeeded!!
    ----------------
    >>> -q
    $ gmemo
    global
    memo
    test
    add
    text
    >>> --replace
    ------------------------------
    input line number for replace.
    ------------------------------
      1 | global
      2 | memo
      3 | test
      4 | add
      5 | text
    >>> 3
    -------------------
    replace target line
    -------------------
    test
    >>> replaced
    -------------------
    replace succeeded!!
    -------------------
    global
    memo
    replaced
    add
    text
    >>> -q
    $ gmemo add text from argument
    $ gmemo 
    global
    memo
    test
    add
    text
    add text from argument
    >>> --reset
    >>> reset
    >>> -s
    ----------------
    save succeeded!!
    ----------------
    >>> -q
    $ gmemo
    reset
    >>> --reset
    >>> 1
    >>> 2
    >>> 3
    >>> 4
    >>> 5
    >>> -s
    ----------------
    save succeeded!!
    ----------------
    >>> -q
    $ gmemo -h 3
    1
    2
    3
    $ gmemo -t 2
    4
    5
    $ gmemo -a
    1
    2
    3
    4
    5

Memo location
-------------

Memo stored in home directory.

::

    ~/.global_memo_v0_0_1