Giter Site home page Giter Site logo

amargan's Introduction

About Amargan

image

image

image

image

image

image

image

image

image

image

image

>>> print('Anagrams for everyone')

Reasons to use amargan

  • A simple but powerful pythonic interface
>>> from amargan import Amargan
...
... with open('words.txt') as iterator:
...     anagrams = Amargan(iterator)
... anagrams['hello']
set(['elloh' 'hello' 'lehol'])
  • A powerful command-line tool
$ find_anagrams -i words.txt hello
elloh hello lehol

$ amargan -i words.txt hello
elloh hello lehol
  • Extensive configuration options

    • Case (in)sensitivity
    • Exclusion of word from results
    • Output formatting (one per line, multiple-per-line, custom seperator)
    • Output to a file
    • Read from a file
    • Use existing dictionary of words
  • Time complexity: O(1)
  • Space complexity: O(n) where n = number of words in dictionary.
  • Memory efficient, uses iterators extensively.
  • Add and remove word(s) from the dictionary.
  • Extensively tested with excellent code and branch coverage.
  • Extensive error checking with a rich set of checked exceptions.
  • Uses Certifiable if available to catch runtime type and parameter validation errors.
  • JSON serializable and reconstitutable.
  • Fully documented
  • Free software: MIT license
  • Documentation: https://amargan.readthedocs.io

amargan's People

Contributors

sys-git avatar

Watchers

 avatar  avatar

amargan's Issues

Initial Update

Hi ๐Ÿ‘Š

This is my first visit to this fine repo, but it seems you have been working hard to keep all dependencies updated so far.

Once you have closed this issue, I'll create separate pull requests for every update as soon as I find one.

That's it for now!

Happy merging! ๐Ÿค–

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.