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 (see topo_metrics.init.py for the strategy taken be default), you could try a combination of the following steps.

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.12.tar.gz (27.7 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.12-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: topo_metrics-0.0.12.tar.gz
  • Upload date:
  • Size: 27.7 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.12.tar.gz
Algorithm Hash digest
SHA256 2468a1789e94f21eca60339eb2bf87858a35c6d1c75174b89a14bd0c529122c5
MD5 a8a4db4fdb5d3babb2f71cf2f4db959c
BLAKE2b-256 66210c0ddb200a7eea547333786e802816aab966c9b30feeb19c3bec27e10e55

See more details on using hashes here.

File details

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

File metadata

  • Download URL: topo_metrics-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 27.6 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 49728a5411a1c0442b423924333750fbcdf4658a02077769ab77e3373b3a16df
MD5 2191ca6740a0d8dbdfc6ca170dad349c
BLAKE2b-256 3e0360efad6ccfd6dd54f934ea7bd9aedd9b57db1c2de494f9fd6313c0b48c3e

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