This is a collection of MicroProjects I code for fun..
Clone the development version from MicroProjects - GitHub
git clone https://github.com/nyx-4/MicroProjects.git
cd MicroProjects
pip install .
Use the package manager pip to install foobar.
pip install microprojects
1. Calculator
A simple calculator written in Python that just works. The source code is available on nyx-4/MicroProjects/calc - GitHub.
- From CLI:
calc 5 + 10 x 3 - 2
- As Python module:
python -m microprojects.calc 5 + 10 x 3 - 2
- From Python source:
microprojects.calc("5 + 10 x 3 - 2")
2. ngit
Git re-implementation in Python that is perfectly compatible with with Git SCM. The source code is available on nyx-4/MicroProjects/ngit - GitHub.
- From CLI:
ngit init