DSA package.
Project description
Data Structures and Algorithm Documentation
by Hongnan Gao Oct, 2022This is the documentation for various data structures and algorithms concepts.
Workflow
Installation
~/gaohn $ git clone https://github.com/gao-hongnan/gaohn-dsa.git gaohn-dsa
~/gaohn $ cd gaohn-dsa
~/gaohn/gaohn-dsa $ python -m venv <venv_name> && <venv_name>\Scripts\activate
~/gaohn/gaohn-dsa (venv) $ python -m pip install --upgrade pip setuptools wheel
~/gaohn/gaohn-dsa (venv) $ pip install -r requirements.txt
~/gaohn/gaohn-dsa (venv) $ pip install myst-nb==0.16.0
The reason for manual install of myst-nb==0.16.0
is because it is not in sync
with the current jupyterbook version, I updated this feature to be able to show
line numbers in code cells.
Setting up Continuous Integration
~/gaohn/gaohn-dsa (venv) $ mkdir -p .github/workflows .github/actions
~/gaohn/gaohn-dsa (venv) $ curl -o .github/actions/continuous-integration/action.yaml \
https://raw.githubusercontent.com/gao-hongnan/common-utils/main/.github/actions/continuous-integration/template.yaml
~/gaohn/gaohn-dsa (venv) $ curl -o .github/workflows/continuous_integration.yaml \
https://raw.githubusercontent.com/gao-hongnan/common-utils/main/.github/workflows/continuous_integration.yaml
Change the environment variable PACKAGES_TO_CHECK
to dsa
in
.github/workflows/continuous_integration.yaml
.
Building the book
After cloning, you can edit the books source files located in the content/
directory.
You run
~/gaohn (venv) $ jupyter-book build content/
to build the book, and
~/gaohn (venv) $ jupyter-book clean content/
to clean the build files.
A fully-rendered HTML version of the book will be built in
content/_build/html/
.
MyST NB
See config documentation.
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
gaohn-dsa-0.0.1.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for gaohn_dsa-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be2b5b97c27961d51bd3b42e4645d3108e5c5e0d39220c50c009ec17ab0d53bf |
|
MD5 | d57b690b74cae281c1ceb654869a2340 |
|
BLAKE2b-256 | 6100df7e772c3e3af034c9b75c1353a1a47e153c86620ec0646d12a41f609c10 |