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
Installing this package gives you an x_x CLI executable. $ x_x --help Usage: x_x [OPTIONS] FILENAME Display Excel or CSV files directly on your terminal. The file type is guessed from file extensions, but can be overridden with the --file-type option. Options: -h, --heading INTEGER Row number containing the headings. -f, --file-type [csv|excel] Force parsing of the file to the chosen format. -d, -
B! 119 0 0 0 Python用の環境設定について最近更新したので経過メモ。 特にVimのプラグインとかについて。 外部コマンド Vim シンタックスハイライト等 インデント 補完 畳み込み 外部コマンド 文法チェックをしたり pep8 に準拠するような作法に整えたりするために Pythonスクリプトをチェックするコマンドとしては pytest が便利です。 pytest本体ではpep8までチェックできませんが、 pytest-pep8 も入れる事でpep8についてまでチェックできる様になります。 $ pip install pytest-pep8 で必要な物を全てインストールしてくれます(pep8やpytest等)。 使い方は $ py.test --pep8 target.py 等と、.pyファイルを与えるかディレクトリを与えると そのディレクトリ内の.pyファイル全てをチェッ
休みの日を使ってhubot-piptoolsというツールを作った。初OSSなので作った経緯やらを書く。 https://github.com/achiku/hubot-piptools 前提 提供しているサービスのバックエンドはPython 開発チーム構成 企画(ideyuta) フロント/デザイン(moqada, ideyuta) バックエンド(moqada, achiku) インフラ/データ分析(achiku) GitHub使って開発してる CircleCI使ってCIまわしてる 大体HipChat使ってコミュニケーションしてる 社内のコミュニケーションでメールは使ってない サービスモニタリング、ノーティフィケーションの類もHipChatに集約されてる 解決しようとした課題 現在利用しているPythonのライブラリ更新確認、更新実施に使うコストがかかる 集約すると上記になるが、もう少し背
How to extract docstrings from Python files with ast In this post we will learn how to use the ast module to extract docstrings from Python files. What is ast? Simply put, ast is a module present in the standard library that can parse Python syntax. Its whole purpose is to read Python code and to break it down into its syntactic components. Let’s explore this concept by analyzing a simple statemen
Let’s look at the small, yet powerful JavaScript UI library ReactJS in action, as we build a basic web application. This app is powered by Python 3 and the Flask framework in the back-end and React in the front. In addition, we will use gulp.js (task runner), bower (front-end package manager), and Browserify (JavaScript dependency bundler). Part 1 – Getting Started (current) Part 2 – Developing a
Python's built-in logging and other similar systems output a stream of factoids: they're interesting, but you can't really tell what's going on. Why is your application slow? What caused this code path to be chosen? Why did this error happen? Standard logging can't answer these questions. But with a better model you could understand what and why things happened in your application. You could pinpo
ロゴステッカーの作成計画も進行中です。近々イベント会場でお配りできるかも知れません。 チュートリアルおよび次回勉強会のお知らせ この度PyData.Tokyo初の試みとして、初心者向けのチュートリアルを3月7日(土曜日)に行います。また、次回勉強会はデータ解析に関する「高速化」をテーマにし、4月3日(金曜日)に開催します。詳細は記事の最後をご覧下さい。 Sparkによる分散処理入門 PyData.Tokyo オーガナイザーのシバタアキラ(@madyagi)です。 ビッグデータを処理するための基盤としてHadoopは既にデファクトスタンダードになりつつあります。一方で、データ処理に対するさらなる高速化と安定化に向けて、新しい技術が日々生まれており、様々な技術が競争し、淘汰されています。そんな中、Apache Spark(以下Spark)は、新しい分析基盤として昨年あたりから急激にユーザーを増
前回はSQLAlchemyにてWHERE句でAND条件やOR条件の指定方法について実装方法を確認しました。 今回からは、WHERE句でよく使うであろう演算子について確認します。 具体的には、等号(=)、不等号(<、>)、LIKE、IN、BETWEEN、IS、EXISTSなどありますが、 今回はLIKE演算子について見ていきます。 以下のようなSQLを実行する方法を確認します。 SELECT * FROM models WHERE name LIKE 'o%'; SELECT * FROM models WHERE name LIKE '%n%'; SELECT * FROM models WHERE name LIKE '%e'; 確認するデータベース環境は前回と同じです。 (1) likeメソッドを使って、LIKE条件を指定する LIKE演算子を使って部分一致の条件指定をするには、
RoboBrowser: Your friendly neighborhood web scraper¶ Homepage: http://robobrowser.readthedocs.org/ RoboBrowser is a simple, Pythonic library for browsing the web without a standalone web browser. RoboBrowser can fetch a page, click on links and buttons, and fill out and submit forms. If you need to interact with web services that don’t have APIs, RoboBrowser can help. import re from robobrowser im
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く