Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22462

Import Python: ImportPython Issue 95

$
0
0

Worthy Read

performance
Excellent post from Armin Ronacher on tackling a CPython performance bottleneck with a custom Rust extension module.

core python
There are different way to prevent setting attributes and make attributes read only on object in python. We can use any one of the following way to make attributes readonly. 1) Property Descriptor 2) Using descriptor methods __get__ and __set__ 3) Using slots (only restricts setting arbitary attributes).


The API for file uploads. Integrate Filestack in 2 lines of code. Python library for Filestack https://github.com/filepicker/filepicker-python
Sponsor

deployment
In this tutorial we will be deploying https://github.com/sibtc/urban-train ,a empty Django project I created to illustrate the deployment process.

Scraping is often an example of code that is embarrassingly parallel. With some slight changes, our tasks can be done asynchronously, allowing us to process more than one URL at a time. In version 3.2, Python introduced the concurrent.futures module, which is a joy to use for parallelizing tasks like scraping. The rest of this post will show how we can use the module to make our previously synchronous code asynchronous.

video
Most Django programmers use function-based views, but some use class-based views. Why? Special guest Buddy Lindsey will be joining us this week to talk about how class-based views are different.

podcast
I'm excited to introduce you to Markus Siemens and TinyDb. This is a 100% pure python, embeddable, pip-installable document DB for Python.

django
,
finite state machine
Whether you're building up a CMS or a bespoke application, chances are that you will have to handle some states / statuses. Let's discuss your options in Django.


IT Help Desk & Ticketing. Start a free trial of JIRA Service Desk and get your free Konami Code shirt.
Sponsor

django
General Guidelines when upgrading Django.

debugging
Benoit writes about debugging his software using gdb, python-debuginfo.

humor
Check the tweet :)

opensource project
lptrace is strace for Python programs. It lets you see in real-time what functions a Python program is running. It's particularly useful to debug weird issues on production.

mypy
In this post, I’ll explain how mypy works, the benefits and pain points we’ve seen in using mypy, and share a detailed guide for adopting mypy in a large production codebase (including how to find and fix dozens of issues in a large project in the first few days of using mypy!).

web server
Python 3.5+ web server that's written to go fast


Try Hired and get in front of 4,000+ companies with one application. No more pushy recruiters, no more dead end applications and mismatched companies, Hired puts the power in your hands.
Sponsor


Jobs


Hoxton, City of London, London, United Kingdom
Patch are hiring a CTO / Lead developer. We are expanding our tech team as part of scaling the company. This is an opportunity to make a big impact on our E- commerce platform and help shape the new services we’re creating.



Upcoming Conference / User Group Meet










Projects

fast-neural-style.tf - 17 Stars, 6 Fork
Feed-forward neural network for real-time artistic style transfer. Curator's Note - This is a pretty cool project.

TextSum - 8 Stars, 1 Fork
Preparing a dataset for TensorFlow text summarization (TextSum) model.

countrynames - 5 Stars, 0 Fork
Utility library to turn country names into ISO two-letter codes.

celery-redundant-scheduler - 4 Stars, 0 Fork
Celery beat sheduler provides ability to run multiple celerybeat instances.

SlackUptimeMonitor - 3 Stars, 3 Fork
Receive notifications in Slack when your websites/api/services are down

confluence-dumper - 3 Stars, 0 Fork
Tool to export Confluence spaces and pages recursively via its API

asyncio-nats-streaming - 3 Stars, 0 Fork
A asyncio library for NATS Streaming.


Viewing all articles
Browse latest Browse all 22462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>