|
pyCloudy
0.8.33
manage Cloudy photoionization code
|
Public Member Functions | |
| def | __init__ |
| def | __del__ |
| def | connect_dB |
| def | use_dB |
| def | use_dB_tmp |
| def | show_tables |
| def | share_dB_cursor |
| def | close_dB |
| def | exec_dB |
| def | select_dB |
| def | count_dB |
| def | get_fields |
| def | get_cols |
| def | get_dtype |
| def | print_all_refs |
| def | print_all_lines |
| def | __repr__ |
Public Attributes | |
| log_ | |
| calling | |
| base_name | |
| tmp_base_name | |
| user_name | |
| user_passwd | |
| port | |
| host | |
| unix_socket | |
| connected | |
| def __init__ | ( | self, | |
base_name = 'OVN', |
|||
tmp_base_name = 'OVN_tmp', |
|||
user_name = 'OVN_user', |
|||
user_passwd = 'getenv', |
|||
host = 'taranis_loc', |
|||
unix_socket = '/var/mysql/mysql.sock', |
|||
port = 3306, |
|||
local = False, |
|||
connect = True |
|||
| ) |
This is the package to deal with MySQL OVN database. You need to have installed the mysql client and the mysql-dev library in order to install the MySQLdb python package. The dev libraries are named mysql15-dev in the fink distro. Check with 'fink list mysql' that the dev and the client are the save version. Under pip, the MySQLdb package is named MySQL-python
| def __del__ | ( | self | ) |
| def __repr__ | ( | self | ) |
| def close_dB | ( | self | ) |
| def connect_dB | ( | self | ) |
| def count_dB | ( | self, | |
from_ = 'OVN.tab1', |
|||
where_ = None |
|||
| ) |
| def exec_dB | ( | self, | |
| command, | |||
format_ = 'dict' |
|||
| ) |
| def get_cols | ( | self, | |
select_ = '*', |
|||
from_ = 'OVN.tab1' |
|||
| ) |
| def get_dtype | ( | self, | |
select_ = '*', |
|||
from_ = 'OVN.tab1' |
|||
| ) |
| def get_fields | ( | self, | |
from_ = 'OVN.tab1' |
|||
| ) |
| def print_all_lines | ( | self, | |
limit_ = None |
|||
| ) |
| def print_all_refs | ( | self, | |
from_ = 'OVN.tab1' |
|||
| ) |
| def select_dB | ( | self, | |
select_ = '*', |
|||
from_ = 'OVN.tab1', |
|||
where_ = None, |
|||
order_ = None, |
|||
group_ = None, |
|||
limit_ = 1, |
|||
format_ = 'dict', |
|||
dtype_ = None |
|||
| ) |
| def share_dB_cursor | ( | self, | |
| m | |||
| ) |
| def show_tables | ( | self | ) |
| def use_dB | ( | self, | |
base_name = None |
|||
| ) |
| def use_dB_tmp | ( | self, | |
tmp_base_name = None |
|||
| ) |