MyBA in Python
Project description
BA_PY
mbapy is a Python package that includes a collection of useful Python scripts as sub-modules, and it's goal is Basic for All in Python.
mbapy primarily focus on areas such as sci-plot, stats, web-crawler, sci-paper utilities, and deep learning with pytorch.
get start
install
Now, mbapy only support pypi install:
pip install mbapy
If you find the latest release version has some problems, you can try install the up-to-date version on github:
pip install git+https://github.com/BHM-Bob/BA_PY.git
docs
The documentation for mbapy can be found on read the docs, and it is the one that I will regularly update. The API document for mbapy is available on its wiki. However, please note that this wiki on GitHub has not been updated since 2023-07. Given my limited time, I heavily rely on chatGPT to generate the documentation.
contain
mbapy python package
__version__
some version info
base
file
plot
pandas.dataFrame utils for plot and some simple plot based on plt
web
utils for web-crawler
stats
df
pandas.dataFrame utils for stats
reg
regression
test
some test func(using scipy and mostly give a support for mbapy-style data input)
dl-torch
pytorch utils for deeplearning
bb
basic blocks : tiny network structures
data
utils for dataset loading
loss
some loss function
m
model : deeplearning model constructed with basic blocks
utils
deeplearning training utils
paper
examples
file
some file utils things
plot
- stack bar plot with hue style
torch
- seq2seq core from bentrevett/pytorch-seq2seq
web/crawler
- chaoxin ppt multi threads downloader (jpg->pdf)
- wujin search http://www.basechem.org
- chemSub search http://chemsub.online.fr
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.