rossmassey.fetch-leetcode-problem

A package for getting .rst formatted information and python code for a leetcode problem


License
MIT
Install
pip install rossmassey.fetch-leetcode-problem==0.2.1

Documentation

Fetch Problem

Python package to get a dictionary with information about a leetcode problem, formatted in rst

Installing

  1. Install package with pip install rossmassey.fetch-leetcode-problem
  2. Use import fetch_leetcode_problem or from fetch_leetcode_problem import ...
  3. See Documentation for usage

Documentation

  1. cd docs && make html

Deploy Documentation

Sphinx documentation is generated from the docstrings

https://rossmassey.github.io/fetch-leetcode-problem/

Building & Publishing to PyPI

Upload Python Package

This is done automatically on release tag by GitHub actions

Manually

Assume .pypirc configured in user home directory wih PyPI credentials

rm -rf dist
python3 -m build
python3 -m twine upload --repository pypi dist/*