You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
FastBuilt from the ground up to support gradual typing and deliver responsive incremental checks. Performant on large codebases with millions of lines of Python. IntegratedDesigned to help improve code quality and development speed by flagging type errors interactively in your terminal or live in your favorite editor. Fully FeaturedFollows the typing standards introduced in PEPs 484, 526, 612, and
Authlib: Python Authentication¶ Release v1.6.6. (Installation) The ultimate Python library in building OAuth and OpenID Connect servers. It is designed from low level specifications implementations to high level frameworks integrations, to meet the needs of everyone. Authlib is compatible with Python3.10+. User’s Guide¶ This part of the documentation begins with some background information about A
PySpa統合思念体です。 Pythonの開発環境の最新の環境の構築に挑戦してみたら、いろいろ型チェックとかできるようになって面白かったのですが、まとまった情報がなかったのでまとめてみます。基本的にはmacOSでやっているけど、Python本体のインストール以外には使用しているツール類はOS依存のものは使っていないため、パスや環境変数の設定を読み替えれば他の環境でも使えると思います。もし他の環境で注意すべきポイントがあったらお気軽に編集リクエストください。 本エントリーは @aodag と @moriyoshi 、 @knqyf263 の情報提供により完成しました。ありがとうございました。 タイトルの意味 タイトルは本文の想定状況を過不足なく状況をお伝えするために色々制約を加えています。「内作アプリケーション」と書いているのは、配布しているツールとかでなければ、特定のバージョン1つを選択し
Python 3.7 is officially released! This new Python version has been in development since September 2016, and now we all get to enjoy the results of the core developers’ hard work. What does the new Python version bring? While the documentation gives a good overview of the new features, this article will take a deep dive into some of the biggest pieces of news. These include: Easier access to debug
はじめに Webサイトにアクセスしてきたオーディエンスがどんなスマートフォンを使用しているか調査するためにUser Agentを収集する必要がありました。各キャリアのサイトに用意されている開発者向けのサイトから効率よく収集するのに調度良いツールがないか探していたところ、PythonにScrapyというクロール&スクレイピングフレームワークがあるそうなので勉強がてら作ってみました。 環境、前提条件 macOS Sierra(10.12.6) Chrome最新版 Python 3.6.1 :: Anaconda 4.4.0 (x86_64) Scrapy 1.5 Scrapyの使い方 インストール すでにPython環境が構築されている場合はpip installですぐに利用できるようになります。 前準備 本記事ではauの開発者向け技術情報サイトのAndroidのUser Agentページをク
Updates about mypy, an optional static type checker for Python For statically checking Python code, mypy is great, but it only works after you have added type annotations to your codebase. When you have a large codebase, this can be painful. At Dropbox we’ve annotated over 1.2 million lines of code (about 20% of our total Python codebase), so we know how much work this can be. It’s worth it though
4/30 公開 5/1 増補改訂: 大幅加筆しました。 この記事では、2018年以降に実現可能になったモダンなPythonプロジェクトのはじめかたを整理して紹介します。 PythonにもPipenvという公式推奨の高機能なパッケージマネージャーが登場し、さらに2018年に入ってからの機能向上で、npmやyarnのような開発体験が得られるようになってきました。 私はここしばらくはフロントエンドやNode.jsに携わっていて、npmやyarnに慣れきっていたせいか、pipenv導入以前はvirtualenvやpipを組み合わせた開発が面倒で仕方なかったですが、Pipenv導入によって一変しました。 これからはPythonのプロジェクトがよりクリーンかつ簡単にはじめられるようになり、開発体験も向上するでしょう。 それでは、まずはPythonのインストールからです。 Pythonのインストール P
サーバ側 サーバ側のプログラムは基本的に、 socketでソケットを作成 bindでアドレスとポート番号を指定 listenでクライアントの接続を待つ acceptでクライアントの接続を受け付ける sendやrecvを使ってクライアントのデータの送受信を行う closeでソケットを閉じる の流れで行う。 tcp_server1.py from __future__ import print_function import socket from contextlib import closing def main(): host = '127.0.0.1' port = 4000 backlog = 10 bufsize = 4096 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) with closing(sock): s
関連サイト本書の関連ページが用意されています。 世界標準MIT教科書 Python言語によるプログラミング イントロダクション第2版(近代科学社ウェブサイト)内容紹介最新にして最強!! MIT人気講義の教科書、第2版! 大変好評を得ている,MITのトップクラスの人気を誇る講義内容をまとめた計算科学の教科書の第2版。 今回の改訂では,後半の内容が大幅に増え,新たに5章が追加されている。特に「機械学習」を意識して,統計学の話題が豊富になっている。Python言語を活用して,計算科学を学ぶ読者必携の書! Python Ver3.5に対応。 書誌情報 著者: John V. Guttag(著), 久保 幹雄(監訳), 麻生 敏正, 木村 泰紀, 小林 和博, 斉藤 佳鶴子, 関口 良行, 鄭 金花, 並木 誠, 兵藤 哲朗, 藤原 洋志 発行日: 2017-08-31 (紙書籍版発行日: 2017
prompt_toolkit could be a replacement for GNU readline, but it can be much more than that. Some features: Pure Python. Syntax highlighting of the input while typing. (For instance, with a Pygments lexer.) Multi-line input editing. Advanced code completion. Both Emacs and Vi key bindings. (Similar to readline.) Even some advanced Vi functionality, like named registers and digraphs. Reverse and forw
We recently reduced CPU usage across our fleet by 80%. One key technique that made this possible was a lightweight profiling strategy that we could run in production. This post is about the ways we approached instrumentation, the tradeoffs involved, and some tools you can use to optimize your own apps (including code!). Background Nylas is a developer platform that provides APIs to integrate with
Welcome to AIOHTTP¶ Asynchronous HTTP Client/Server for asyncio and Python. Current version is 3.13.3. Key Features¶ Supports both Client and HTTP Server. Supports both Server WebSockets and Client WebSockets out-of-the-box without the Callback Hell. Web-server has Middlewares, Signals and pluggable routing. Client supports middleware for customizing request/response processing. Library Installati
Seaborn is a Python data visualization library based on matplotlib. It provides a high-level interface for drawing attractive and informative statistical graphics. For a brief introduction to the ideas behind the library, you can read the introductory notes or the paper. Visit the installation page to see how you can download the package and get started with it. You can browse the example gallery
Python 3.14.5 documentation Welcome! This is the official documentation for Python 3.14.5. Documentation sections: What's new in Python 3.14? Or all "What's new" documents since Python 2.0 Tutorial Start here: a tour of Python's syntax and features Library reference Standard library and builtins Language reference Syntax and language elements Python setup and usage How to install, configure, and u
YAPF is a Python formatter based on clang-format (developed by Daniel Jasper). In essence, the algorithm takes the code and calculates the best formatting that conforms to the configured style. It takes away a lot of the drudgery of maintaining your code. The ultimate goal is that the code YAPF produces is as good as the code that a programmer would write if they were following the style guide. No
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く