portal to Network of Imaging Excellence (NIX) utilities
Project description
NIX Suite
A set of tools used to format NIX compatible databases.
Installation
pip install nixWrapper
Usage
import nixWrapper
nixWrapper.loadLibrary('labkeyInterface')
import labkeyInterface
...
Use with virtualenv
Create virtualenv called nix where we will use nixWrapper:
:~$ cd $HOME
:~$ mkdir venv
:~$ cd venv
:~/venv$ virtualenv -p python3 nix
:~/venv$ . ./nix/bin/activate
(nix) $:~/venv$ cd
(nix) $:~$ pip install nixWrapper
Whenever you need nixWrapper in your code, simply run:
:~$ ~/venv/nix/python3 yourScript.py
where in your script yourScript.py you use nixWrapper directly like in Usage section.
Use virtualenv in jupyter
To integrate nixWrapper installed in virtualenv with your jupyter code, jupyter needs
to be aware of virtualenv. To do that:
:~$ . ~/venv/nix/bin/activate
(nix) :~$ pip install ipykernel
(nix) :~$ python -m ipykernel install --user --name=nix
Installed kernelspec nix in /home/<your name>/.local/share/jupyter/kernels/nix
More info here.
Developer notes
Packaging howto.
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
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 nixwrapper-1.1.6.tar.gz.
File metadata
- Download URL: nixwrapper-1.1.6.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
915ad62de2da14458a424ebba0db3c82950d7d55f357f310bca05ec5f1197870
|
|
| MD5 |
b1b00eeef6eddfba94d7a142976110b0
|
|
| BLAKE2b-256 |
abeebc2ca12c814ec31faee596c7127e3d3826039223832ddf3595576d8965c1
|
File details
Details for the file nixwrapper-1.1.6-py3-none-any.whl.
File metadata
- Download URL: nixwrapper-1.1.6-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51875fa28dfcf66a940ca04b57adfec32b36cd55b1fd4ffdefcb32363f7d444d
|
|
| MD5 |
8d70c10ff64d7cbe100a6360f6e45abf
|
|
| BLAKE2b-256 |
bbaf53c80ed0849b647b53c5a417281feee8c0e4d6eb5e65a5e434370637e16c
|