Read bam files quickly into dataframes in Python
See How to Publish an Open-Source Python Package to PyPI
Install
pip install -e . # -e flag means editing affects the installed package
Create sdist and wheel (requires build)
python -m build
Check whether the package archives look fine:
twine check dist/*
Upload to PyPI test server
twine upload -r testpypi dist/*
Chek that the package can be installed from the test server
python -m pip install -i https://test.pypi.org/simple bamread
python -c "import bamread; print(bamread.read_bam('Some.bam'))"
Upload to pypi
twine upload -r testpypi dist/*
See act
act -l # list available jobs
act -j <job> # run a job
act pull_request # run jobs triggered upon pull_request