Skip to main content

my wrapper functions and classes for python

Project description

oxyba -- my wrapper functions and classes for python

Don't use this package.

I decided to apply the micro packaging approach instead of dumping everything into this package.

<s> The oxyba package contains my wrapper functions and classes.

There is no particular purpose nor structure within this package. New wrapper functions and classes are just added to main package folder.

I advise against using any of this code in production.
Just don't. Feel free to copy code and adjust it to your own needs. </s>


Check the source code at

pip install oxyba

Load the package

I am going to use the ox shortcut

import oxyba as ox



After v0.1.11 the versioning rules changed. A version X.Y.Z will have the following meaning.

  • X: Major changes for the package
  • Y: New function, class, module was added
  • Z: Bugfixes, minor changes

Notes to myself

  1. Update (version, requirements)
  2. Update CHANGES.txt (what's added, changed, removed?)
  3. Run: python sdist upload -r pypi
  • use flake8 --ignore=F401
  • use autopep8 --in-place oxyba/*.py


Sampling, Resampling

  • block_idxmat_sets
  • block_idxmat_shuffle
  • crossvalidation_loop
  • crossvalidation_stats
  • <s>threeway_split</s> -- replaced by threesplit pypi package
  • <s>jackknife_loop</s> -- replaced by jackknife
  • <s>jackknife_stats</s> -- replaced by jackknife

Data Cleaning with Pandas

  • clean_add_strdec
  • clean_dateobject_to_string
  • clean_german_date
  • clean_german_number
  • clean_to_decimal

Data Cleaning (other)

  • date_to_datetime
  • drop_empty_records

Feature/Variable Checking

  • features_check_singular
  • isordinal

<s>Correlations Matricies</s>


<s>Correlation Matrix Adjustment</s>

  • <s>illcond_corrmat</s> -- replaced by illmat pypi package
  • <s>subjcorr_luriegold</s> -- replaced by luriegold pypi package
  • <s>subjcorr_kfactor</s> -- replaced by kfactor pypi package
  • <s>subjcorr_onepara</s> -- replaced by onepara pypi package

Random Variables

Random Correlated Variables

  • rand_bivar
  • rand_chol
  • rand_imancon

Random Dates

  • <s>rand_dates</s> -- replaced by randdate pypi package

Date Functions

  • yearfrac_365q

Other stats

  • nominal_count
  • nominal_mode
  • norm_mle

Linear Regression

  • linreg_ridge_lu
  • linreg_mle
  • linreg_ols_lu
  • linreg_ols_pinv
  • linreg_ols_qr
  • linreg_ols_svd

  • linreg_predict
  • linreg_residuals
  • linreg_ssr
  • linreg_mse
  • linreg_rmse

Financial Models

  • leland94


  • mysql_batch_and_fetch


  • pip_upgrade

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for oxyba, version 0.31.1
Filename, size File type Python version Upload date Hashes
Filename, size oxyba-0.31.1.tar.gz (23.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page