| 1 |
.. Copyright (c) 2016-2026 The Regents of the University of Michigan |
| 2 |
.. Part of GSD, released under the BSD 2-Clause License. |
| 3 |
|
| 4 |
gsd Python package |
| 5 |
================== |
| 6 |
|
| 7 |
**GSD** provides a **Python** API. Use the `gsd.hoomd` module to read and write files for |
| 8 |
HOOMD-blue. |
| 9 |
|
| 10 |
Submodules |
| 11 |
---------- |
| 12 |
|
| 13 |
.. toctree:: |
| 14 |
:maxdepth: 1 |
| 15 |
|
| 16 |
python-module-gsd.fl |
| 17 |
python-module-gsd.hoomd |
| 18 |
python-module-gsd.pygsd |
| 19 |
python-module-gsd.version |
| 20 |
|
| 21 |
Package contents |
| 22 |
---------------- |
| 23 |
|
| 24 |
.. automodule:: gsd |
| 25 |
:synopsis: GSD main module. |
| 26 |
:members: |
| 27 |
|
| 28 |
Logging |
| 29 |
------- |
| 30 |
|
| 31 |
All Python modules in **GSD** use the Python standard library module :py:mod:`logging` to log |
| 32 |
events. Use this module to control the verbosity and output destination:: |
| 33 |
|
| 34 |
import logging |
| 35 |
logging.basicConfig(level=logging.INFO) |
| 36 |
|
| 37 |
.. seealso:: |
| 38 |
|
| 39 |
Module :py:mod:`logging` |
| 40 |
Documentation of the :py:mod:`logging` standard module. |