周刊
各种来源的…
background
世界高速变化
goal
定期 review 一周以来主要变化
trac
汇集各种渠道的周刊, 以及自己每周内省小结吧…
refer.
…TBD
各种来源的…
世界高速变化
定期 review 一周以来主要变化
汇集各种渠道的周刊, 以及自己每周内省小结吧…
…TBD
原文: Import Python Weekly Newsletter - Issue No 140 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… EuroSciPy 视频 conference, videos Being uploaded at the time of sending the newsletter. (是也乎: Python 大会的趋势就是专业化, 应该马上有 区块链大会了… ) 节约 Python 的启动时间 core-python The startup time for the Python interpreter has been discussed by the core developers and others numerous times over the years; optimization efforts are made periodically as well. Startup time can dominate the execution time of command-line programs written in Python, especially if they import a lot of other modules. Python startup time is worse than some other scripting languages and more recent versions of the language are taking more than twice as long to start up when compared to earlier versions (e.g. 3.7 versus 2.7). (是也乎: 这才是核心技术的讨论区哪… ) Python 数据科学手册 - 开放嗯哼 data science This website contains the full text of the Python Data Science Handbook by Jake VanderPlas; the content is available on GitHub in the form of Jupyter notebooks. (是也乎: 叕一个 收集各种数据科学相关案例的 ipynb 图书了… ) cachelper caching Useful cache helpers in one package. (是也乎: 人性化缓存到各种后端中… ) 预测 Ames, Iowa 的房价 data science Regression, Regularization, Residuals and Feature Selection Asyncio Coroutine 模式: 错误和取消 asyncio In the first part of this series we concluded that asyncio is awesome, coroutines are awesome and our code is awesome. But sometimes the outside world is not as awesome and we have to deal with it. Now, for this second part of the series, I’ll run over the options asyncio gives us to handle errors when using these patterns as well as cancelling tasks so as to make our asynchronous systems robust and performant. TensorFlow 中的高级 API tensorflow TensorFlow is providing some higher-level constructs itself, and some new ones were introduced in the latest 1.3 version. In this blog, we’ll look at an example using some of these new higher-level constructs, including Estimator, Experiment, and Dataset. (是也乎: 简单的说, 还有更多根本没有释放出来… ) 计算机视觉中的 Robust Lane Finding 技术 machine learning, image processing Lane identification system for camera based systems. Python Gems #5: 无声功能链接 core-python Meme 搜索使用 pretrained word2vec machine learning We show how to build a very basic, yet not bad, meme retrieval system using pretrained word embeddings. 用Python监控道路交通 machine learning, image processing 时间序列监听 库s time series This curated list contains python packages for time series analysis. 好物 ~ 包/模块/库/片段… ...
原文: Import Python Weekly Newsletter - Issue No 139 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 用 flit 轻松发布你的包 pypi Flit is a simple way to Package and deploy Python projects on PyPI, Flit makes it easier by using a simple flit.ini file and assumes common defaults to save your time and typing. I knew about Flit when I was taking a look at Mariatta Wijaya game called Tic Tac Taco Pizza and noticed that she used flit to deploy the game, so we also asked her the reason for using this on the podcast we recorded so I decided to try porting my projects to Flit. 用 Python 进行研究 - edX 课程 ( Harvard University ) course, mooc This course bridges the gap between introductory and advanced courses in Python. While there are many excellent introductory Python courses available, most typically do not go deep enough for you to apply your Python skills to research projects. In this course, after first reviewing the basics of Python 3, we learn about tools commonly used in research settings. Python 的 sys.getrefcount() 趣味 core-python Python has a function called sys.getrefcount() that tells you the reference count of an object. 用机器学习来预测获胜团队 machine learning Can we predict the outcome of a football game given a dataset of past games? That’s the question that we’ll answer in this episode by using the scikit-learn machine learning library as our predictive tool. 用 Docker 组合 Travis CI 进行持续集成的姿势 docker, CI Part 2 of 3: The “Docker repo” pattern. Note - Very informative and detailed article for those looking to bring CI + docker into their workflow. (是也乎: 城会玩 -> ) 使用 Python 分析 Cryptocurrency Markets cryptocurrency How do Bitcoin markets behave? What are the causes of the sudden spikes and dips in cryptocurrency values? Are the markets for different altcoins inseparably linked or largely independent? How can we predict what will happen next? (是也乎: 数字货币交易市场越来越兴旺, 而且数据是公开的, 值得分析 ) 用 Python Flask, Pandas 以及 MongoDB 折腾出分析仪表盘 mongodb, pandas, flask Analyzing your sensor data has always been a daunting task and putting your data in the Dashboard has never been an easy task. In this article, we will see how using Python Flask, Pandas and MongoDB you can develop an Analytical Dashboard over a weekend. (是也乎: 有用, 但还是丑… ) 拟态 testing, mocking Mimesis is a fast and easy to use library for Python, which helps generate mock data for a variety of purposes (see “Data providers”) in a variety of languages (see “Locales”). This data can be particularly useful during software development and testing. The library was written with the use of tools from the standard Python library, and therefore, it does not have any side dependencies. (是也乎: 不是 erlang 那个内置 DB 哪… 能模拟各种语言数据集的工具… 好象支持中文? ) 纤程, 线程和进程 parallel processing Python 列表的实现 core-python USER-USER 协同过滤推荐系统 recommendation engine we will start building a system that uses the profile of the given user and provide recommendation completely based on that user’s preference and liking. Gaussian Naive Bayes - numpy machine learning Bayes Theorem describes the probability of an event, based on prior knowledge of conditions be related of conditions to the event. So it basically fits perfectly for machine learning, because that is exactly what machine learning does: making predictions for the future based on prior experience. (是也乎: 叕一则科普文… ) Python Matplotlib Style - 2.0 matpoltlib Matplotlib is a great and very capable plotting library for Python. (是也乎: 可惜一直没有解决互联网时代的直接输出需求… ) 如何使用 Python 删除或修改 CSV 数据集中的空值 code snippets, csv Data sets are not perfect. Sometimes they end up with invalid, corrupt, or missing values. For the project I was working on, I could not have any values that are null or empty. This How-To will walk you through writing a simple Python script to see if your data set has null or empty values, and if so, it will propose two options for how to modify your data. 如何使用 Cloudinary 和 Python 加速工艺术网站的加载 cloudinary pip 黑魔法 ~ 一键升级所有 Python 模块 pip 使用 PySpark Dataframe – Zhiqiang Zhong – Medium pyspark, dataframes I will share you about how using Dataframe of PySpark as Dataframe of Python. 如何跨越 CPython 解释器 cpython I will outline the process I typically follow to dig deeper into aspects of the python programming language I am curious about. Python: Guidelines & Code Style coding standards This document is intended to Storepilots employees, but worth the read. http(s) session recording 技巧 http pep 551 PEP This PEP describes additions to the Python API and specific behaviors for the CPython implementation that make actions taken by the Python runtime visible to security and auditing tools. The goals in order of increasing importance are to prevent malicious use of Python, to detect and report on malicious use, and most importantly to detect attempts to bypass detection. Most of the responsibility for implementation is required from users, who must customize and build Python for their own environment. (是也乎: 有关运行安全的嗯哼 ) What is self healing software? humor 用 CFFI 将 Python 链接到 C c 让我们在 Python 中同步线程 (是也乎: 让我们荡起双桨 ) Nuitka - Python Complier compiler Nuitka is a Python compiler. It’s fully compatible with Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, and 3.6. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module. (是也乎: 又一个 编译器, 可以递归的将 python 脚本以及依赖库编译成单一 .exe 但是,类似 Qt/OpenCV/numpy/pandas/… 巨型模块, 就别想了… ) Python 加密作弊书 cryptocurrency pyheatmagic ipython IPython magic command to profile and view your python code as a heat map using py-heat. (是也乎: 自动分析代码执行热度的插件… ) 好物 ~ 包/模块/库/片段… ...
原文: Import Python Weekly Newsletter - Issue No 138 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 单元测试和模块 unittest video In this Python Programming Tutorial, we will be learning how to unit-test our code using the unittest module. Unit testing will allow you to be more comfortable with refactoring and knowing whether or not your updates broke any of your existing code. Unit testing is a must on any large projects and is used by all major companies. Not only that, but it will greatly improve your personal code as well. Let’s get started. (是也乎: 叕一个 TDD 方面的嗯哼了… ) Python 线程 - Multithreading Playlist videos, multithreading 数据科学 Rosetta Stone: 分类 在 Python, R, MATLAB, SAS, 以及 Julia | Heaton Research data science 自动将 Python 2 代码翻译成 3 的 Python 3 This web is a online converter that reads Python 2.x source code and applies a series of fixers to transform it into valid Python 3.x code Enter your Python2 code on the left, hit the button, and boom, Python3 code on the right (是也乎: 可以嘛?敢用嘛? ) Python 队列死锁的悲伤故事 concurrency This is a story about how very difficult it is to build concurrent programs. It’s also a story about a bug in Python’s Queue class, a class which happens to be the easiest way to make concurrency simple in Python. This is not a happy story: this is a tragedy, a story of deadlocks and despair. 如何在 Python 领域成为专家? core-python Notebook based off James Powell’s talk at PyData 2017. (是也乎: 配合 youtube 的一则 ipynb 分享, metaclasses 开始… ) 仔细看看 Python f-strings 如何工作 f-strings F-strings provide a concise and convenient way to embed python expressions inside string literals for formatting. (是也乎: 针对 PEP 498 的嗯哼 ) 谁负责维护 PyPI 以及负责? pypi Reddit Discussion Hy 的小小一步 - 我的 lispy Python 经验 lisp Roughly, Hy is to Python as Clojure is to Java. Hy completely inter-ops with Python. I’ve hit commit 1,500 in my Hy project at work. I wanted to share my experience working with Hy, where I feel it shines and where it falls short. (是也乎: 等等-> Clojure LISP?! 叕一个为了 LISP 的方言, py 造… #! /usr/bin/env hy (print “I was going to code in Python syntax, but then I got Hy.”) 意思是可以用 Python 来学习 Scheme 了?! ) Python 和 Haskell 中的左右折叠->原始递归模式 haskell A “fold” is a fundamental primitive in defining operations on data structures; it’s particularly important in functional languages where recursion is the default tool to express repetition. In this article I’ll present how left and right folds work and how they map to some fundamental recursive patterns. The article starts with Python, which should be (or at least look) familiar to most programmers. It then switches to Haskell for a discussion of more advanced topics like the connection between folding and laziness, as well as monoids. (是也乎: 等等? Haskell ?! ) 用 Python 分析和测试 C c-code C is relatively difficult to write, making it harder to analyse and test. It would be helpful to be able to do this with a higher level language, such as Python. Analysis and testing don’t affect performance of the actual data structure, so using a slower but easier and more productive language for this seems reasonable. In this article, we walk though a simple example of doing this with a built-in Python library for interfacing with C called ctypes. 在 Python 中使用 GDAL / OGR 对地址进行地理编码和执行点多边形测试 geo This short post shows how to use Python packages googlemaps and GDAL. Debugging 在 Python debugging One of the reasons why I love the Python programming language is because of how easy debugging is. You don’t need a full blown IDE to be able to debug your Python application. We will go through the process of debugging a simple Python script using the pdb module from the Python standard library, which comes with most installation of Python. (是也乎: 叕一个 debug 的经验分享, 只是 print() 可以解决 99% 情况时,有什么新动力要用… ) 引入新的图像注释类型 - Python 代码片段 image processing We’re excited to be launching a bunch of new annotation types for images. Since the launch of our bounding box API, we’ve annotated millions of images with boxes to identify a host of different objects, from cars and hats to roof damage and parking lots. Scale is becoming an industry-standard tool for solving computer vision problems. 用 lehar 在终端展示数据 visualization The post is about a terminal visualization tool lehar that is open sourced at https://github.com/darxtrix/lehar (是也乎: Find commits by authors in a git repo $ git shortlog -s | cut -f1 | lehar ▇▁▁▁▁▁▁▂▃▁▁█▁▁▂▃▅▁▁▁▂▆▁▁▁▂▁▁▁▁▂▇▁▅▆▁▁▁▄▁▁█▁▁▂▁▂▁ 还有这种操作?! ) Select & Prefetch Related django Today the #DjangoTip will be about using select_related and prefetch_related to improve our queries performance. Note - Django developer do check out django newsletter - http://djangoweekly.com 好物 ~ 包/模块/库/片段… ...
原文: Import Python Weekly Newsletter - Issue No 137 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… Python 怪癖 core-python Favorite #pythonoddity tweets by @treyhunner (是也乎: 叕一组高端黑技巧…其实,知道了, 也别用哪… ) Python 的 AI research - podcast podcast Today you’ll meet Alex Lavin, a Python developer and research scientist at Vicarious where they are trying to develop artificial general intelligence for robots. Python 装饰器正确的打开方式: 编程语言的4位观众 - Code Without Rules decorators If you’re a Python programmer, the following post will show you why decorators exist, and how to compensate for their limitations. Python 的机器学习搭车客指南 machine learning Featuring implementation code, instructional videos, and more Amazon S3 文件系统 Python 版 aws, s3 I’d like to announce an new Python module to make working with Amazon S3 files a whole lot easier. (是也乎: 叕一个 S3 的封装, 不过, 有人能嗯哼得过官方的任性嘛?! ) 在 Django 清晰的架构 django This post will try to explain our approach to apply Clean Architecture on a Django Restful API. It is useful to be familiarized with Django framework as well as with Uncle Bob’s Clean Architecture before keep reading. (是也乎: 好吧 –> Clean Architecture 是个专有功能… ) 两周用对 Pandas 技术 pandas 50行 Python 代码来预测股票 stock trading In this blog post we’re going to build a stock price predication graph using scimitar-learn in just 50 lines of Python. (是也乎: scimitar-learn 都封装好了 ) DjangoTip-> 玩转 Querysets django PSF 新闻 PSF The Ethical Maintainer: Community Service Award Recipient Glyph Lefkowitz. 从 Scratch 支持 Spotify 的 Sublime 插件 sublime plugin Part 1 - Series Introduction & Environment Setup. Pycon Australia 2017 Videos pycon 好物 ~ 包/模块/库/片段… ...