hio package
Subpackages
Submodules
hio.cli module
hio command line
Module that contains the command line app.
Why does this file exist, and why not put this in __main__?
You might be tempted to import things from __main__ later, but that will cause problems: the code will get executed twice:
When you run python -m keri python will execute
__main__.pyas a script. That means there won’t be anyhio.__main__insys.modules.When you import __main__ it will get executed again (as a module) because there’s no
hio.__main__insys.modules.Also see (1) from http://click.pocoo.org/5/setuptools/#setuptools-integration
- hio.cli.main(args=None)
hio.daemon module
hio daemon
Background Server Daemon for hio
- hio.daemon.main(args=None)
hio.hioing module
hio.hioing module
Generic Constants and Classes Exception Classes
- exception hio.hioing.FilerError
Bases:
HioErrorError using or configuring Filer
- Usage::
raise FilerError(“error message”)
- exception hio.hioing.HierError
Bases:
HioErrorError using or configuring hiering support classes
- Usage::
raise HierError(“error message”)
- exception hio.hioing.HioError
Bases:
ExceptionBase Class for hio exceptions
To use raise HioError(“Error: message”)
- exception hio.hioing.MemoerError
Bases:
HioErrorError using or configuring Memoer
- Usage::
raise MemoGramError(“error message”)
- exception hio.hioing.MemoerVerifyError
Bases:
MemoerErrorError extracting and verifying memo gram signature
- Usage::
raise MemoerSignatureError(“error message”)
- class hio.hioing.Mixin(*pa, **kwa)
Bases:
objectBase class to enable consistent MRO for mixin multiple inheritance Allows each subclass to call
super(MixinSubClass, self).__init__(*pa, **kwa)So the __init__ propagates to common top of Tree https://medium.com/geekculture/cooperative-multiple-inheritance-in-python-practice-60e3ac5f91cc
- exception hio.hioing.MultiError
Bases:
HioErrorError using or configuring multiprocessing support classes
- Usage::
raise MultiError(“error message”)
- exception hio.hioing.NamerError
Bases:
HioErrorError using or configuring Namer
- Usage::
raise NamerError(“error message”)
- exception hio.hioing.OglerError
Bases:
HioErrorError using or configuring Ogler
- Usage::
raise OglerError(“error message”)
- exception hio.hioing.SizeError
Bases:
HioErrorResource size related errors. Usage: raise SizeError(“error message”).
- exception hio.hioing.ValidationError
Bases:
HioErrorValidation related errors. Usage: raise ValidationError(“error message”).
- exception hio.hioing.VersionError
Bases:
ValidationErrorBad or Unsupported Version
- Usage::
raise VersionError(“error message”)
- class hio.hioing.Versionage(major, minor)
Bases:
tuple- major
Alias for field number 0
- minor
Alias for field number 1
Module contents
hio package