2025-06-26 13:29:10 -05:00
2025-06-26 13:29:10 -05:00
2025-03-30 04:44:35 -05:00
2024-07-07 15:17:06 -05:00
2025-06-26 12:55:57 -05:00
2025-03-30 04:57:51 -05:00
2025-03-30 04:57:51 -05:00
2025-03-24 09:52:52 -05:00

PynKode

pynkode is a tutorial of how nkode works. There are jupyter notebooks in /notebooks covering these topics:

  • dispersion
  • nkode enrollment, login, and renewal
  • split shuffle

Installation

  • Python version 3.10 or greater is required
  • Install conda (or your preferred tool) for environment management

Using conda

conda env create -f environment.yml
conda activate pynkode

Starting a Jupyter Notebook

Option 1: Using classic Jupyter Notebook

# Ensure your environment is activated
# For conda: conda activate pynkode
# For pyenv: (should be automatic if in the directory)

# Start the Jupyter Notebook server
jupyter notebook

Option 2: Using JupyterLab

# Ensure your environment is activated
# Start JupyterLab
jupyter lab

Explore the Docs

You can find documentation in the docs folder.

  1. Enrollment
  2. Login
  3. nKode Cipher
  4. nKode Validation
  5. Renew

Tutorials

You can find tutorials in the notebooks directory.

Recommended order:

  1. Enrollment_Login_Renewal_Simplified.ipynb - Learn the basics of the nKode API
  2. Enrollment_Login_Renewal_Detailed.ipynb - Learn the nKode API in detail
  3. Dispersion.ipynb- Understand the basic concepts of dispersion in nkode
  4. Split_Shuffle.ipynb - Explore the split shuffle functionality

Tabletop Discussion

notes

Description
No description provided
Readme 311 KiB
Languages
Jupyter Notebook 60.3%
Python 39.7%