freeipa/ipapython
Jan Cholasta a929ac3338 install: use standard Python classes to declare knob types
Use type(None) rather than bool to define knobs which are represented as
command line flags. This allows declaring both "--option" and
"--option={0,1}"-style command line options.

Use enum.Enum subclasses instead of set literals to declare enumerations.

Use typing.List[T] instead of (list, T) to declare lists. (Note that a
minimal reimplementation of typing.List is used instead of the Python 2
backport of the typing module due to non-technical reasons.)

Use CheckedIPAddress instead of 'ip' and 'ip-local' to declare IP
addresses.

https://fedorahosted.org/freeipa/ticket/6392

Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-11-11 12:17:25 +01:00
..
dnssec do not use keys() method when iterating through dictionaries 2016-10-12 10:38:52 +02:00
install install: use standard Python classes to declare knob types 2016-11-11 12:17:25 +01:00
secrets pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
__init__.py Rename ipa-python directory to ipapython so it is a real python library 2009-02-09 14:35:15 -05:00
admintool.py Fix ScriptError to always return string from __str__ 2016-09-05 18:15:45 +02:00
certdb.py x509: use python-cryptography to process certs 2016-11-10 10:21:47 +01:00
certmonger.py Refactor installer code requesting certificates 2016-11-10 14:15:57 +01:00
config.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
cookie.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
dn.py dn: support conversion from python-cryptography Name 2016-11-10 10:21:47 +01:00
dnsutil.py Fix internal errors in host-add and other commands caused by DNS resolution 2016-07-01 10:35:39 +02:00
dogtag.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
errors.py Replace StandardError with Exception 2015-09-30 10:51:36 +02:00
graph.py Remove unused variables in the code 2016-09-27 13:35:58 +02:00
ipa_log_manager.py Use absolute imports 2015-08-12 18:17:23 +02:00
ipaldap.py ipaldap: remove do_bind from LDAPClient 2016-11-10 17:40:49 +01:00
ipautil.py UnsafeIPAddress: Implement __(g|s)etstate__ and to ensure proper (un)pickling 2016-10-12 10:42:24 +02:00
ipavalidate.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
kerberos.py Move character escaping function to ipautil 2016-10-03 13:42:34 +02:00
kernel_keyring.py Fix session cookies 2016-07-22 16:30:32 +02:00
log_manager.py remove trailing newlines form python modules 2016-10-12 10:38:52 +02:00
Makefile.am Build: Makefiles for Python packages 2016-11-09 13:08:32 +01:00
nsslib.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
p11helper.py Pylint: fix the rest of unused local variables 2016-10-11 16:50:32 +02:00
README Replace DNS client based on acutil with python-dns 2012-05-24 13:55:56 +02:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Add __name__ == __main__ guards to setup.pys 2016-10-25 18:11:31 +02:00
ssh.py Remove unused imports 2015-12-23 07:59:22 +01:00
sysrestore.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
version.py.in Build: move version handling from Makefile to configure 2016-11-09 13:08:32 +01:00

This is a set of libraries common to IPA clients and servers though mostly
geared currently towards command-line tools.

A brief overview:

config.py - identify the IPA server domain and realm. It uses python-dns to
            try to detect this information first and will fall back to
            /etc/ipa/default.conf if that fails.

ipautil.py - helper functions

entity.py - entity is the main data type. User and Group extend this class
            (but don't add anything currently).

ipavalidate.py - basic data validation routines