Skip to main content

Topological analysis tools for network materials.

Project description

topo-metrics

Quickstart

# install Julia (if you haven't already)...
curl -fsSL https://install.julialang.org | sh

# install `topo-metrics` package using UV.
uv venv topo-throwaway --python 3.10
source topo-throwaway/bin/activate
uv pip install topo-metrics --upgrade

Julia interface

The Julia interface can sometimes take a bit of work to get up and running (there is probably a way to improve the build...). If this doesn't work out of the box, there are a couple of strategies I have found to help.

1. update PyCall.

python -c "import julia; julia.install()"

2. instantiate and precompile the project.

# grab the parent directory of the package.
PACKAGE_PARENT_DIR=$(python -c "import topo_metrics, os; print(os.path.dirname(topo_metrics.__file__))")

# access the Julia project.
cd ${PACKAGE_PARENT_DIR}/RingStatistics

# enter Julia
julia

Then activate the Julia Pkg manager using ], and run

instantiate
precompile

Project details


Download files

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

Source Distribution

topo_metrics-0.0.11.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

topo_metrics-0.0.11-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file topo_metrics-0.0.11.tar.gz.

File metadata

  • Download URL: topo_metrics-0.0.11.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for topo_metrics-0.0.11.tar.gz
Algorithm Hash digest
SHA256 59d3f4158cf9e525236dc0b26d9aafeb94283445e53b70aa574815a2465c9d50
MD5 0b481a78d053a382be2067e8b38952cc
BLAKE2b-256 3324ec147e5ca5ec10d10cc25b98ef05be71f427640a69e5e71cf05eb942c14a

See more details on using hashes here.

File details

Details for the file topo_metrics-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: topo_metrics-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for topo_metrics-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 841b889ab68cf08e2ca6b5da79529b4b6cf9abcaafa1f649a63d4759d145b68b
MD5 b61315ccd673e2a9e437c4975e463270
BLAKE2b-256 06dc859dcb625b3617d71b0ef353c6d0f2750c8182f64ddac2b18a88251073cd

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