Any Linux admins willing to try Pygrep?

This page summarizes the projects mentioned and recommended in the original post on /r/linuxadmin

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • pygrep

    python string and regex search

  • the_silver_searcher

    A code-searching tool similar to ack, but faster.

  • We're fans of ag, The Silver Searcher.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ack3

    ack is a grep-like search tool optimized for source code.

  • fyi ack is like this but for perl instead of python https://beyondgrep.com/

  • xsv

    A fast CSV command line toolkit written in Rust.

  • Unrelated, are you the same burntsushi that wrote xsv?

  • genSQL

    A SQL generator tool to create random rows for test schemas

  • Oh yes, absolutely. I ran into a similar problem with a project I'm working on, and I had a conditional that would only import numpy if it already existed. Then again, mine wasn't something you'd call all the time, so the slowdown was worth it. Ultimately, I wound up using a C library to allocate the array (and to shuffle the ints), but it's worth noting that this is an array of uint32_t, and I'm not performing any regexes on them.

  • hyperfine

    A command-line benchmarking tool

  • It's vitally important that you make tests on small changes, and also have consistent testing methodology - same file and search parameters from one run to the next. I personally like using hyperfine to call the Python script, but anything should work. Also, if you're testing this on a laptop, it needs to be plugged in (and the CPU power management tuned for max performance when on wall power), and not too hot - thermal throttling can kill test results.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts