Skip to main content
=============
About Amargan
=============

.. image:: https://img.shields.io/badge/Author:%20francis%20horsman-Available-brightgreen.svg?style=plastic
:target: https://www.linkedin.com/in/francishorsman

.. image:: https://img.shields.io/pypi/v/amargan.svg
:target: https://pypi.python.org/pypi/amargan
:alt: PyPi version

.. image:: https://img.shields.io/travis/sys-git/amargan.svg
:target: https://travis-ci.org/sys-git/amargan
:alt: CI Status

.. image:: https://coveralls.io/repos/github/sys-git/amargan/badge.svg
:target: https://coveralls.io/github/sys-git/amargan
:alt: Coverage Status

.. image:: https://badge.fury.io/py/amargan.svg
:target: https://badge.fury.io/py/amargan

.. image:: https://img.shields.io/pypi/l/amargan.svg
:target: https://img.shields.io/pypi/l/amargan.svg

.. image:: https://img.shields.io/pypi/wheel/amargan.svg
:target: https://img.shields.io/pypi/wheel/amargan.svg

.. image:: https://img.shields.io/pypi/pyversions/amargan.svg
:target: https://img.shields.io/pypi/pyversions/amargan.svg

.. image:: https://img.shields.io/pypi/status/amargan.svg
:target: https://img.shields.io/pypi/status/amargan.svg

.. image:: https://readthedocs.org/projects/amargan/badge/?version=latest
:target: https://amargan.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://pyup.io/repos/github/sys-git/amargan/shield.svg
:target: https://pyup.io/repos/github/sys-git/amargan/
:alt: Updates

.. code-block:: python
:linenos:

>>> print('Anagrams for everyone')


Reasons to use amargan
----------------------

* A simple but powerful pythonic interface

.. code-block:: python
:linenos:

>>> from amargan import Amargan
...
... with open('words.txt') as iterator:
... anagrams = Amargan(iterator)
... anagrams['hello']
set(['elloh' 'hello' 'lehol'])

* A powerful command-line tool

.. code-block:: bash
:linenos:

$ 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 <https://pypi.python.org/pypi/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


=======
History
=======

Metadata

Release files for amargan 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amargan 0.1.0
File Size Uploaded Provenance
amargan-0.1.0.tar.gz 29.6 kB Without provenance Details

Release files / amargan-0.1.0.tar.gz

Download URL amargan-0.1.0.tar.gz
Size 29.6 kB
Tags Source
SHA-256 checksum
How to use checksums
97b28c0a19e442a71d7b13d48a932af1f7a7655447606ff446923ca85b61fbac
BLAKE2b-256 checksum
How to use checksums
b389cff2c7646023f99414e56b750aa4612e1eca81acf7a07fa901e6c44ab73e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for amargan 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page