Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for garnets, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size garnets-0.1.0-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size garnets-0.1.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page