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.5.tar.gz (54.9 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.5-py3-none-any.whl (57.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: physistool-0.1.5.tar.gz
  • Upload date:
  • Size: 54.9 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.5.tar.gz
Algorithm Hash digest
SHA256 78b53e32c29c0def3bb082fa82dfc3c878f9219a5fc986865a1f9914b87b19bb
MD5 82ab2bd7e70f267d117faf8089aecfe7
BLAKE2b-256 e0b40d1683ff7008c9e464be38ed657834c90b1142130854c713117bf10379a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: physistool-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 57.8 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 81fb93a9c67491da162f4375050e4a0ed7034412051298aba71a897f09d6e378
MD5 f162cedc2f83681b4b7f83127804b249
BLAKE2b-256 7fd69262f04ffa69c15d7a4debef87f7d9aaed3df407cefd47a3999f0555e2c3

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