NZMATH  1.2.0
About: NZMATH is a Python based number theory oriented calculation system.
  Fossies Dox: NZMATH-1.2.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

nzmath.config Namespace Reference

Functions

def nzmath_info ()
 
def check_mpmath ()
 
def check_sqlite3 ()
 
def check_net ()
 
def check_psyco ()
 
def check_plugin_math ()
 
def default_datadir ()
 

Variables

tuple WINDOWS_PLATFORMS = ('win32', 'win64', 'cli', )
 
 HAVE_MPMATH = None
 
bool CHECK_MPMATH = True
 
 HAVE_SQLITE3 = None
 
bool CHECK_SQLITE3 = True
 
bool HAVE_NET = True
 
bool CHECK_NET = False
 
 HAVE_PSYCO = None
 
bool CHECK_PSYCO = True
 
 PLUGIN_MATH = None
 
bool CHECK_PLUGIN_MATH = True
 
bool GRH = False
 
 DATADIR = None
 
bool CHECK_DATADIR = True
 
 confdir = os.environ.get('NZMATHCONFDIR', None)
 
 appdir = os.environ.get('APPDATA', None)
 
 profdir = os.environ.get('USERPROFILE', None)
 
 t_confdir = os.path.join(appdir, 'nzmath')
 
 homedir = os.environ.get('HOME', None)
 
list __all__
 

Detailed Description

config --- NZMATH configurations

Function Documentation

◆ check_mpmath()

def nzmath.config.check_mpmath ( )
Check if mpmath is importable or not

Definition at line 206 of file config.py.

◆ check_net()

def nzmath.config.check_net ( )
Check the net connection by http call.

Definition at line 247 of file config.py.

◆ check_plugin_math()

def nzmath.config.check_plugin_math ( )
Return 'mpmath' if HAVE_MPMATH, None otherwise.

Definition at line 288 of file config.py.

◆ check_psyco()

def nzmath.config.check_psyco ( )
Check if psyco is importable or not.

Definition at line 272 of file config.py.

◆ check_sqlite3()

def nzmath.config.check_sqlite3 ( )
Check if sqlite3 is importable or not.
pysqlite2 may be a substitution.

Definition at line 224 of file config.py.

◆ default_datadir()

def nzmath.config.default_datadir ( )

Definition at line 305 of file config.py.

◆ nzmath_info()

def nzmath.config.nzmath_info ( )

Definition at line 11 of file config.py.

Variable Documentation

◆ __all__

list nzmath.config.__all__
private
Initial value:
1 = ['HAVE_MPMATH', 'HAVE_SQLITE3', 'HAVE_NET', 'HAVE_PSYCO',
2  'PLUGIN_MATH', 'GRH', 'DATADIR']

Definition at line 333 of file config.py.

◆ appdir

nzmath.config.appdir = os.environ.get('APPDATA', None)

Definition at line 169 of file config.py.

◆ CHECK_DATADIR

bool nzmath.config.CHECK_DATADIR = True

Definition at line 157 of file config.py.

◆ CHECK_MPMATH

bool nzmath.config.CHECK_MPMATH = True

Definition at line 39 of file config.py.

◆ CHECK_NET

bool nzmath.config.CHECK_NET = False

Definition at line 69 of file config.py.

◆ CHECK_PLUGIN_MATH

bool nzmath.config.CHECK_PLUGIN_MATH = True

Definition at line 111 of file config.py.

◆ CHECK_PSYCO

bool nzmath.config.CHECK_PSYCO = True

Definition at line 94 of file config.py.

◆ CHECK_SQLITE3

bool nzmath.config.CHECK_SQLITE3 = True

Definition at line 56 of file config.py.

◆ confdir

nzmath.config.confdir = os.environ.get('NZMATHCONFDIR', None)

Definition at line 164 of file config.py.

◆ DATADIR

def nzmath.config.DATADIR = None

Definition at line 156 of file config.py.

◆ GRH

bool nzmath.config.GRH = False

Definition at line 133 of file config.py.

◆ HAVE_MPMATH

def nzmath.config.HAVE_MPMATH = None

Definition at line 38 of file config.py.

◆ HAVE_NET

def nzmath.config.HAVE_NET = True

Definition at line 68 of file config.py.

◆ HAVE_PSYCO

def nzmath.config.HAVE_PSYCO = None

Definition at line 93 of file config.py.

◆ HAVE_SQLITE3

def nzmath.config.HAVE_SQLITE3 = None

Definition at line 55 of file config.py.

◆ homedir

nzmath.config.homedir = os.environ.get('HOME', None)

Definition at line 178 of file config.py.

◆ PLUGIN_MATH

def nzmath.config.PLUGIN_MATH = None

Definition at line 110 of file config.py.

◆ profdir

nzmath.config.profdir = os.environ.get('USERPROFILE', None)

Definition at line 171 of file config.py.

◆ t_confdir

nzmath.config.t_confdir = os.path.join(appdir, 'nzmath')

Definition at line 173 of file config.py.

◆ WINDOWS_PLATFORMS

tuple nzmath.config.WINDOWS_PLATFORMS = ('win32', 'win64', 'cli', )

Definition at line 9 of file config.py.