I've been creating Python scripts for basic tasks at work and never truly tried packaging them for others to utilize. Presently I have been assigned out to create a Python wrapper for a REST API. I have definitely no clue on the best way to begin and I need assistance.
What I currently have
(Simply need to be explicit as could really be expected) I have the virtualenv prepared, it's additionally up in github, the .gitignore document for python is there too, besides, the requests library for cooperating with the REST API. That is it.
Look at the present director tree
.
├── bin
│ └── /the usual stuff/
├── include
│ └── /the usual stuff/
├── lib
│ └── python2.7
│ └── /the usual stuff/
├── local
│ └── /the usual stuff/
└── README.md
27 directories, 280 files
I don't have a clue where to put the .py documents, on the off chance that I actually make one.
What I needed to do:
Make a python module which is install-able with "pip install ..."
On the off chance that conceivable, I need an overall step by step measure on composing Python modules.