Menu

Tree [f4ca73] main /
 History

HTTPS access


File Date Author Commit
 data 2023-08-06 BHM-Bob BHM-Bob [587c4a] minor changes in stats.reg.py dev code
 docs 2024-04-26 BHM-Bob BHM-Bob [c52002] add detail info from docs
 examples 2024-04-09 BHM-Bob BHM-Bob [6cb06d] fix-code: examples/plot/dev.py: fix import
 mbapy 2024-04-27 BHM-Bob BHM-Bob [539f38] fix-code: scripts/peptide: mmw: support any mul...
 test 2024-04-27 BHM-Bob BHM-Bob [8f75bb] fix-bug: web_utils.task.TaskPool get result in ...
 .gitignore 2024-01-09 BHM-Bob BHM-Bob [0a01c8] add none install requiement option for no requi...
 .readthedocs.yaml 2023-10-17 BHM-Bob BHM-Bob [699770] Update .readthedocs.yaml
 LICENSE 2023-09-08 BHM-Bob BHM-Bob [a92b8a] no changes by VSCode
 MANIFEST.in 2024-04-21 BHM-Bob BHM-Bob [3cb6e5] fix-code: scripts._main_: move scripts_info int...
 README.md 2024-04-04 BHM-Bob BHM-Bob [f30dcb] update README
 mkdocs.yml 2023-09-08 BHM-Bob BHM-Bob [a92b8a] no changes by VSCode
 requirements.json 2024-04-27 BHM-Bob BHM-Bob [c76651] add ujson to full set
 setup.py 2024-04-25 BHM-Bob BHM-Bob [f81156] v0.7.3

Read Me

BA_PY: Optimize Your Workflow with Python!

Downloads PyPI - Downloads GitHub all releases

GitHub repo size GitHub code size in bytes GitHub Commit Activity

PyPI - Status PyPI PyPI - Python Version

Read the Docs GitHub built with Codeium

platform - WINDOWS platform - LINUX

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 data works, including data-retrieval, data-management, data-visualization, data-analysis and data-computation. It is built for both python-users and command-line-users.

get start

install

Now, mbapy only support pypi install:

pip install mbapy

mbapy is a multi-funtional package, and it does not require every third-party packages to make every sub-module work. However, it provides some requriements option to install more specified requirements to make some sub-modules work:
1. bio: some packages for biology(sci).
install as pip install mbapy[bio]
2. game: some packages for game(pygame).
install as pip install mbapy[game]
3. full: full requirements to make almost every sub-module in mbapy work(except dl_torch).
install as pip install mbapy[full]

If you find the latest release version has some problems, you can try install the up-to-date version on github or gitee:

pip install git+https://github.com/BHM-Bob/BA_PY.git
pip install git+https://gitee.com/BHM-Bob/BA_PY.git

docs

The documentation for mbapy can be found on read the docs or just in the docs folder.

web sites

contain

mbapy python package

__version__

some version info

base

some utils for easier coding

file

image

imgae utils, including reading, saving and process a image into a feature tensor via pytorch.

video

video utils, including extract frames or unique frames from a video.

plot

pandas.dataFrame utils for plot and some simple plot based on plt

web

utils for web-crawler

request

get a web hyml page or a selenium browser warpper for easier usage.

parse

utils for parsing html

task

small task manager

spider

a light-weight web spider architecture

stats

cluster

BAKmeans, KOptim, KBayesian from KMeans, and a func for many cluster

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

optim

learning rate scheduler

paper

sci-paper utils, contains paper searching, downloading and parsing

search papers via pubmed, baidu xueshu, wos

paper_download

download papers via scihub

paper_parse

parse paper from a pdf file into a dict of each sections

scripts

some useful scripts for command user
launch by python -m mbapy.scripts.XXX or mbapy-cli XXX.

examples

web/crawler

  1. chaoxin ppt multi threads downloader (jpg->pdf)
  2. wujin search http://www.basechem.org
  3. chemSub search http://chemsub.online.fr
  4. cnipa https://pss-system.cponline.cnipa.gov.cn/seniorSearch
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.