蠎加载 139
原文: 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. (是也乎: 自动分析代码执行热度的插件… ) 好物 ~ 包/模块/库/片段… ...