Python module distribution. Modules in Python Modules are everywhere.

Slides:



Advertisements
Similar presentations
Integrating people, process and technology! Social Media Specialist Making a Difference in Business.
Advertisements

Alcohol Awareness Roadshows Public Information and Electronics Communications. From past experience the organization of the Alcohol Awareness Roadshow.
Details of MTIS Holiday Scheduler are available on
BCS Schoolwires by Brenda Luther. User Name and Employee Password.
E Bidding Log on Screen. Bid Details Search Criteria for Bid Details.
Chapter 8 Create an App and Publish to the iPad. Apps are programs that run on the iPad. App is short for application. Exploring Apps and iPad Publishing.
XFC Wallet User Instructions. Contents 1. Download Wallet 2. Set Wallet 3. Receive XFC 4. Send XFC 5. Transactions 6. Address Book 7. Notice.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
How to install the Zelle graphics package
Edit the text with your own short phrases. The animation is already done for you; just copy and paste the slide into your existing presentation. RegisterLogin.
Adding the Grade Distribution and Grade Comparison data into Faculty180 using the New SSI screens:
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 21: Publishing Your Pages on the Web.
1 ONE TIME PRINT SETUP To print Requisitions from Banner, follow this process once: Open Microsoft Excel, select (1) TOOLS, then (2) MACROS, then (3) SECURITY.
Introduction to ArcGIS Add-Ins Exercises GIS/LIS Conference, 2014 Rochester, MN.
Starter for 10 Unit 10: Flickr & YouTube Transform IT SFT10_Flickr_YouTube.
Welcome! WebJunction CQ Training - Creating an Event Listing Why & How Welcome.
PIVOTECH COMPANY LIMITED WEBSITE HAND-OVER TRAINING.
CS105 Lab 1 – Introduction Section: ??? TA: ??? ??? Announcements CITES Accounts Compass Netfiles Other Administrative Information CS105 Fall
November 2014Prepared by the Computer Lab Montgomery County-Norristown Public Library.
Vendor Module Screens. Screen 1 - Vendor Material This feature allows VENDOR to enter PO and list all the material from that vendor. This will help vendor.
CountryData SDMX for Development Indicators Metadata in DevInfo: Creation, Mapping and Registration.
Site Registration and Monitoring
Provided as a service to Indiana students and families by ISM Education Loans, in partnership with the Indiana Commission for Higher Education and Indiana.
Copyright © 2006, Infinite Campus, Inc. All rights reserved. Simple Forms (FDF) Creation in Campus.
PowerPoint Lesson 10 Sharing and Delivering Presentations Microsoft Office 2010 Advanced Cable / Morrison 1.
Credit Union National Association Installing and Uploading Project Zip Code.
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
Activating Clarity  Activating Clarity  Activation  Online Activation  Fax Activation  Review and Verify Activation and License Terms  Updating.
Adding Documents to OnCourse. Add a Document Look for the Documents tab and click it.
Basic Instructions on how to use One Drive and share files. ONE Drive Your LogoYour own footer.
Open ModelSphere, a free CASE tool Page 1 © neosapiens 2010 Get Source Code from SVN Repository This tutorial explains how to get source code from a SVN.
E-Transcript Makes Applying to College and Scholarships Easier Request a transcript at any time, night or over the weekend. Complete an online college.
Deposit Module for Depositor DigiTool Version 3.0.
Prosentient Systems DSpace © Prosentient Systems 2012 DSpace training Item submission.
Prepared by: Steve Teo Contributors: Tong Huu Khiem.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1: Introduction.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
Central Data Repository introduction What does it do? Session I.
Liaison College. The checklist will be your “Holy Grail” for every start date. It will have all the important student info that you will be using for.
Copy of the from the secure website - click on the AccoridaLife.zip link.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial.
Lender Electronic Submission of Status Reports. Lenders can access the USDA LINC website at This is included in the.
Web Scraping with Python and Selenium. What is Web Scraping?  Software technique for extracting info from websites Get information programmatically that.
Service Introduction and Training Central Command Center – Social Security Systems Service Introduction and Training Central Command Center – Social Security.
Setting up a One Drive Network Drive. Step 1- Account Creation Go to: /en-us/ /en-us/
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
Using Git with collaboration, code review, and code management for open source and private projects. & Using Terminal to create, and push commits to repositories.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
Prepare by Ms. Fatima Bajafar Usage of EndNote Program in Documentation.
Continuing Professional Development How to fill in your summary online
Installing RMS 3.0 Contractor Mode
From the home page of mykg2pg
Development Environment
ivote A system for polling students in the class
Discussion #11 11/21/16.
Introduction to Eclipse
Discussion 11 Final Project / Git.
You’ve created an e-Learning resource...
Introduction to ArcGIS Add-Ins
IST256 : Applications Programming for Information Systems
Starting to develop a website
York University Libraries Research in YorkSpace
5.5 Adding Photo Gallery Module
How to Change Y-axis of Trending Curve
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
Input and Output Python3 Beginner #3.
Introduction to Python
“Captured screen” appears.
Macs without binding to Active Directory
Presentation transcript:

Python module distribution

Modules in Python

Modules are everywhere

Introduction  In order to share your newly created module, you need to prepare a distribution. This is the Python name given to the collection of files that together allow you to build, package, and distribute your module.  The Python Package Index (or PyPI for short) provides a centralized repository for third-party Python modules on the Internet. When your module is ready, you’ll use PyPI to publish your module and make your code available for use by others.  Once a distribution exists, you can install your module into your local copy of Python, as well as upload your module to PyPI to share with the world.

 Step1: Creating a folder for your module.  With the folder created, copy your ‘.py’ module file into the folder. Let’s call the folder “modist”  Step 2: Create a file called “setup.py” in your new folder.  This file contains metadata about your distribution. Edit this file by adding the following code:

Folder structure

Build a distribution file  Step 3: Open a terminal  window within your ‘mymoddist’ folder and type a single command: C:\python27\mymoddist\python setup.py sdist. Or setup.py sdist  A collection of status messages appears on screen, confirming the creation of your distribution.

Output screen

Install your distribution into your local copy of Python. Staying in the terminal, type this command: sudo python3 setup.py install. python setup.py install. Another bunch of status messages appear on screen, confirming the installation of your distribution

Register with the PyPI website Begin by surfing over to the PyPI website at and

Upload your code to PyPI

With your registration details entered and saved, you are now ready to upload your distribution to PyPI. Another command line does the trick: