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.0.tar.gz (49.8 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.0-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: physistool-0.1.0.tar.gz
  • Upload date:
  • Size: 49.8 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.0.tar.gz
Algorithm Hash digest
SHA256 836f44ee54608cf3a1c6f079d95cc438bb295029f1a7db25c8db512888a1a307
MD5 0da3283c1ff8301a997f4fa3aae821e0
BLAKE2b-256 5f1f9d8a0c73e81f368fbe62dea7df0434d1f7bad04e2d0a3ea956e02ab38997

See more details on using hashes here.

File details

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

File metadata

  • Download URL: physistool-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 52.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ea204994d2a278ea2554f15e27a3d7ea78e20a21d9586c86263713a1ea2a39e
MD5 22df20a2272d544fdb66f4c1793b8022
BLAKE2b-256 f31315c02ea7effda08d3cc02274817ccf2bdac4cff1c84c65e804415efa65f2

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