
- 原文: Import Python Weekly Newsletter - Issue No 130
- 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-)
该读
~ 文章, Blog, 教程…
- static type
Automatically catch many common errors while coding
(
是也乎:目前只有少数 IDE 比如 PyCharm 支持 py3 这种语法, 以及并没有证据表明, 在混合使用新旧数据声明的代码项目, 可以不用其它手段就可能提高运行效能. )
- static type
Automatically catch many common errors while coding
(
- flake8
I’ll now introduce flake8, a tool for checking Python syntax. SideCI supports code review automation for Python projects using flake8.
(
是也乎:古典的配置形式… [flake8]
it’s not a bug that we aren’t using all of hacking, ignore
F812: list comprehension redefines
H101: Use TODO(NAME)
H202: assertRaises Exception too broad
H233: Python 3.x incompatible use of print operator
H301: one import per line
H306: imports not in alphabetical order (time, os)
H401: docstring should not start with a space
H403: multi line docstrings should end on a new line
H404: multi line docstring should start without a leading new line
H405: multi line docstring summary not separated with an empty line
H501: Do not use self.dict for string formatting
ignore = F812,H101,H202,H233,H301,H306,H401,H403,H404,H405,H501 )
- flake8
I’ll now introduce flake8, a tool for checking Python syntax. SideCI supports code review automation for Python projects using flake8.
(
- linting
When many people think of linting they think about how it improves the readability and maintainability of code by forcing developers to stick with an agreed upon code style. This is indeed one of the major merits of having a ’linter’ as a part of your build process, but it’s not the only one!
(
是也乎:Flake8 突然爆发这么多软文是几个意思? )
- linting
When many people think of linting they think about how it improves the readability and maintainability of code by forcing developers to stick with an agreed upon code style. This is indeed one of the major merits of having a ’linter’ as a part of your build process, but it’s not the only one!
(
- graphs
Plotting is an essential component of data analysis. As a data scientist, I spend a significant amount of my time making simple plots to understand complex data sets (exploratory data analysis) and help others understand them (presentations). In particular, I make a lot of bar charts (including histograms), line plots (including time series), scatter plots, and density plots from data in Pandas data frames.
(
是也乎:
为 ggplot 章目的软文, 问题是 R 味儿忒重,
另外, 没有解决根本上的发布问题, 这事儿目前看就是bokeh 意识到了:
- graphs
Plotting is an essential component of data analysis. As a data scientist, I spend a significant amount of my time making simple plots to understand complex data sets (exploratory data analysis) and help others understand them (presentations). In particular, I make a lot of bar charts (including histograms), line plots (including time series), scatter plots, and density plots from data in Pandas data frames.
(
图形
html
ipynb 以上三种常见输出场景, 如果没有简洁的输出指令, 那么基本上不是个可用的图表库了… )
- fedora
We’re Python Special Interest Group, and we’re making Fedora an even better system for Python developers, and Python an even better language for Fedora.
(
是也乎:讲真, 一个技术社区的实力,基本上可以从其设计能力正比评测出来… )
- fedora
We’re Python Special Interest Group, and we’re making Fedora an even better system for Python developers, and Python an even better language for Fedora.
(
- asyncio
- gunicorn
Do you run your Django app under Gunicorn and you want to reload it once you change the source code in your editor? No problem!
(
是也乎:俗称的一句话干货:reload=True)
- gunicorn
Do you run your Django app under Gunicorn and you want to reload it once you change the source code in your editor? No problem!
(
- code snippet
好物
~ 包/模块/库/片段…
- transformer
- 299 Stars, 41 Fork A TensorFlow Implementation of the Transformer: Attention Is All You Need
- automating-AWS-with-Python
- 35 Stars, 4 Fork automating AWS with Python using boto3 library.
- django-admin-env-notice
- 24 Stars, 0 Fork
Visually distinguish environments in Django Admin
(
是也乎:
极简 UX 侵入
)
- 24 Stars, 0 Fork
Visually distinguish environments in Django Admin
(
- InsideCoreML
- 9 Stars, 1 Fork Python script to examine Core ML’s mlmodel files
- Fantastic-Transcoder
- 8 Stars, 0 Fork
Fantastic transcoder is a video transcoder which utilizes massively parallel compute to achieve ludicrous conversion speeds.
(
是也乎:
基于 AWS 生态体系的….
)
- 8 Stars, 0 Fork
Fantastic transcoder is a video transcoder which utilizes massively parallel compute to achieve ludicrous conversion speeds.
(
- ShopifyScraper
- 5 Stars, 0 Fork
Shopify Scraper (not monitor)
(
是也乎:专用的… )
- 5 Stars, 0 Fork
Shopify Scraper (not monitor)
(
( ̄▽ ̄)
- 被忽视的攻击面:Python package 钓鱼
- pypi
(
是也乎:嚓了个嚓… )
- pypi
(
是也乎
- 170623 Zoom.Quiet 42 分钟完成快译
- 170623 Zoom.Quiet 用时 7 分钟完成格式化.