Skip to main content

Library for using PhysiBoSS-Models

Project description

physiboss-models

PyPI version

PhysiBoSS logo

This python library provides and API to the PhysiBoSS-Models Database. You can list models, look at their metadata, and download them.

Install

pip install physiboss-models

Usage

To start, you need to create the Database object:

import physiboss_models as pm
db = pm.DataBase()

List models

models = db.all()

Search models

models = db.search("invasion")

List versions of a model

versions = db.versions(model)

Download model

db.download_model(model, path, version)

This will download a model (pre-compiled binary, config files) into the informed path. You can soecify a version, if you don't it will download the latest one.

Once loaded, you can access the model metadata with

metadata = db.current_model_info()

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

physiboss_models-0.1.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

physiboss_models-0.1.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file physiboss_models-0.1.2.tar.gz.

File metadata

  • Download URL: physiboss_models-0.1.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for physiboss_models-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dea9e5848221635562a2ca6663fa363e220b44617d03d2a8d7d60dca7574c76a
MD5 9f60f57849731900ea1617ac33c44d5e
BLAKE2b-256 075e044f0014c3c0c4ace9be5cc1f212b5fa65cf806b093b9bb9d8b9bb2102da

See more details on using hashes here.

File details

Details for the file physiboss_models-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for physiboss_models-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0f032c90841bda0edaba9f360105ee9a706a6fa268cb8cf3313b0113cef878a
MD5 f2c38ffb69ed2061e90fbd84b3479cac
BLAKE2b-256 0f619c57bbe6680d5e3ec6f3214ec5bc517e65210c02ba676e4e93fb71f84c57

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