Software designed for simplifying PyPI Python package setups
Project description
PyPI Maker
Software designed for simplifying PyPI Python package setups
Getting Started
Dependencies
Python 3 must be installed before pypimaker can be installed.
Installation
To install pypimaker, open a terminal window and run the following command:
pip install pypimaker
(Note that the pip3 command may be required instead of pip for some Python installations.)
Generating Your PyPI Files
To generate the files needed for your PyPI package, run the following command:
pypimaker generate
This will launch a graphical user interface that looks like the following:
Inputting the information for your project will generate all of the files needed for uploading it to PyPI (LICENSE, README.me, requirements.txt, and setup.py). This can be re-run at any time to re-generate these files.
Uploading Your Finished Project to PyPI
If you don't yet have an account on PyPI, register for one. Once you've set up your account and you're ready to upload your package to PyPI (e.g., after you have updated the generated template README.md file to your liking), run the following command:
pypimaker upload
You will be asked to enter your PyPI username and password (which you've registered previously) in the terminal. Your project will then be uploaded to PyPI, and others can download it using the following command:
pip install <PROJECT_NAME>
(Here, <PROJECT_NAME> is the name you selected when running pypimaker generate)
Resetting Your Project
At any time, all of the files generated by PyPI Maker can be removed with the following command:
pypimaker reset
Making changes to your PyPI project
To make changes and update your project, simply re-run pypimaker upload. Follow the steps in the terminal to incremement your version number and your update will be pushed to PyPI.
Note: the extraneous +[CATransaction synchronize] output in the terminal window is a known bug in macOS 13 that will not affect your project.
Authors
Brian Davis
Release History
- 1.0.5
- Bug fixes
- 1.0.0
- Initial Release
License
This project is licensed under the MIT License. See the LICENSE file for details.
Development
Testing
Tests for PyPI Maker use Python's built-in unittest framework, and are stored in the tests folder. To run tests, navigate to the top level of PyPI Maker's folder structure and run the following command:
python -m unittest
The same test framework can optionally be added to your own project: If there is not yet a folder named tests in the top level of your project's directory structure, then a dialog window will pop up asking if you would like to include template unit tests in your project when running pypimaker generate. Confirming this selection will create a tests folder with individual unit tests inside, corresponding to each of the Python files in your project. Of course, until writing test cases within each of these test files, they won't actually test anything.
Bug Reports and Feature Requests
To report a bug, visit the issues page. New feature requests are also welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypimaker-1.0.5.tar.gz.
File metadata
- Download URL: pypimaker-1.0.5.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9109623870711b09f0bc205a9b4ac18d9629cfaf69c69df2f0e62630fcdaaf6
|
|
| MD5 |
e20d122f469eddb061c5c2d121f89e8c
|
|
| BLAKE2b-256 |
d747e9e65b0ea74825d2b5869b15239999e0ce18b9b35266c78eacd3ee2d4bbf
|
File details
Details for the file pypimaker-1.0.5-py3-none-any.whl.
File metadata
- Download URL: pypimaker-1.0.5-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8890db287e798b82e680491e5c09ea83e753e505a8a6d9137469c8e81a7de585
|
|
| MD5 |
ecbbbb51f1cc08fba797d800b4ba8a1b
|
|
| BLAKE2b-256 |
60066bf1cfdc228f3b7ac8fd005ba903ba3f28b48fbccd7d2469f52e1234343b
|