Publishing Open Source python package to PyPI
Abhishek Mishra (~abhishekmishragithub) |
Python today has multiple implementations including Jython,IronPython. To be noted, Cpython which is written in C and developed by Python Software Foundation is the default and most popular implementation of Python. While these implementations work in the native language they are written in, they are also capable of interacting with other languages through use of modules.
Python is famous for coming with batteries included. Sophisticated capabilities are available in the standard library. You can find modules for working with sockets, parsing different documents like CSV, JSON, and XML. However great the packages included with Python are, there are many fantastic projects available outside the standard library. These are most often hosted at the Python Packaging Index (PyPI), historically known as the Cheese Shop. At PyPI, you can find everything from Hello World to advanced deep learning libraries. Most of these modules work on community development model and are open-source and free.
Through this talk/demo, I'll like to discuss following points:
- Prepare your Python package for publication
- Versioning of Package
- Upload your package to PyPI
- Basic understanding and familiarity with python package and modules.
Content and deck is currently under preparation. The outline will be as followed
- Preparing Your Package for Publication: Naming, Configuring and Documenting package
- Versioning of package
- Adding Files to Your Package
- Publishing to PyPI : Building , testing and uploading the package
- Other useful tools for packaging
I’m Abhishek currently working with Virtusa corporation in R&D team. I am a Pythonista and currently working in computer vision (professionally). I love to code in python and always give preference to Python when it comes to solve any problem let it be a web services, desktop application or automation task. I am intermediate user in cloud computing and exploring same with python. I've been to many community events and conferences, boot-camp for taking talks and session (Of course related to python). i try to contribute to open source projects according to my time availability, recently i had contributed to Azure batch process python client. Currently helping PyCon india team for boosting the conference 🚀 For more information you can have a look at my LinkedIn profile.