semvec/pypi-packages huggingface dataset:
django-fernet-fields 0.6
Fernet-encrypted model fields for Django

====================
django-fernet-fields
====================

.. image:: https://secure.travis-ci.org/orcasgit/django-fernet-fields.png?branch=master
   :target: http://travis-ci.org/orcasgit/django-fernet-fields
   :alt: Test status
.. image:: https://coveralls.io/repos/orcasgit/django-fernet-fields/badge.png?branch=master
   :target: https://coveralls.io/r/orcasgit/django-fernet-fields
   :alt: Test coverage
.. image:: https://readthedocs.org/projects/django-fernet-fields/badge/?version=latest
   :target: https://readthedocs.org/projects/django-fernet-fields/?badge=latest
   :alt: Documentation Status
.. image:: https://badge.fury.io/py/django-fernet-fields.svg
   :target: https://pypi.python.org/pypi/django-fernet-fields
   :alt: Latest version

`Fernet`_ symmetric encryption for Django model fields, using the
`cryptography`_ library.

``django-fernet-fields`` supports `Django`_ 1.11 and later on Python 2.7, 3.5, 3.6, 3.7, pypy, and pypy3.

Only PostgreSQL, SQLite, and MySQL are tested, but any Django database backend
with support for ``BinaryField`` should work.

.. _Django: http://www.djangoproject.com/
.. _Fernet: https://cryptography.io/en/latest/fernet/
.. _cryptography: https://cryptography.io/en/latest/


Getting Help
============

Documentation for django-fernet-fields is available at
https://django-fernet-fields.readthedocs.org/

This app is available on `PyPI`_ and can be installed with ``pip install
django-fernet-fields``.

.. _PyPI: https://pypi.python.org/pypi/django-fernet-fields/


Contributing
============

See the `contributing docs`_.

.. _contributing docs: https://github.com/orcasgit/django-fernet-fields/blob/master/CONTRIBUTING.rst

CHANGES
=======

master (unreleased)
-------------------

0.5 (2017.02.22)
----------------

* Support Django 1.10.

0.4 (2015.09.18)
----------------

* Add `isnull` lookup.


0.3 (2015.05.29)
----------------

* Remove DualField and HashField. The only cases where they are useful, they
  aren't secure.


0.2.1 (2015.05.28)
------------------

* Fix issue getting IntegerField validators.


0.2 (2015.05.28)
----------------

* Extract HashField for advanced lookup needs.


0.1 (2015.05.27)
----------------

* Initial working version.
get-variable-name 0.0.2
Returns variable name as a string

# GET VARIABLE NAME
Returns the variable name of an object in current program/script as a string.
**Usage:**
get_variable_name(var)

return

**EXAMPLE**
`
>>> import get_variable_name
>>>
>>> foo = ['bar', True, 'buzz']
>>> cat = get_variable_name(foo)
>>> print(foo)
['bar', True, 'buzz']
>>> print(cat)
foo
>>> print(type(foo))
list
>>> print(type(cat))
str
`