GEOM – Geometry File Management
GEOM is a tool for creating, modifying, and analyzing XYZ geometry files. It provides geometry transformations, nanoparticle generation, and graphene structure creation for computational research, with both a command-line interface and a native desktop GUI.
Features
- GEOM Structure Studio: native desktop GUI for interactive nanoparticle and graphene generation, 3D visualization, and structure manipulation.
- RDKit tools: molecular visualization, file conversion, force field optimization, and conformers generation.
- AI Assistant for nanoparticle and graphene creation
- Geometry Transformations: Translation, rotation, merging, and specular (mirror) transformations.
- Nanoparticle Generation: Sphere, rod, core-shell, tip, pyramid, cone, icosahedron, and more.
- Graphene Structures: Ribbons, disks, rings, and triangles.
- Advanced Options: Alloying, dimer formation, and bowtie configurations.
- Minimum Distance Calculation between XYZ geometries.
- Geometrical Center Computation.
Installation
GEOM can be installed in two ways:
- pip (PyPI): best for quick installs, CI, and lightweight usage.
- conda (recommended for full scientific setups): full ecosystem with all extras and the desktop app.
On PyPI, the package name is
geom-x(the import/module name is stillgeom).
Option A — pip (PyPI)
Create/activate an environment first, then:
pip install geom-x
Quick sanity check:
python -c "import geom; print('geom imported OK')"
geom -h
Option B — conda
./install.sh
This script will:
- Check if Miniconda or Anaconda is installed. If not, it will prompt you to install Miniconda.
- Set up a conda environment named
geom_envwith all dependencies. - Configure shell aliases for running GEOM.
- Build the GEOM Structure Studio desktop app (macOS and Linux/WSL).
Quick Start
Load the GEOM environment:
geom_load
See all available options:
geom -h
Example commands:
- RDKit conformers generation
geom -rdkit -i tyrosine.mol -confs
- RDKit file conversion
geom -rdkit -i tyrosine.mol -o tyrosine.pdb
- Rotate geometry 90 degrees around the Y-axis:
geom -r1 90 geom.xyz origin_CM_yes +y
- Generate a nanoparticle sphere:
geom -create -sphere Ag 30
- Generate a graphene ribbon:
geom -create -graphene rib 50 20
GEOM Structure Studio
GEOM includes a native desktop GUI — GEOM Structure Studio — for interactive nanoparticle and graphene creation, 3D visualization, and structure manipulation.
Launch
- Terminal — load the environment with
geom_load, then rungeomapp. - macOS — open
~/Applications/GEOM.appdirectly from Finder or Spotlight. - Linux / WSL — open GEOM from your desktop application launcher (the installer registers a
.desktopentry).
What you can do
- Generator — create nanoparticles (sphere, rod, tip, pyramid, cone, icosahedron, and more) and graphene structures (disk, ribbon, ring, triangle) with interactive parameter controls. Supports alloy, dimer, bowtie, and core-shell configurations.
- Viewer — load XYZ, PDB, or SMILES structures via file picker or drag-and-drop. Interactive 3D view with VdW/CPK rendering, atom selection expressions (
x > 0 and name C), and adjustable sphere size, bond width, and resolution. - Manipulator — translate, rotate, mirror (enantiomer), and center structures. Pair mode sets a controlled distance between two loaded structures along any axis.
Starting the AI Assistant
GEOM includes an AI-powered assistant that understands natural language, translates it into valid GEOM CLI commands, and executes them automatically.
This assistant is built using Microsoft's AutoGen framework, which enables a multi-agent system to interface with OpenAI's language models and run commands dynamically.
1. Export your OpenAI API key
export OPENAI_API_KEY=your-api-key-here
Obtain an API key at https://platform.openai.com/account/api-keys
2. Start the assistant
ai_geom
The assistant will automatically create and execute the corresponding GEOM command for you.
Running Tests
Tests run automatically during installation. To run them manually:
./geom/tests/run_all_tests.sh
License
GEOM is licensed under the GNU General Public License v3.0.
Funding
This project has been supported by the FARE 2020 program — "Framework per l'attrazione e il rafforzamento delle eccellenze per la ricerca in Italia."
Publications
GEOM has been used in the following research paper(s):
- Giovannini, T.; Grobas Illobre, P.; Lafiosca, P.; Nicoli, L.; Bonatti, L.; Corni, S.; Cappelli, C. plasmonX: an Open-Source Code for Nanoplasmonics. Comput. Phys. Commun. 2026, 110035. https://doi.org/10.1016/j.cpc.2026.110035
Contact
For issues or contributions:
- Email: pgrobasillobre@gmail.com
- Github issues: https://github.com/pgrobasillobre/geom/issues
Metadata
Release files for geom-x 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geom_x-2.1.0.tar.gz | 115.3 kB | With provenance | Details for geom_x-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geom_x-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for geom_x-2.1.0-py3-none-any.whl |
Total release size: 232.8 kB
Release files / geom_x-2.1.0.tar.gz
| Download URL | geom_x-2.1.0.tar.gz |
|---|---|
| Size | 115.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3095ddb61fe3b299982b3787bdfa3420f88906df5035613ba6ba37b31c71802f
|
|
BLAKE2b-256 checksum How to use checksums |
f151fad5cf2b0bc4023e12ea51fe826af1d4797d7014ec610fd18ca34510f9e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 22, 2026.
Transparency logRelease files / geom_x-2.1.0-py3-none-any.whl
| Download URL | geom_x-2.1.0-py3-none-any.whl |
|---|---|
| Size | 117.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bf65d23de0408ef1e7bbd92e319b4a0fc7ebbee6e32cd150a1bb15cb46b82afc
|
|
BLAKE2b-256 checksum How to use checksums |
744552a240c714ee9efaeea739214b70f64da7c1112023b81ab5eed771f88977
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 22, 2026.
Transparency logSecurity for geom-x 2.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for geom_x-2.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 22, 2026.
Transparency logA 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.