Skip to main content

Open-source PhysisFold client — CLI + SDK for constraint-guided all-atom protein folding via a remote (Nitro Enclave) endpoint.

Project description

physistool

The open-source PhysisFold client — a thin, auditable CLI + SDK that speaks HTTP+JSON to a remote PhysisFold folding endpoint (the engine runs server-side inside an AWS Nitro Enclave; there is no protected IP in this package).

physistool is the umbrella command: physistool fold ... today, with sibling verbs (engineer, msa, search, ...) joining the same command as more tools ship.

Install

pip install physistool

SDK

The pip package is physistool; the import module is physis (scikit-learn -> sklearn convention).

from physis import fold, FoldError

try:
    report = fold("input.fasta", out_path="result.pdb",
                  endpoint="http://127.0.0.1:8787")
except FoldError as e:
    ...

CLI

physistool fold input.fasta --out result.pdb --endpoint http://127.0.0.1:8787
# equivalently, the flat flag surface:
physistool --sequence input.fasta --out result.pdb

Run physistool --help for the full flag set (best-of seeds, helix prior, Stage-C --encrypt, metering, attestation --expected-pcr0, ...).

Security model

Before any input leaves your machine the client fetches and verifies the endpoint's AWS Nitro attestation (signature chain to the pinned Nitro root + published PCR0) and only then trusts the enclave public key. See the module docstrings in physis/attestation.py and physis/envelope.py.

License

MIT. See LICENSE.

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

physistool-0.1.4.tar.gz (54.3 kB view details)

Uploaded Source

Built Distribution

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

physistool-0.1.4-py3-none-any.whl (57.3 kB view details)

Uploaded Python 3

File details

Details for the file physistool-0.1.4.tar.gz.

File metadata

  • Download URL: physistool-0.1.4.tar.gz
  • Upload date:
  • Size: 54.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for physistool-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2761cc1835201b920347ccd5c16c849079a05868e6371d522732aa75397edede
MD5 b4f3de69e302f7e5e76a1403200fc701
BLAKE2b-256 981817663a0ab1c5cd7e4df6b448daaef479cf4cd9b76d10264ff37644c13a19

See more details on using hashes here.

File details

Details for the file physistool-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: physistool-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 57.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for physistool-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 868fa1ea178376781220047a9827177f4977067c0e513fe40863cea3a8915c77
MD5 0edc938119f0daf5fcbeb9f0c0bc807f
BLAKE2b-256 2caf525a4055da6af1872bafdda7bae60da7eca2c35d1e52612ee70c88bd9dae

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