Simple adapter to smooth API transitions of the garnett project
Project description
Introduction
garnets is a very simple wrapper over the
garnett package. In version
0.7, the API of garnett changed to rename some frame attributes
(positions, orientations, velocities) to their singular
form.
Usage
garnets is mostly designed to be a drop-in replacement for the
garnett import at the top of your file:
import garnets as garnett
Caveats
At the moment, only a basic compatibility layer is supported. Writing
trajectories using frame objects that fulfill only the old frame API
will not work, but writing frames that are read from a garnets or
garnett trajectory should work.
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 garnets-0.1.0.tar.gz.
File metadata
- Download URL: garnets-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d891d66d721dacfda5a504ef65b976ae5d5de4b28445fb70f997103c9a16a2ec
|
|
| MD5 |
8ade50964d27cc1521f5a1af74670822
|
|
| BLAKE2b-256 |
5b2905955bd0583e7978bce61307a9c406ee876f17e1ce0fc53cc70467bd8766
|
File details
Details for the file garnets-0.1.0-py3-none-any.whl.
File metadata
- Download URL: garnets-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd1c891ce73d00e59c6d5065436c4a2092e14d322e53c324f08e9bb3463ed683
|
|
| MD5 |
f4a9fdc816dd71a65d949a4ad470953f
|
|
| BLAKE2b-256 |
967b22084713371b9e5864c74b13ab2ca00483ff20f74c2fbeba5ddb675c8a9f
|