Skip to main content

xyz_parser

A python parser for the fileformat (.xyz) used for storing computational chemistry data.

Install

pip install xyz_parser

Use

import xyz_parser

with open('molecules.xyz') as molecules_file:
    molecule = xyz_parser.parse(molecules_file)

for molecule in molecules:
    print(f'{molecule.natoms=}')
    print(f'{molecule.comment=}')
    for atom in molecule.atoms:
        print(f'{atom.symbol=}', end='')
        print(f' {atom.x=}', end='')
        print(f' {atom.y=}', end='')
        print(f' {atom.z=}', end='')
        print(f' {atom.extra=}')

Metadata

Release files for xyz-parser 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xyz-parser 0.0.15
File Size Uploaded Provenance
xyz_parser-0.0.15.tar.gz 2.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for xyz-parser 0.0.15
File Interpreter ABI Platform
xyz_parser-0.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / xyz_parser-0.0.15.tar.gz

Download URL xyz_parser-0.0.15.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
86aeb4e013ae3e3f72d97fa09e8dccc749e7bb85a0a2b111639ffc920315f603
BLAKE2b-256 checksum
How to use checksums
5861c010ace8c04f812ac1596a3c5261418fb381d3f01220b8fcbb040c9c1cc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / xyz_parser-0.0.15-py3-none-any.whl

Download URL xyz_parser-0.0.15-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b2fabcff5260c55e0954bd137c22977261f3a06697c38c072fec056547bbdaf
BLAKE2b-256 checksum
How to use checksums
b86df36e203272867fabc4f64fa14da15c482c423c4a5f8e911b02215fcf2aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for xyz-parser 0.0.15

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page