Welcome to pyjc’s documentation!¶
Introduction¶
(Note: this project is currently in Alpha phase. Expect bugs.)
pyjc is a reference python package and module implementation for educational purposes. It is a project that enables one to:
- learn how to develop, build, test, and release a bespoke Python package
- reuse utilities
- get hands-on experience building an open source software
“The structure of this repository is largely inspired by Stackoverflow and the NumPy GitHub repository.”
GitHub Repository¶
pyjc¶
pyjc package¶
Subpackages¶
pyjc.cal package¶
Submodules¶
pyjc.cal.add module¶
pyjc.cal.divide module¶
pyjc.cal.multiply module¶
Module contents¶
pyjc¶
- Provides
- A reference Python Package / Module Implementation for education purpose, inspired by Numpy.
- Utilities for Deep Learning Projects
How to use the documentation¶
Documentation is available in two forms: docstrings provided with the code, and a loose standing reference guide on ReadTheDoc.org (URL pending)
We recommend exploring the docstrings using Jupyter Console, an advanced Python shell with TAB-completion and introspection capabilities. See below for further instructions.
- The docstring examples assume that pyjc has been imported as pyjc::
>>> import pyjc
- Code snippets are indicated by three greater-than signs::
>>> x = 42 >>> x = x + 1
- Use the built-in
help
function to view a function’s docstring:: >>> help(pyjc.cal.add) ... # Help on function add in module pyjc.cal.add: ... # add(a, b) ... # Add two numbers and return the result.
To call the function pyjc.cal.add.add(), simply do a pyjc.cal.add() (i.e. skip the module name)