Duration 19:06
16+
Play
Talk video

Packaging Django Apps for Distribution on PyPI

Laura Hampton
Solutions Engineer at Datadog
  • Video
  • Video
DjangoCon US 2018
October 14 2018, San Diego, USA
DjangoCon US 2018
Video
Packaging Django Apps for Distribution on PyPI
Purchased
In cart
Free
Free
Free
Free
Free
Free
To favorites
506
I like 0
I dislike 0
Purchased
In cart
Free
Free
Free
Free
Free
Free
  • Description
  • Discussion

About speaker

Laura Hampton is a Solutions Engineer at Datadog, and lives in New York City.

About talk

Topic: IT

One of the strengths of Django is that it allows you to use apps created by other developers, so you don’t have to spend time rewriting something that someone else has already written. However, creating Python packages for distribution via the Python Package Index is a process that is unfamiliar to most developers. In this talk, you will learn about creating a reusable Django app. The talk will cover how a Django app differs from a package like requests, and how an app interacts with models and URLs in an existing project.

While the talk will include a discussion of how to upload a Django app to PyPI, the parts that discuss how to make reusable Django apps will be useful to developers who are working at organizations where they may not be able to open-source their code.

This talk is intended for Django developers who have some familiarity with how Django works, and an interest in code reuse and packaging.

Outline

  • Introduction (3 min)
    • the difference between a Django app and a utility package (like Requests)
    • the relationship between a Django project and an app
  • How the packaging considerations for a Django app differ from a utility package (4 min)
    • requirements.txt versus setup.py: how they are different
  • How a packaged Django app is structured (3 min)
    • including documentation in the package
  • Creating a Django app for packaging (10 min)
    • considerations for making reusable Django apps
    • interacting with existing models and data
    • interacting with URLs
  • Creating a source archive and wheel and uploading it with twine (5 min)
    • use test.pypi.org before uploading your package to pypi.org

Share

Cackle comments for the website

Buy this talk

Access to the talk «Packaging Django Apps for Distribution on PyPI»
Purchased
In cart
Free
Free
Free
Free
Free
Free

Video

Access to all videos «DjangoCon US 2018»
Purchased
In cart
Free
Free
Free
Free
Free
Free
Ticket

Interested in topic «IT»?

You might be interested in videos from this event

September 28 2018
Moscow
16
76
app store, apps, development, google play, mobile, soft

Similar talks

Matt Chapman
Manager, Data Engineering at mPulse Mobile
Ryan Sullivan
Web Team Lead at Wharton Research Data Services
Mariatta Wijaya
Platform Engineer at Zapier
Purchased
In cart
Free
Free
Free
Free
Free
Free
Chloe Condon
Developer Evangelist at Sentry
Purchased
In cart
Free
Free
Free
Free
Free
Free
Patrick Arminio
Backend Engineer at Verve
Purchased
In cart
Free
Free
Free
Free
Free
Free

Buy this video

Video

Access to the talk 'Packaging Django Apps for Distribution on PyPI'
Purchased
In cart
Free
Free
Free
Free
Free
Free

Conference Cast

With ConferenceCast.tv you get access to our library of the world's best conference talks.

Conference Cast
142 conferences
7193 speakers
1698 hours of content