Skip to main content

passagemath: Generation of nonisomorphic fullerenes with buckygen

Project description

About SageMath

“Creating a Viable Open Source Alternative to

Magma, Maple, Mathematica, and MATLAB”

Copyright (C) 2005-2024 The Sage Development Team

https://www.sagemath.org

SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (Windows Subsystem for Linux).

See https://doc.sagemath.org/html/en/installation/index.html for general installation instructions.

About this pip-installable distribution package

This pip-installable distribution passagemath-buckygen provides an interface to buckygen, a program for the efficient generation of all nonisomorphic fullerenes.

What is included

  • Binary wheels on PyPI contain prebuilt copies of buckygen.

Examples

Using the buckygen program on the command line:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-buckygen[test]" sage -sh -c buckygen

Finding the installation location of the buckygen program:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-buckygen[test]" ipython

In [1]: from sage.features.graph_generators import Buckygen

In [2]: Buckygen().absolute_filename()
Out[2]: '.../bin/buckygen'

Using the Python interface:

$ pipx run --pip-args="--prefer-binary" --spec "passagemath-buckygen[test]" ipython

In [1]: from sage.all__sagemath_buckygen import *

In [2]: len(list(graphs.fullerenes(60)))
Out[2]: 1812

In [3]: gen = graphs.fullerenes(60, ipr=True); next(gen)
Out[3]: Graph on 60 vertices

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

passagemath_buckygen-10.5.1.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file passagemath_buckygen-10.5.1.tar.gz.

File metadata

  • Download URL: passagemath_buckygen-10.5.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for passagemath_buckygen-10.5.1.tar.gz
Algorithm Hash digest
SHA256 97e285b0f2267b2c5c90106ee4ad03709e1cc3926790b4094b3d474cb28f4239
MD5 1983a5dcc29d98aff18c12c47ca97cfd
BLAKE2b-256 69fe24c9931e6886294d4c724d19d43d4404efd0e6268577570c72f08f455713

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page