Building packages with long term support
Project description
Building packages with long term support
The rationale behind the creation of this ‘package builder’ is to keep the life of a python programmer as easy as possible by providing three core functions:
A way to add more functionality to an existing package.
A way to keep the package structure up to date with currently known best practices.
Remove repetitive tasks that can be automated from the list of things to do.
Quick start
Create a virtual environment for development:
$ virtualenv dvlpt
Activate it:
$ (on windows)dvlpt\Scripts\activate $ (on linux)dvlpt/bin/activate
Install pkglts:
(dvlpt)$ pip install pkglts
Create a directory for your package:
(dvlpt)$ mkdir toto
Run ‘manage’ inside this directory:
(dvlpt)$ cd toto (dvlpt)toto$ pmg init (dvlpt)toto$ pmg add base (dvlpt)toto$ pmg regenerate
This will create the bare basic minimum for a python package. Add more options (see the add_option for more options) afterward. Especially, since in the example above we just added the ‘base’ option that will create a ‘src’ directory to put your code in it.
Documentation
More documentation can be found on readthedocs_pkglts. If you just intend to use this package you can start with some tutorials. However, if the core functionality are not sufficient and you want to be part of the development you might be interested with the developer section of the doc.
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
File details
Details for the file pkglts-7.8.0.tar.gz
.
File metadata
- Download URL: pkglts-7.8.0.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06832e659fda579e230ccac438ce4992648d7caf1e3a75a0b21a17d2486de2aa |
|
MD5 | c64aeada9e666b258ecc0901c311d757 |
|
BLAKE2b-256 | 5d308f92553d07643438359f15dfbb0ea2437f282e7a5383a8d1dab07da253d8 |
File details
Details for the file pkglts-7.8.0-py3-none-any.whl
.
File metadata
- Download URL: pkglts-7.8.0-py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 129f3cb49e3624cbfd5b763f004d94a80860de2429c4ad9c8ceb03f89fad1fd7 |
|
MD5 | 12e506d7e44cbc4a3f0fd34c4d2401d9 |
|
BLAKE2b-256 | 2350b1db8882d8b168a3412921010a1d4984e419663ce651141082d5c81026da |