Share Your Code @ PyPI
Tapasweni Pathak (~tapasweni-pathak) |
The Python Package Index (PyPI) is a repository of software for the Python programming language. There are currently 58K+ packages there. There are so many different types of packages, fullfilling different needs. The package pushed on PyPI is very easy to use and help developers to get their stuff done easily.
There are six simple steps to follow to create a setup script that will work with PyPI. Once the script is written, it requires very little maintenance to update the index on each subsequent release. The talk will cover the below things :
- Register with PyPI Test Server
- Collect metadata
- Add metadata to setup.py
- Check PKG-INFO
- Run register command
- Upload to Test PyPI to test
- Register with PyPI Live Server
- Upload to PyPI Live Server
- Check the listing on python.org
This talk will also talk about best practices while adding your package to PyPI. In this we’ll talk about why it is important to push your code to Test PyPI first.
- Python basics.
- Once used pip install.
- Once used setup.py to install a package.
Tapasweni Pathak is working as a Software Developer with SAP Labs. She is a GSOC Mentor for Systers Org. She is in the organizing committee of GHC India for Hackathon track. She is a OWASP Summer Code Sprint 2015 student. She contributes to Linux Kernel and works on a lot of side projects. She is a FOSS enthusiast. She reads and writes on Quora. She loves C, Python, Operating Systems and Compilers. In past she has worked as an Outreachy Linux Kernel Intern, Engineering Intern in Qualcomm Inc and Research Intern in I.I.T Delhi.
I'm, pursuing masters in Computer Science. At present I am working with Systers as GSoC intern. I have worked with OpenStack Zaqar as Outreachy Intern, and at present I am an active contributor to OpenStack. Programming in Python is something I enjoy a lot! Python lets me convert my ideas into real project easily. I work on a lot of projects, participate in hackathons, contribute to other open source projects.
I believe Technology and Computer Science is something that is not just amazing, but also involved in each and every part of our life. It plays a role in how we order/cook food to how we connect to thousands of people in the world. It holds a vital part in almost all the activities we do in our life. It have power to change the world, change the culture, change the thinking of people, making the lives more better.