mirror of
https://github.com/dtomlinson91/panaetius.git
synced 2025-12-22 04:55:44 +00:00
updating doc structure
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
panaetius
|
|
||||||
=========
|
|
||||||
|
|
||||||
.. toctree::
|
|
||||||
:maxdepth: 4
|
|
||||||
|
|
||||||
panaetius
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
.. include:: ../global.rst
|
.. include:: ../global.rst
|
||||||
|
|
||||||
panaetius.config :modname:`panaetius.config`
|
panaetius.config :modname:`panaetius.config`
|
||||||
-------------------------------------
|
---------------------------------------------
|
||||||
|
|
||||||
.. automodule:: panaetius.config
|
.. automodule:: panaetius.config
|
||||||
:members:
|
:members:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.. include:: ../global.rst
|
.. include:: ../global.rst
|
||||||
|
|
||||||
panaetius.config_inst :modname:`panaetius.config_inst`
|
panaetius.config_inst :modname:`panaetius.config_inst`
|
||||||
---------------------------------------
|
--------------------------------------------------------
|
||||||
|
|
||||||
.. automodule:: panaetius.config_inst
|
.. automodule:: panaetius.config_inst
|
||||||
:members:
|
:members:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.. include:: ../global.rst
|
.. include:: ../global.rst
|
||||||
|
|
||||||
panaetius.header :modname:`panaetius.header`
|
panaetius.header :modname:`panaetius.header`
|
||||||
-------------------------------------
|
---------------------------------------------
|
||||||
|
|
||||||
.. automodule:: panaetius.header
|
.. automodule:: panaetius.header
|
||||||
:members:
|
:members:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.. include:: ../global.rst
|
.. include:: ../global.rst
|
||||||
|
|
||||||
panaetius.library :modname:`panaetius.library`
|
panaetius.library :modname:`panaetius.library`
|
||||||
-------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
.. automodule:: panaetius.library
|
.. automodule:: panaetius.library
|
||||||
:members:
|
:members:
|
||||||
|
|||||||
@@ -7,15 +7,3 @@ panaetius :modname:`panaetius`
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
Submodules
|
|
||||||
----------
|
|
||||||
|
|
||||||
.. toctree::
|
|
||||||
|
|
||||||
panaetius.config
|
|
||||||
panaetius.config_inst
|
|
||||||
panaetius.db
|
|
||||||
panaetius.header
|
|
||||||
panaetius.library
|
|
||||||
panaetius.logging
|
|
||||||
|
|||||||
@@ -25,4 +25,3 @@
|
|||||||
modules/panaetius.header.rst
|
modules/panaetius.header.rst
|
||||||
modules/panaetius.library.rst
|
modules/panaetius.library.rst
|
||||||
modules/panaetius.logging.rst
|
modules/panaetius.logging.rst
|
||||||
modules/panaetius.rst
|
|
||||||
|
|||||||
@@ -39,6 +39,13 @@ class Mask:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def hash(self):
|
def hash(self):
|
||||||
|
"""Property to determine the hash of a config entry.
|
||||||
|
|
||||||
|
Returns
|
||||||
|
-------
|
||||||
|
bytes
|
||||||
|
The hash as a bytes object.
|
||||||
|
"""
|
||||||
try:
|
try:
|
||||||
if not self._hash_exists:
|
if not self._hash_exists:
|
||||||
pass
|
pass
|
||||||
@@ -56,6 +63,13 @@ class Mask:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def salt(self):
|
def salt(self):
|
||||||
|
"""Property to detemine a random salt to use in creation of the hash.
|
||||||
|
|
||||||
|
Returns
|
||||||
|
-------
|
||||||
|
bytes
|
||||||
|
The salt as a bytes object.
|
||||||
|
"""
|
||||||
self._salt = urandom(32)
|
self._salt = urandom(32)
|
||||||
return self._salt
|
return self._salt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user