4 liens privés
Native datetime instances are enough for basic cases but when you face more complex use-cases they often show limitations and are not so intuitive to work with.
Pendulum provides a cleaner and easier to use API while still relying on the standard library. So it's still datetime but better.
Arrow is a Python library that offers a sensible and human-friendly approach to creating, manipulating, formatting and converting dates, times and timestamps.
Github : https://github.com/arrow-py/arrow
Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
Working with JSON in Python is a breeze, this will get you started right away
Babel is an integrated collection of utilities that assist in internationalizing and localizing Python applications, with an emphasis on web-based applications.
Pandas is a powerful and flexible Python package that allows you to work with labeled and time series data. It also provides statistics methods, enables plotting, and more. One crucial feature of Pandas is its ability to write and read Excel, CSV, and many other types of files. Functions like the Pandas read_csv() method enable you to work with files effectively. You can use them to save the data and labels from Pandas objects to a file and load them later as Pandas Series or DataFrame instances.
github : https://github.com/overiq/flask_app
twx.botapi is a python interface for the Telegram bot API. It supports making synchronous and asynchronous calls and converts the response into a usable native python object.
This library provides a pure Python interface for the Telegram Bot API. It's compatible with Python versions 2.7, 3.3+ and PyPy.
In addition to the pure API implementation, this library features a number of high-level classes to make the development of bots easy and straightforward. These classes are contained in the telegram.ext submodule.
github : https://github.com/python-telegram-bot/python-telegram-bot
Telegram est une application de messagerie instantanée. Elle permet notamment de créer des bots facilement et il existe des API qui permettent de faciliter la création de ces derniers. À la fin de cet article vous pourrez créer vos propres bots qui ferons ce que vous voulez dans les limites de vos capacités en Python ;) !
Et vous pourrez communiquer avec vos bots depuis votre ordinateur et votre smartphone.
RTCBot’s purpose is to provide a set of tutorials and simple modules that help in developing remote-controlled robots in Python, with a focus on the Raspberry Pi.
Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary. It's the "Command Line Interface Creation Kit". It's highly configurable but comes with sensible defaults out of the box.
I decided to write a beginners guide on how to use and understand the Gmail API. The guide will be based on the documentation, meaning you’ll learn what to look for and how to read it instead of just copying code.
A curated list of applied machine learning and data science notebooks and libraries accross different industries. The code in this repository is in Python (primarily using jupyter notebooks) unless otherwise stated. The catalogue is inspired by awesome-machine-learning.
In this tutorial, the focus will be on one of the best frameworks for web crawling called Scrapy. You will learn the basics of Scrapy and how to create your first web crawler or spider. Furthermore, the tutorial gives a demonstration of extracting and storing the scraped data.
Scrapy, a web framework written in Python that is used to crawl through a website and to extract data in an efficient manner.
Super-simple GUI to grasp... Powerfully customizable.... all on tkinter
This guide is the culmination of a few months' worth of blog posts. The subject is magic methods.
What are magic methods? They're everything in object-oriented Python. They're special methods that you can define to add "magic" to your classes. They're always surrounded by double underscores (e.g. init or lt). They're also not as well documented as they need to be. All of the magic methods for Python appear in the same section in the Python docs, but they're scattered about and only loosely organized. There's hardly an example to be found in that section (and that may very well be by design, since they're all detailed in the language reference, along with boring syntax descriptions, etc.).
Une implémentation de Python 3 pour la programmation web côté client
Brython a pour objectif de remplacer Javascript comme langage de script des pages Web. Il s'agit donc d'une implémentation de Python 3 (que vous pouvez tester sur la console), adaptée à l'environnement HTML5, c'est-à-dire dotée d'une interface avec les objets et les événements DOM.
Python has had awesome string formatters for many years but the documentation on them is far too theoretic and technical. With this site we try to show you the most common use-cases covered by the old and new style string formatting API with practical examples.
Why? I need to use Python’s strftime rarely enough that I can’t remember it off the top of my head and never bookmark it but often enough to be annoyed with having to Google “python strftime” and then find the table above in the Python documentation. So I decided to put this reference page up.