importpython-barnner.png

该读

~ 文章, Blog, 教程...

Automatically catch many common errors while coding

(是也乎:

目前只有少数 IDE 比如 PyCharm 支持 py3 这种语法, 以及并没有证据表明, 在混合使用新旧数据声明的代码项目, 可以不用其它手段就可能提高运行效能.

)

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

)

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 突然爆发这么多软文是几个意思? )

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.

(是也乎:

Plotting

为 ggplot 章目的软文, 问题是 R 味儿忒重, 另外, 没有解决根本上的发布问题, 这事儿目前看就是bokeh 意识到了:

  • 图形
  • html
  • ipynb

以上三种常见输出场景, 如果没有简洁的输出指令, 那么基本上不是个可用的图表库了...

)

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.

(是也乎:

fedoralovespython

embedded

讲真, 一个技术社区的实力,基本上可以从其设计能力正比评测出来...

)

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

)

好物

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

A TensorFlow Implementation of the Transformer: Attention Is All You Need

automating AWS with Python using boto3 library.

Visually distinguish environments in Django Admin

(是也乎:

prod

极简 UX 侵入

)

Python script to examine Core ML's mlmodel files

Fantastic transcoder is a video transcoder which utilizes massively parallel compute to achieve ludicrous conversion speeds.

(是也乎:

FantasticTranscoder

基于 AWS 生态体系的....

)

Shopify Scraper (not monitor)

(是也乎:

ShopifyScraper

专用的...

)

( ̄▽ ̄)

(是也乎:

嚓了个嚓... )

是也乎


Comments

comments powered by Disqus