蠎加载 81
原文: Import Python Weekly Newsletter - Issue No 81 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… AWS 无服务微框架 Python 版本预览 aws Serverless computing is one of the most talked-about subjects among AWS customers. The AWS serverless offerings, AWS Lambda and Amazon API Gateway, make it possible for developers to create and run API applications with built-in, virtually unlimited scalability without managing any servers. Today the AWS Developer Tools team is excited to announce the preview of the Python Serverless Microframework for AWS. You can read Martin Fowler talking about the benefits of Serverless architecture http://martinfowler.com/articles/serverless.html#benefits (是也乎: Google 推出了 firebase, AWS 当然要加强 Lambda 的概念. 果断给出了更加易用的 无服务微框架 ) Python 的逆向调试 pypy The PyPy team is pleased to give you “RevPDB”, a reverse-debugger similar to rr but for Python. (是也乎: PyPy 团队赛高 ) Facebook 笑话机械人的 django 教程 chatbots I have decided to try to develop a chat bot which does only one thing. Send a random joke like the below one without an image irrespective of what the user types 书评: “探挖两勺 Django: Django 1.8 的最佳实践” book review The book can be used as a reference of best practices and a cover-to-cover guide to best practices. I’ve done both and found it to be enjoyable, accessible, and educational when read cover-to-cover and a valuable reference when setting up a new Django project or doing general Django development. It covers a huge range of material. 再推 Spectrum - 独立日志服务器. Review Spectrum is a standalone logging server plus log viewer with filtering capabilities. It scales to multiple logging streams with endpoint being a file residing on filesystem, REST API endpoint, Syslog, UDPStream, WebSocketStream. 构建第一个 Django 应用 tutorial Decent tutorial to get people started with Python and Django. 用 Docker 构建异步 Py3 无服务应用 serverless I will show you a simple way to build a “serverless” application and test it via Docker. When I refer to “serverless” I’m referring to the idea that the application is a short lived app, does its job, stops – just like AWS Lambda. I will create two applications each in their own project folders: serverless-app and serverless-web The serverless-app piece is the actual “serverless” piece of this, the web app will run as long as we want. I just gave them similar names to make it easier to keep the projects named closely but different enough to know what does what. (是也乎: AWS 配套软文, 好在入华了, 可用,只是北京节点不一定有. ) djangobot: 通过 Channels 桥接 Slack 和 Django bot Djangobot is a bridge between Slack and a Channels-enabled Django app. Specifically, it is a protocol server that produces and consumes messages for channels-based apps. It is built atop autobahn and twisted. 可视化 Python 包间关系 pypi I extracted co-occurence of top 3500 python packages in github repos using the the github data on BigQuery. I implemented the visualization force layout in d3 via the velocity verlet integration. I also clustered the graph using algorithms from python-igraph and updated it to http://graphistry.com/. (是也乎: Why not 类型小工程,将 github 中能抓到的 3500 个 Py 包的关系绘制了出来! ) 用 Py 在 PNG 文件中当众隐藏有效数据 security How could I store files online, in plain sight, for free. Because who doesn’t like a good ‘ol game of hide and seek. But with files. On the internet. Hide files in plain sight. Allow them to be distributed via free public channels. E.g Twitter, Reddit, imgur. (是也乎: 公开的图床一样可以走秘密数据; 代码在: Don’t be a punk, punk 居然能不影响 MD5 ! ) 活动 ~ Upcoming Conference / User Group Meet ...