Skip to content

phlpphns/math_ops_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

math_ops_python

This short example shows how to set up and how to install a working, minimal python package.

Go to the folder and type:

pip install .

To uninstall write anywhere:

pip uninstall math_ops_phil

Example:

In [1] import math_ops_phil as mop

In [2]: mop.add(2,3)

Out[2]: 5

In [3]: mop.extras.divide(2,3)

Out[3]: 0.6666666666666666

PS: much later after created this example, I found another good example on the web

https://godatadriven.com/blog/a-practical-guide-to-using-setup-py/ https://godatadriven.com/blog/how-to-start-a-data-science-project-in-python/ ---> https://github.com/hgrif/example-project.git

About

Example for how to set up a python package / module.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages