Skip to main content

Python Protein Subunit Syntax

Project description

PPSS - Python Protein Subunit Syntax

A simple Python package for defining protein subunit structures.

Installation

The simplest way to install this is to do as follows:

pip install ppss

You can also install the Poetry packaging and dependency tool and then clone this repository and install with poetry, as follows:

pipx install poetry
git clone https://github.com/sandyjmacdonald/ppss
cd ppss
poetry install

Usage

from ppss import ProteinParser

# Instantiate the parser
parser = ProteinParser()

# Define a protein structure
protein_definition = "(B1 + B2) | B3"

# Parse the protein structure
structures = parser.parse(protein_definition)

# Display the structures
for structure in structures:
    print(structure)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ppss-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ppss-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file ppss-0.1.0.tar.gz.

File metadata

  • Download URL: ppss-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.0.0

File hashes

Hashes for ppss-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e9e5716d4f2a030d1351dd753efcdf8005509bbddd86ccc86babae936c469ea3
MD5 3e24e620f9b745ba1b78801a8a4b7a9c
BLAKE2b-256 7b60c8cd727a05f3fb8b7a9dd35745c7cff59f75a84dfb57a7b35d6af47ef5cb

See more details on using hashes here.

File details

Details for the file ppss-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ppss-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.0.0

File hashes

Hashes for ppss-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 743b2735171265e3bf0cd2741acb12fd466625b5054234c39c3cd94c5049fdcd
MD5 7cdd9fb10c73e478fd8fce884c4a91b3
BLAKE2b-256 544f7cdf6f9886f2da5613e2bd97d1267d55e4381dd03270b164d0455bde5f7c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page