modelarchive - Functionality around ModelArchive.org & ModelCIF.
Project description
modelarchive - The ModelArchive Python package
modelarchive collects all Python functionality developed for ModelArchive
in a single package - essentially the “Everything ModelArchive” toolkit.
Yes, the name is a bit long, but ma alone felt too short ;)
You can conveniently import it as:
import modelarchive as ma
The package is organised into submodules covering different areas of functionality. Currently available:
modelcif: help with editing ModelCIF files, translating from legacy PDB format and extending existing ModelCIf-formatted files
Installation
From PyPI:
pip install modelarchive-py
From source:
git clone https://git.scicore.unibas.ch/schwede/modelarchive-py
cd modelarchive-py
pip install .
For development:
- to see code changes immediately effective in your environment:
pip install -e .
Versioning/ requirements.txt
modelarchive follows Semantic Versioning, so you can
safely depend on modelarchive-py>=<MAJOR VERSION>.0.0 to get updates
without breaking changes.
Documentation
Documentation is kept up to date
here. There is the
stable version, pointing to
the current release, and there is
latest, pointing to the dev
branch. Older versions of the documentation are also kept available.
Developing ModelArchive
- consider copying
hooks/pre-pushto.git/hooks/for version number checks - best install the package to get all requirements resolved
- run pytest as
python -m pytest [-s] - in the
doc/subdirectory, runmake htmlto create the documentation - in the
doc/subdirectory runmake doctestto run Doctests - updating the package on PyPi happens via our CI/CD pipeline
- merge
devintomain - edit
CHANGELOG.md - push a tag of form
<Major>.<Minor>.<Bugfix> - runs the release pipeline to create a package on PyPi and a release in GitLab
- merge
mainintodev
- merge
- updating the Read the Docs page happens via our CI/CD pipeline
- push to
devto updatelatest - push release tag to update
stable
- push to
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modelarchive_py-3.1.0.tar.gz.
File metadata
- Download URL: modelarchive_py-3.1.0.tar.gz
- Upload date:
- Size: 98.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a084d23ac4cb7a27de39826a2438b4a27f00948679d030f81d30e28a3bee51d1
|
|
| MD5 |
957f8cfd5b611572005c7bfc198c67f1
|
|
| BLAKE2b-256 |
8773710d11339867d6aa4488ed910ea8f69fd1308dd0b39cb602904e7fe8ed07
|
File details
Details for the file modelarchive_py-3.1.0-py3-none-any.whl.
File metadata
- Download URL: modelarchive_py-3.1.0-py3-none-any.whl
- Upload date:
- Size: 73.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba79a5131bb3d66d502f07e54968940ad176bb871066782732dc60d201ad8832
|
|
| MD5 |
6d00cbd64ecd64d253f70079ebfed9c6
|
|
| BLAKE2b-256 |
bc54a3f87b040d0b0565b881b7f4770c3c34976fbd8fb721de33dcba0c13b88f
|