Управление зависимостями в Python с Poetry
Сегодня расскажем о мощном инструменте для эффективного управления зависимостями в ваших Python-проектах - Poetry. Poetry представляет собой интуитивно понятный инструмент, который упрощает создание, управление и публикацию пакетов, делая процесс разработки более прозрачным и удобным.
Poetry - это инструмент для управления зависимостями и управления проектами в Python. Он предоставляет удобный способ определения зависимостей, настройки окружения и управления проектом с использованием файла pyproject.toml.
Преимущества использования Poetry:
- Простота: Poetry предоставляет простой и интуитивно понятный способ управления зависимостями, позволяя сосредоточиться на коде, а не на конфигурации.
- Управление версиями: Poetry автоматически создает файлы requirements.txt и Pipfile.lock, обеспечивая точное управление версиями зависимостей.
- Встроенная документация: Интегрированная поддержка документации и команд для упрощения публикации пакетов.
- Интеграция с проектами: Poetry легко интегрируется в процессы разработки и может использоваться вместе с такими инструментами, как VSCode, PyCharm и другими.
Как использовать Poetry?
Для начала работы установите Poetry с помощью следующей команды:
pip install poetry
Инициализируйте новый проект:
poetry new your_project
Добавьте зависимости:
poetry add package_name
И Poetry автоматически обновит ваш файл pyproject.toml и управит зависимостями.
#python#poetry#pyprojecttoml
#Python
tstock is a tool to easily generate stock charts from the command line.
tstock is a Python tool that allows you to easily generate stock charts from the command line.
Just enter tstock aapl to get a three-month candlestick chart of $AAPL in your terminal
▪Github
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
#python
🐍
Hitchhiker's Guide to Python
Python Best Practices Guidebook
Una guía de mejores prácticas para instalar, configurar y usar Python a diario, incluidos pip, numpy, virtualenv y más.
🔗Github
▪Docs
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
#python
🐍
Introducing LazyPredict! 🚀
A Python library that enables you to train, test, and evaluate multiple ML models at once using just a few lines of code.
pip install lazypredict
🔗Github
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
🐍
Did you know you can create #Python decorators by writing a class?
Esto es especialmente útil cuando creas un decorador que acepta argumentos. Son más fáciles de leer.
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
#Python
🐍
GaussianDreamer: Fast Generation from Text to 3D Gaussian Splatting with Point Cloud Priors
• Github
• Project
• Paper
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
#Python
🐍
HarvardX: CS50's Introduction to Programming with Python
Curso gratuito para programadores de Python de Harvard sobre los conceptos básicos de la programación en Python, ciencia de datos, programación web, scraping y más.
📌Course
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
#python
🐍
300+ Python Challenges Python Exercises For Beginners 2023
If you want to take your Python skills to the next level with intensive practice, then this course is for you. Apply your knowledge to solve more than 300 Python exercises and check your solutions with step-by-step video lectures with visual effects and diagrams.
🌐English
📆Sept 1, 2023
💾2.82 GB
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----