code stringlengths 3 6.57k |
|---|
self.end() |
output(self) |
print(self.var) |
load_script(self, scriptpath) |
exec(getobj(os.path.join(self.__basedir, scriptpath) |
load_scripts(self, scriptdir) |
getobjs(os.path.join(self.__basedir, scriptdir) |
objs.sort() |
exec(getobj(i) |
pause_game(self) |
continue_game(self) |
set_speed(self, speed) |
prior (for regression coefficients) |
prior (for regression coefficients) |
depth (in log units) |
check_random_state(seed) |
state.normal(beta_mean, beta_scale, size=(2, num_features-1) |
np.hstack([np.linspace(low, high, num_samples // reps) |
range(reps) |
np.vstack((np.ones(N) |
np.hstack((np.zeros((N, 1) |
softmax(phi) |
state.multinomial(n[i], probs[i, :]) |
range(N) |
pd.Index(['S%d' % i for i in range(num_samples) |
range(num_features) |
range(num_features-1) |
Table(table, feat_ids, samp_ids) |
pd.DataFrame(X, columns=['Ones', 'X'], index=samp_ids) |
_type_cast_to_float(df) |
s.astype(np.float64) |
read_metadata(filepath) |
metadata.set_index(cols[0]) |
_type_cast_to_float(metadata.copy() |
sample_filter(val, id_, md) |
np.sum(val) |
read_filter(val, id_, md) |
np.sum(val > 0) |
table.filter(sample_filter, axis='sample', inplace=False) |
table.filter(read_filter, axis='observation', inplace=False) |
table.ids(axis='sample') |
metadata.index.duplicated(keep='first') |
sort_f(xs) |
metadata.index.get_loc(x) |
table.sort(sort_f=sort_f, axis='sample') |
dmatrix(formula, metadata, return_type='dataframe') |
design.dropna() |
design_filter(val, id_, md) |
table.filter(design_filter, axis='sample') |
np.random.seed(seed) |
np.random.random(design.shape[0]) |
np.argsort(idx) |
silence_output() |
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.ERROR) |
logging.getLogger(__name__) |
acme_from_config_key(config, key) |
acme_client.ClientNetwork(key, verify_ssl=(not config.no_verify_ssl) |
_determine_user_agent(config) |
acme_client.Client(config.server, key=key, net=net) |
_determine_user_agent(config) |
plugins.
(this wasn't knowable at construction time) |
ua.format(letsencrypt.__version__, " ".join(le_util.get_os_info() |
register(config, account_storage, tos_cb=None) |
handle (should be used in `Client` initialization) |
account_storage.find_all() |
logger.info("There are already existing accounts for %s", config.server) |
logger.warn(msg) |
errors.Error(msg) |
logger.warn("Registering without email!") |
default_backend() |
acme_from_config_key(config, key) |
perform_registration(acme, config) |
tos_cb(regr) |
acme.agree_to_tos(regr) |
account.Account(regr, key) |
account.report_new_account(acc, config) |
account_storage.save(acc) |
perform_registration(acme, config) |
acme.register(messages.NewRegistration.from_data(email=config.email) |
repr(e) |
display_ops.get_email(more=True, invalid=True) |
perform_registration(acme, config) |
Client(object) |
authenticators (providing `.IAuthenticator` interface) |
Prepared (`.IAuthenticator.prepare`) |
__init__(self, config, account_, dv_auth, installer, acme=None) |
acme_from_config_key(config, self.account.key) |
standalone (then default is False, otherwise default is True) |
_obtain_certificate(self, domains, csr) |
logger.warning(msg) |
errors.Error(msg) |
errors.Error("Please register with the ACME server first.") |
logger.debug("CSR: %s, domains: %s", csr, domains) |
self.auth_handler.get_authorizations(domains) |
self.acme.fetch_chain(certr) |
obtain_certificate_from_csr(self, csr) |
obtain_certificate(self, domains) |
key
(`.le_util.Key`) |
Request
(`.le_util.CSR`) |
crypto_util.init_save_csr(key, domains, self.config.csr_dir) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.