A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser.

26 Aug 2015 Building Python modules with Go 1.5 tl;dr: with Go 1.5 you can build .so objects and import them as Python modules, running Go code (instead of C) directly from Python. Here's the code. The Go 1.5 release brings a number of nifty changes. The one we will be playing with today is the ability of the standard toolchain to build libraries (.so, .a) exporting a C ABI. (This is just one of a
# -*- coding: utf-8 -*- import sqlite3 import sys import os # easy_install lxml==3.4.1 from lxml import etree from peewee import * database_proxy = Proxy() database = None class BaseModel(Model): """ モデルクラスのベース """ class Meta: database = database_proxy class Curve(BaseModel): """ 曲線情報モデル """ curve_id = CharField(index=True, unique=False) lat = DoubleField() lng = DoubleField() class RailRoadSectio
Pythonへの型アノテーション導入を目指すGuido van Rossum氏 mypy の型アノテーションの構文を Python に取り込もうとメーリングリストで提案したニュースが話題になりました。今夏に話題になったニュースを今冬にフォローするという季節外れ感ですが、ずっと興味はあって「あとで読む」状態になっていたのを調べてみました。 基本的には mypy のドキュメントから自分の興味のあるところをかいつまんで説明しています。分かりにくいところがあれば原文を参照してください。 Welcome to Mypy documentation! mypy とは mypy は Python の静的型チェッカー (static type checker) です。wikipedia:静的コード解析 や wikipedia:en:Lint (software) ツールの一種だと説明されています。 Pyt
Talks Day 1 Talk Sessions Djangoによるスマホアプリバックエンドの実装 Yuichi Nakazawa, Kazuhiko Kakita [Description] [Video] [Slides] Deep Learning for Image Recognition in Python (ja) Hideki Tanaka [Description] [Video] [Slides] Programming the Performance Co-Pilot toolkit (en) Nathan Scott [Description] [Video] [Slides(PDF)] Djangoアプリケーション、パフォーマンスチューニング Hiroki KIYOHARA [Description] [Video] [Slides] The esperanto
Verified details These details have been verified by PyPI Maintainers jaraco Meta Maintainer: Jason R. Coombs Unverified details These details have not been verified by PyPI Project links Source Meta License: MIT License Author: Kang Zhang Requires: Python >=3.9 Provides-Extra: test , doc , check , cover , enabler , type , completion The Python keyring library provides an easy way to access the sy
PyPI に testing.mysqld と testing.cassandra をリリースしました。 パッケージ名に test と付いている通り、テストに使うモジュールです。 11/21訂正: test というパッケージは python 本体で使われていたので、パッケージ名を testing.* に変更しました。 なにをするもの? test.mysqld と test.cassandra はテストを実行する際に MySQL (Cassandra) を起動し、 テストが終了したあとに MySQL (Cassandra) を終了するという動きをしてくれるライブラリです。 Perl の Test::mysqld を Python で実装しなおしたものです。 テストする際にホンモノの MySQL や Cassandra が必要な場合に使えるかもしれません。 なんのためにつくったの? これまで
You are reading the 2024 edition of the Flask Mega-Tutorial. The complete course is also available to order in e-book and paperback formats from Amazon. Thank you for your support! If you are looking for the 2018 edition of this course, you can find it here. For your reference, here is the complete list of articles in this series: Chapter 1: Hello, World! (this article) Chapter 2: Templates Chapte
Oct 8, 201248 likes26,844 viewsAI-enhanced description This document discusses using Gevent to scale Django applications. It provides an overview of concurrency models like multi-process, threads, and event-driven approaches. It describes how Gevent uses greenlets and coroutines to provide asynchronous and concurrent execution without blocking the Python GIL. The document shares the author's exper
普段、Pythonのコードは何となく速かろうという、言ってみれば勘で書いているのだけど、その勘とやらは往々にしてウンコードを生むものである。そこで、プロファイラを使っていきたいと思う。 使えそうなツール そういうわけで、いくつか使えそうなツールをリストアップした。 経過時間のプロファイラ ツール名 メモ profile ビルトイン, ピュアPythonの決定論的プロファイラ cProfile ビルトイン, C拡張の決定論的プロファイラ line_profiler 行単位の決定論的プロファイラ Plop 統計的プロファイラ, Dropboxの人が作ってる statprof 統計的プロファイラ, 開発停止? yep 拡張モジュール用の統計的プロファイラ, バックエンドにgoogle-perftools メモリのプロファイラ ツール名 メモ memory_profiler 行単位でメモリ消費量の
Unverified details These details have not been verified by PyPI Project links Homepage Meta License: MIT License Author: Jason Orendorff Maintainer: Jason R. Coombs Requires: Python >=3.5 Classifiers Development Status 5 - Production/Stable Intended Audience Developers License OSI Approved :: MIT License Operating System OS Independent Programming Language Python :: 3 Topic Software Development ::
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く