Visualizer of 3d vector field with accent of topological solitons.
Project description
TopoVec
Installation
Prerequisites
We recommend to Install UV package manager according to the manual.
Normal installation
If only GUI or scripts are going to be used, topovec can be installed as a tool.
E.g. using UV
uvx tool install topovec
or using pipx:
pipx install topovec
To use topovec in jupter or marimo notebook,
we suggest to use virtual environment.
UV provides very convenient way to proceed.
First create directory for you project:
uv init <your_project>
Then enter into the just create folder and install topovec:
cd <your_project>
uv add topovec
Most functionality of topovec are in plugins.
All the plugins can be installed using
uv add topovec --all-extras
Now you can start notebook as described below.
For development
Clone or download the repository:
git clone https://gitlab.com/alepoydes/topovec.git
Switch to the newly created directory:
cd topovec
Run UV to create virtual environment and install the library.
uv sync --all-extras
Most of the functionality are provided by plugins which have dependencies on external packages.
--all-extras will install all dependencies, which may lead to long installation time
or incompatibilities with already installed software.
You can select which plugins to choose using --extra key.
For example, if we are interested only in OpenGL functionality, we can install only mgl plugin.
uv sync --extra mgl
First steps
It is convenient to prepare plots for publication in a notebook.
To run Jupter Lab inside the environment associated with topovec,
run in the topovec folder the following command:
uv run --with jupyter jupyter lab
Demonstration of basic functionality of the library can be found in the notebook notebooks/demo1.ipynb.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topovec-0.1.2.tar.gz.
File metadata
- Download URL: topovec-0.1.2.tar.gz
- Upload date:
- Size: 111.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42cb2ab65f50c4a47fa5be0d0215225a2d2b95d533daa0e5fd1509c7ad34619b
|
|
| MD5 |
2df7c174d349d8129d7bb641bf7eb94b
|
|
| BLAKE2b-256 |
dfda4133af84bb3568caceb23a3938256187ba5ea7a6a1cc6485ec76be24b651
|
File details
Details for the file topovec-0.1.2-py3-none-any.whl.
File metadata
- Download URL: topovec-0.1.2-py3-none-any.whl
- Upload date:
- Size: 47.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bcd38e62deba251122b8954ea439c5a948f9e4dd264d41505cee43546d21f8a
|
|
| MD5 |
5b701357d134aac4662e5522f04b5a0d
|
|
| BLAKE2b-256 |
d123d0c278c34415c5eb614c38a0a5ea5837dd36daa5bf1e09616b0aa487ea40
|