<commit_before>django-etc
==========
https://github.com/idlesign/django-etc

.. image:: https://idlesign.github.io/lbc/py2-lbc.svg
   :target: https://idlesign.github.io/lbc/
   :alt: LBC Python 2

----

.. image:: https://img.shields.io/pypi/v/django-etc.svg
    :target: https://pypi.python.org/pypi/django-etc

.. image:: https://img.shields.io/pypi/l/django-etc.svg
    :target: https://pypi.python.org/pypi/django-etc

.. image:: https://img.shields.io/coveralls/idlesign/django-etc/master.svg
    :target: https://coveralls.io/r/idlesign/django-etc

.. image:: https://img.shields.io/travis/idlesign/django-etc/master.svg
    :target: https://travis-ci.org/idlesign/django-etc

.. image:: https://landscape.io/github/idlesign/django-etc/master/landscape.svg?style=flat
   :target: https://landscape.io/github/idlesign/django-etc/master


Description
-----------

*Tiny stuff for Django that won't fit into separate apps.*


Utils
~~~~~

* **etc.toolbox.get_site_url** does its best to provide you with a site URL whether request object is unavailable or not.

* **etc.toolbox.import_app_module** imports and returns a module from a specific app by its name.<commit_msg>Badge removed.<commit_after>django-etc
==========
https://github.com/idlesign/django-etc

.. image:: https://idlesign.github.io/lbc/py2-lbc.svg
   :target: https://idlesign.github.io/lbc/
   :alt: LBC Python 2

----

.. image:: https://img.shields.io/pypi/v/django-etc.svg
    :target: https://pypi.python.org/pypi/django-etc

.. image:: https://img.shields.io/pypi/l/django-etc.svg
    :target: https://pypi.python.org/pypi/django-etc

.. image:: https://img.shields.io/coveralls/idlesign/django-etc/master.svg
    :target: https://coveralls.io/r/idlesign/django-etc

.. image:: https://img.shields.io/travis/idlesign/django-etc/master.svg
    :target: https://travis-ci.org/idlesign/django-etc


Description
-----------

*Tiny stuff for Django that won't fit into separate apps.*


Utils
~~~~~

* **etc.toolbox.get_site_url** does its best to provide you with a site URL whether request object is unavailable or not.

* **etc.toolbox.import_app_module** imports and returns a module from a specific app by its name.
{'fraction_non_alphanumeric': 0.1802007299270073, 'fraction_numerical': 0.0018248175182481751, 'mean_word_length': 3.4036144578313254, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 24, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7000331', 'n_tokens_mistral': 803, 'n_tokens_neox': 772, 'n_words': 142}