Skip to content

Instantly share code, notes, and snippets.

View d14her's full-sized avatar
🏠
Working from home

d1 d14her

🏠
Working from home
View GitHub Profile
@d14her
d14her / stock_program_hw.py
Created November 25, 2021 22:29
Stock h/w program
import randfunc #this is a module I made and am currently working on
'''
My Github page for the above module: https://github.com/Cu3t0m/randfunc
My PyPi page for the above: https://pypi.org/project/randfunc/
Note: I have organised the code but is too lazy to now modify the README.md file so you may have to look at the code to use the module.
'''
@d14her
d14her / Readme.md
Created November 17, 2021 19:58
A gist on setting up and uploading a python module to PyPi

Randfunc

Before reading on, please star and fork my python module Randfunc.

Creating README.md

Create a file named README.md and edit it as you like (in Markdown).

Creating setup.py

setup.py is the build script for setuptools. It tells setuptools about your package (such as the name and version) as well as which code files to include.

import setuptools