TINC python module
Project description
TINC python module and tools
This is the python module for TINC. It can be used standalone, or in conjunction with a C++ application written with TINC to provide a TINC server:
https://github.com/AlloSphere-Research-Group/tinc
tinc-python depends on numpy, matplotlib, netcdf4, filelock and jsonschema. If ipywidgets is available, tinc-python can provide interactive widgets for the jupyter notebook.
To install additional dependencies for tinc-python:
pip install tinc
To install additional dependencies for tinc-python:
pip install ipywidgets
Installing jupyterlab on macOS Through homebrew
There are many ways to install jupyterlab. Here is one we have tested to work with TINC.
brew install jupyterlab
When brew installs jupyter lab and installs python3.8, it mentions it is keg only, so need to follow brew's instructions:
Python has been installed as /usr/local/opt/python@3.8/bin/python3
You can install Python packages with /usr/local/opt/python@3.8/bin/pip3 install <package>
They will install into the site-package directory
/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
python@3.8 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have python@3.8 first in your PATH run:
echo 'export PATH="/usr/local/opt/python@3.8/bin:$PATH"' >> /Users/cannedstar/.bash_profile
For compilers to find python@3.8 you may need to set:
export LDFLAGS="-L/usr/local/opt/python@3.8/lib"
For pkg-config to find python@3.8 you may need to set:
export PKG_CONFIG_PATH="/usr/local/opt/python@3.8/lib/pkgconfig"
To install additional dependencies for tinc-python for the jupyter python:
/usr/local/opt/python@3.8/bin/pip3 install filelock matplotlib ipywidgets
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 Distributions
Built Distribution
File details
Details for the file tinc_testing-0.9.33.7-py3-none-any.whl
.
File metadata
- Download URL: tinc_testing-0.9.33.7-py3-none-any.whl
- Upload date:
- Size: 49.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62364da2a5c9d8b0e029ec419f75c15322fa0b27949962fc7e498d65313c4fbd |
|
MD5 | 4ae1f543fd01cd09124552b560575314 |
|
BLAKE2b-256 | 3ee93e2d46ba503cb13468dd1b7dd67b36534d4ada0ffc0e3bf1a1fcbda68ad0 |