Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

"Proteted" data types suitable for hiding secrets in Django config files.

Project description

pyzopfli
======

"Protected" data types to hide secrets in Django config files.

Running a Django server in debug mode risks exposing secrets like API
keys and passwords to the world. While Django will "filter out"
certain values, it still makes available the contents of local
variables which might also contain hidden keys.

Protected works by breaking the object's __repr__ method to prevent casual display.

from protected import ProtectedString

>>> print ProtectedString('abc')
abc

>>> print repr(ProtectedString('abc')
<Protected String 'abc'>

Project details


Release history Release notifications

This version
History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
protected-0.0.1.tar.gz (1.5 kB) Copy SHA256 hash SHA256 Source None Dec 13, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page