This is an easy way to write your own package.
Project description
ezpackage
What is ezpackage?
ezpackage is a Python package for building and sharing your python package in an easy way.
Where to get ezpackage
The source code is currently hosted at GitHub:
https://github.com/datanooblol/ezpackage
The latest version is available at
Python Package Index (PyPI)
# pip
pip install ezpackage
How to use ezconfiguration
Steps to follow:
# import EzPackage
from ezpackage.package_manager import EzPackage
# initialize EzPackage object
ezpkg = EzPackage(template_package_name='your_package',
template_version='v0.1.0',
template_author_name='your_name',
template_author_email='your-email@something.com',
template_url='https://github.com/your-git-account/your-package',
template_description='A package summary.',
template_install_requires=['dependency1', 'dependency2'],
template_keywords=['tag1', 'tag2'],
template_include_package_data=True,
template_python_requires='>=3.0'
)
# create setup.py at the same level of your package
ezpkg.create_setup_py(package_parent_dir='your-package-parent-directory')
# build packages including: build, dist, <your package>.egg-info
ezpkg.build_package()
# upload your package in /your-package-parent-directory/dist/* to pypi
ezpkg.upload_to_pypi(username='your-pypi-username', password='your-pypi-password')
# remove built packages from your-package-parent-directory
ezpkg.remove_built_package()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ezpackage-0.1.2.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file ezpackage-0.1.2.tar.gz
.
File metadata
- Download URL: ezpackage-0.1.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81c1a7c477d36a348535b3c1efb1364ebd057f2e778bb18a287272a38f000611 |
|
MD5 | 3c0dafc794b05eceb490aa77c55b24f5 |
|
BLAKE2b-256 | e8d52275803f187784b6b3644970b1b2bc078a22811a7d1edd0dbc5f0ffc0d02 |
File details
Details for the file ezpackage-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: ezpackage-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | caaa089a8cc367d28a853dce041ae9f1cc5a5a2bbbd31f4f67809d47c503733c |
|
MD5 | f933e52e598f69ba9486e2b610ce564e |
|
BLAKE2b-256 | f71c355b4461857fe340ddb22715d9c7a7e1d64740aa1b032f557c86ba39b0f0 |