PythonPackageWorkshop
Workshop of Packaging and Publishing Local Python Codes
Install / Use
/learn @fjying/PythonPackageWorkshopREADME
How to Package and Publish Your Python Codes
This workshop gives the overview of how to prepare all the documentation and codes to package and publish your python codes.
Create and Activate New Package Environment to Manage Packages
Choose either Conda Environment or Python Environment
Conda Envirionment
conda create -n pythonpackageworkshop python=3.9
conda activate pythonpackageworkshop
** **### Python Environment
mkdir ~/packageenvs
cd ~/packageenvs
python -m venv pythonpackageworkshop
source pythonpackageworkshop/bin/activate
Change Directory to the Repo Folder
Change directory to the folder of the repo PythonPackageWorkshop
cd <.../PythonPackageWorkshop>
Install Package named packageworkshop and its dependencies
pip install -e .
Usage
import numpy as np
from packageworkshop.rescale import rescale
# rescales over 0 to 1
rescale(np.linspace(0, 100, 5))
License
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
