importpython-barnner.png

该读

~ 文章, Blog, 教程...

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

(是也乎:

简单的说就是将 py 伪装成 Rust 来跑 ~ 城会玩儿~.~ )

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).

(是也乎:

使用内置的自省机制来防卫 )

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

(是也乎:

一个 Heroku 一个 Digital Ocean, 文档好到经常被搜索出来独立使用 )

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.

(是也乎:

使用 Py3 内置的库折腾 )

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.

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

(是也乎:

无论怎么折腾, 目前看还没有一种 NoSQL 数据库可以简单的替代 MySQL )

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.

(是也乎:

其它赞助商俺是不知道的, 这个非常赞的 )

General Guidelines when upgrading Django.

(是也乎:

人艰不拆,宁可另外起用个新网站,来替换部分接口,也别...

啊,多么也痛的领悟...)

Check the tweet :)

(是也乎:

程序猿的幽默只有翻越后感知的到 )

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.

(是也乎:

又一个观察活体 Python 运行时变量情况的调试工具, 不过... )

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!).

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

活动

~ Upcoming Conference / User Group Meet

项目

~ 包/模块/库/片段...

Feed-forward neural network for real-time artistic style transfer. Curator's Note - This is a pretty cool project.

(是也乎:

cubist_style

又一个实时风格分析/模拟 的库,功能类似正红的 Prisma

)

Preparing a dataset for TensorFlow text summarization (TextSum) model.

实用库, 将国家名称转换为ISO双字母代码

Celery beat 调度器提供运行多个celerybeat实例的能力

Receive notifications in Slack when your websites/api/services are down

通过 API 能递归样的将 Confluence 空间和页页都导出

A asyncio library for NATS Streaming.

是也乎


Comments

comments powered by Disqus