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.10.tar.gz (27.9 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.10-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: topo_metrics-0.0.10.tar.gz
  • Upload date:
  • Size: 27.9 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.10.tar.gz
Algorithm Hash digest
SHA256 fb7974c3b9cf9389d5d0324a6c6211a2340a958e14e44f7ad4f35273b244aab7
MD5 5c29038c1be044a6f60255af24fc4e74
BLAKE2b-256 86baea92a672678a82d3594566cccf37257d884180de3ed8d04b97ac96c355ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: topo_metrics-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 26.8 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7cc587a35b980e8163dc1c9b465bd0bf815291712d90ddefe5ddb7ff1d30c198
MD5 89fa4b73d8aba89dd12eaff9fdccc9e1
BLAKE2b-256 15bbd2570949a132b36d150b3546176b9b1c796d530be95d06c5bb075e466a66

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