SkillAgentSearch skills...

PythonPackageWorkshop

Workshop of Packaging and Publishing Local Python Codes

Install / Use

/learn @fjying/PythonPackageWorkshop
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DOI

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

License

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated3mo ago
Forks1

Languages

Python

Security Score

87/100

Audited on Dec 12, 2025

No findings