Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть "Publishing well-formed Python packages" - Julin S (PyConline AU 2020)

  • PyCon AU
  • 2020-09-08
  • 343
"Publishing well-formed Python packages" - Julin S (PyConline AU 2020)
pyconaupyconau_2020PythonPyConPyConAUPyConlineJulinS
  • ok logo

Скачать "Publishing well-formed Python packages" - Julin S (PyConline AU 2020) бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно "Publishing well-formed Python packages" - Julin S (PyConline AU 2020) или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку "Publishing well-formed Python packages" - Julin S (PyConline AU 2020) бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео "Publishing well-formed Python packages" - Julin S (PyConline AU 2020)

Julin S

https://2020.pycon.org.au/program/HWU9J7

#### Why
Most of the well established projects follow some practices and has some mechanism in place to ensure better maintainability.

But we can find a good number of packages online which are being developed without an equivalent mechanism.

In this talk, I will mention some tools, which when used, can lay the foundation for a well formed package.

#### Well-formed package

A package whose source has some structure which makes testing and development more efficient and less error-prone.

Such a package also makes working with its source a more pleasant experience.

A well-formed package makes things easier for both the developer and the user.

But it is easier to get started with a structure than to maintain that form. Which calls for a mechanism to maintain that structure.

#### How

The source code should adopt a style and stick with it. A linting tool like pylint can help with it.
Or you could use black.

Use type annotations along with tools like mypy.

Eliminate unused code with `vulture`.

Add tests to be sure that the different functionalities work as intended using tools like pytest or the built-in unittest.
This will be extremely useful to be sure that further modifications do not break existing code.

Ensure proper test coverage with coverage.py
After all, adding tests isn't everything. One got to make sure it reaches every nook and corner.

Automate tests with tox, nox, etc.

Package the project in tune with the future of packaging.
setuptools, flit or poetry

And add some CI/CD.

Other tools like pre-commit, bumpversion, etc may also be used.

#### Intended audience

People who create and publish python packages.
The presentation is from the package developer's perspective and not exactly about the innards of the different python packaging tools.

#### Pre-requisites

Basic Python programming.
Git

Tentative talk outline

Linting
Type checking
Eliminating dead code
Tests
Test coverage
Test automation
Packaging
CI/CD
Other tools
Future of packaging

#### Speaker info (anonymized):

Using Python for 5 years. Interested in text processing.

Published a few packages to PyPI using different packaging tools.

The proposed talk is derived from experience of creating them.

Produced by NDV:    / @nextdayvideo  

Python, PyCon, PyConAU, PyConline

Sat Sep 5 13:00:00 2020 at Floperator

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]