Skip to main content

No project description provided

Project description

Coverage Status PyTest PyPI version ZnTrack

znlib

This package provides you with a CLI to list your installed zincware libraries.

When installing via pip install znlib[zntrack] your output should look something like:

>>> znlib
Available zincware packages:
  ✓  znlib       (0.1.0)
  ✓  zntrack     (0.4.3)
  ✗  mdsuite 
  ✓  znjson      (0.2.1)
  ✓  zninit      (0.1.1)
  ✓  dot4dict    (0.1.1)
  ✗  znipy 
  ✗  supercharge 
  ✗  znvis 
  ✗  symdet 

Furthermore, znlib provides you with some example ZnTrack Nodes.

from znlib.examples import MonteCarloPiEstimator

mcpi = MonteCarloPiEstimator(n_points=1000).write_graph(run=True)
print(mcpi.load().estimate)
>>> 3.128

The idea of the znlib package is to provide a collection of ZnTrack Nodes from all different fields of research. Every contribution is very welcome. For new Nodes:

  1. Fork this repository.
  2. Create a file under the directory znlib/examples
  3. Make a Pull request.

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

znlib-0.1.1.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

znlib-0.1.1-py3-none-any.whl (15.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page