osakapy 2014.10 LT (CI for Python Project)Hattori Hideo
This document discusses continuous integration (CI) tools for Python projects, including Travis CI, drone.io, and Jenkins. It provides examples of configuring each tool for running unit tests and other quality checks on codebases. Travis CI is well suited for open source projects on GitHub, while drone.io and Jenkins can also be used for private repositories with self-hosted options. Overall, CI helps automate testing and identify issues early in the development process.
This document discusses image matching and summarizes several Python libraries for perceptual hashing and image matching including image-match, Elasticsearch, and otama. It provides code examples for generating signatures from images and searching an Elasticsearch index or Otama database for similar images. The author is a software engineer who develops Python projects for image matching and works for KLab Inc. in Osaka.
Hideo Hattori presented on PEP 8 coding conventions for Python and autopep8, a tool for automatically formatting Python code to conform to PEP 8. Autopep8 can format code with invalid PEP 8 formatting into valid PEP 8 code with a single command. It also has options for more aggressive reformatting and printing diffs of the changes made.
This document discusses GoHakai, an HTTP load testing tool written in Go. It summarizes Hideo Hattori's work developing GoHakai and several other Go utilities. GoHakai can generate load using configurable scenarios defined in YAML and supports features like HTTP/2, gzip compression, and distributed load generation across multiple servers. Benchmark results show that GoHakai uses CPU and memory more efficiently than an equivalent Python tool, especially at high concurrency levels. Future work may integrate the fasthttp package to improve performance further.
osakapy 2014.10 LT (CI for Python Project)Hattori Hideo
This document discusses continuous integration (CI) tools for Python projects, including Travis CI, drone.io, and Jenkins. It provides examples of configuring each tool for running unit tests and other quality checks on codebases. Travis CI is well suited for open source projects on GitHub, while drone.io and Jenkins can also be used for private repositories with self-hosted options. Overall, CI helps automate testing and identify issues early in the development process.
This document discusses image matching and summarizes several Python libraries for perceptual hashing and image matching including image-match, Elasticsearch, and otama. It provides code examples for generating signatures from images and searching an Elasticsearch index or Otama database for similar images. The author is a software engineer who develops Python projects for image matching and works for KLab Inc. in Osaka.
Hideo Hattori presented on PEP 8 coding conventions for Python and autopep8, a tool for automatically formatting Python code to conform to PEP 8. Autopep8 can format code with invalid PEP 8 formatting into valid PEP 8 code with a single command. It also has options for more aggressive reformatting and printing diffs of the changes made.
This document discusses GoHakai, an HTTP load testing tool written in Go. It summarizes Hideo Hattori's work developing GoHakai and several other Go utilities. GoHakai can generate load using configurable scenarios defined in YAML and supports features like HTTP/2, gzip compression, and distributed load generation across multiple servers. Benchmark results show that GoHakai uses CPU and memory more efficiently than an equivalent Python tool, especially at high concurrency levels. Future work may integrate the fasthttp package to improve performance further.