module docstring cleanups [134 files]
This commit is contained in:
parent
21b8084b37
commit
20f4b12832
134 changed files with 186 additions and 123 deletions
|
|
@ -1,7 +1,16 @@
|
|||
#!/usr/bin/env python3
|
||||
#
|
||||
# mmgen = Multi-Mode GENerator, a command-line cryptocurrency wallet
|
||||
# Copyright (C)2013-2022 The MMGen Project <mmgen@tuta.io>
|
||||
# Licensed under the GNU General Public License, Version 3:
|
||||
# https://www.gnu.org/licenses
|
||||
# Public project repositories:
|
||||
# https://github.com/mmgen/mmgen
|
||||
# https://gitlab.com/mmgen/mmgen
|
||||
|
||||
# Demonstrates use of the MMGen asyncio/aiohttp JSON-RPC interface
|
||||
# https://github.com/mmgen/mmgen
|
||||
"""
|
||||
examples.halving-calculator.py: Demonstrate use of the MMGen asyncio/aiohttp JSON-RPC interface
|
||||
"""
|
||||
|
||||
import time
|
||||
from decimal import Decimal
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
addr.py: MMGen address-related types
|
||||
addr: MMGen address-related types
|
||||
"""
|
||||
|
||||
from collections import namedtuple
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
addrdata.py: MMGen AddrData and related classes
|
||||
addrdata: MMGen AddrData and related classes
|
||||
"""
|
||||
|
||||
from .util import vmsg,fmt,die
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
addrfile.py: Address and password file classes for the MMGen suite
|
||||
addrfile: Address and password file classes for the MMGen suite
|
||||
"""
|
||||
|
||||
from .util import msg,qmsg,qmsg_r,die,capfirst
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
addrgen.py: Address generation initialization code for the MMGen suite
|
||||
addrgen: Address generation initialization code for the MMGen suite
|
||||
"""
|
||||
|
||||
from .keygen import KeyGenerator # convenience import
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
addrlist.py: Address list classes for the MMGen suite
|
||||
addrlist: Address list classes for the MMGen suite
|
||||
"""
|
||||
|
||||
from .util import qmsg,qmsg_r,suf,make_chksum_N,Msg,die
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
amt.py: MMGen CoinAmt and related classes
|
||||
amt: MMGen CoinAmt and related classes
|
||||
"""
|
||||
|
||||
from decimal import Decimal
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
base_obj.py: base objects with no internal imports for the MMGen suite
|
||||
base_obj: base objects with no internal imports for the MMGen suite
|
||||
"""
|
||||
|
||||
class AsyncInit(type):
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
baseconv.py: base conversion class for the MMGen suite
|
||||
baseconv: base conversion class for the MMGen suite
|
||||
"""
|
||||
|
||||
from collections import namedtuple
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
cfg.py: API for the MMGen runtime configuration file and related files
|
||||
cfg: API for the MMGen runtime configuration file and related files
|
||||
"""
|
||||
|
||||
# NB: This module is used by override_globals_from_cfg_file(), which is called before
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
color.py: color handling for the MMGen suite
|
||||
color: color handling for the MMGen suite
|
||||
"""
|
||||
|
||||
_colors = {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
common.py: Common imports for all MMGen scripts
|
||||
common: Common imports for all MMGen scripts
|
||||
"""
|
||||
|
||||
import sys,os
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
license.py: Copyright notice and text of GPLv3
|
||||
contrib.license: Copyright notice and text of GPLv3
|
||||
"""
|
||||
|
||||
from ..globalvars import g
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
crypto.py: Random number, password hashing and symmetric encryption routines for the MMGen suite
|
||||
crypto: Random number, password hashing and symmetric encryption routines for the MMGen suite
|
||||
"""
|
||||
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
daemon.py: Daemon control interface for the MMGen suite
|
||||
daemon: Daemon control interface for the MMGen suite
|
||||
"""
|
||||
|
||||
import os,time,importlib
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
derive.py: coin private key secret derivation for the MMGen suite
|
||||
derive: coin private key secret derivation for the MMGen suite
|
||||
"""
|
||||
|
||||
from collections import namedtuple
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
# https://gitlab.com/mmgen/mmgen
|
||||
|
||||
"""
|
||||
devinit.py: Developer tools init/launch code for the MMGen suite
|
||||
devinit: Developer tools init/launch code for the MMGen suite
|
||||
"""
|
||||
|
||||
devtools_funcs = {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
# https://gitlab.com/mmgen/mmgen
|
||||
|
||||
"""
|
||||
devtools.py: Developer tools for the MMGen suite
|
||||
devtools: Developer tools for the MMGen suite
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
mmgen.exception: Exception classes for the MMGen suite
|
||||
exception: Exception classes for the MMGen suite
|
||||
"""
|
||||
|
||||
class MMGenError(Exception):
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
filename.py: File and MMGenFile classes and methods for the MMGen suite
|
||||
filename: File and MMGenFile classes and methods for the MMGen suite
|
||||
"""
|
||||
|
||||
import sys,os
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue