Skip to main content

DSA package.

Project description

Data Structures and Algorithm Documentation

by Hongnan Gao Oct, 2022

This 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


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 details)

Uploaded Source

Built Distribution

gaohn_dsa-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file gaohn-dsa-0.0.1.tar.gz.

File metadata

  • Download URL: gaohn-dsa-0.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gaohn-dsa-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f9bf17221d8fb52b55664bfb1c89596782fa9e83c56f231df286f6094a220cc5
MD5 f922722a949c2bec85fe9ef337d657be
BLAKE2b-256 76149caa429730203010d5db1596e61aca48535feb8fe2db21bd621de1d01bdd

See more details on using hashes here.

File details

Details for the file gaohn_dsa-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gaohn_dsa-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gaohn_dsa-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be2b5b97c27961d51bd3b42e4645d3108e5c5e0d39220c50c009ec17ab0d53bf
MD5 d57b690b74cae281c1ceb654869a2340
BLAKE2b-256 6100df7e772c3e3af034c9b75c1353a1a47e153c86620ec0646d12a41f609c10

See more details on using hashes here.

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