Coder Social home page Coder Social logo

00mjk / smart-strings Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zaddach/smart-strings

0.0 0.0 0.0 159 KB

An implementation of the unix 'strings' utility in python that has some more advanced features

License: MIT License

Python 100.00%

smart-strings's Introduction

smart-strings

An implementation of the unix 'strings' utility in python that has some more advanced features

Usage examples

  • ./smart_strings.py will search for sequences of at least 5 readable characters in the whole file (contrary to the strings utility object files are not treated specially).
  • ./smart_strings.py -d en_US -n 6 will print all strings that have at least one word with six characters or more which is contained in the US-English dictionary of enchant.
  • ./smart_strings.py -r will search for character sequences that contain at least 80% of letters and digits (You can use a different percentage with the --readable-percentage switch).
  • ./smart_strings.py -d ? displays the dictionaries that are available on the system.
  • ./smart_strings.py -c UTF-16LE will search for UTF-16 strings with little endian encoding in (Unfortunately there is no nice way to enumerate encodings in python, but you can use the same encoding names that you would use when opening a file in python).

smart-strings's People

Contributors

zaddach avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.