Skip to main content

Python-DevEnv

Python-DevEnv (PDE) is a simple development environment setup script for Python projects.

It asks a series of questions about your project, then generate an appropriate setup.py and README.rst.

If you like, it can also generate a .pylintrc with some useful settings for Pylint. (Use -p.) The settings are a little more liberal then the basic options, but still very useful.

This project will not be maintained any further as Tyrant will be taking over as a project setup generator and assistant with many more features then pde could ever have. Tyrant can be found here https://github.com/Nekroze/tyrant

Usage

usage: pde [-h] [-p] [-g] [-v] [-o OUTPUTDIR]

[–name NAME] [–description DESCRIPTION] [–author AUTHOR] [–email EMAIL] [–website WEBSITE] [–projversion PROJVERSION] [–projlicense PROJLICENSE] [–platforms PLATFORMS] [–source SOURCE] [–test TEST]

Python-DevEnv is a simple setup script generator to help with starting a python project. It can automatically generate pylint configs and easy setup.py script commands for unittesting, style testing and git support. All questions can be overridden with command line arguments as detailed below.

optional arguments::
-h, --help

show this help message and exit

-p, --pylint

Generate .pylintrc file for pylint

-g, --gitignore

Generate .gitignore file with python and cython settings

-v, --version

Python-DevEnv version display

-o OUTPUTDIR, --outputdir OUTPUTDIR

Output directory

--name NAME

Project name

--description DESCRIPTION

Project description

--author AUTHOR

Project Author name

--email EMAIL

Project/Author email address

--website WEBSITE

Project website url

--projversion PROJVERSION

Project version

--projlicense PROJLICENSE

Project license

--platforms PLATFORMS

Project platforms, comma seperated string

--source SOURCE

Project source code location

--test TEST

Project unittest code location

Output Usage

The generated setup script has additional commands that should be useful when working on any Python project.

python setup.py test: Automatically runs unittest discovery on the provided test directory.

python setup.py style: Run pylint style checking on the source directory provided. If the -p switch was not used, this will complain because there will be no .pylintrc file in the project directory however one can be manually made.

python setup.py prep: Will run the test and style command. Handy to ensure that everything is working before a distribution or commit.

python setup.py commit [-m message]: Allows simple git integration by running git add . followed by a git commit with an optional message provided by the -m switch.

python setup.py pypiup: Performs a distutils check to ensure that project meta data is up to spec then creates an sdist and attempts to upload it to the PyPi package repository.

License

PDE is under the MIT license, so you’re free to use it for anything you want–or modify it any way you want! Just trying to be helpful.

Feedback

If you have any suggestions or questions about PDE feel free to email me at nekroze@eturnilnetwork.com.

You can check out more of what I am doing at http://nekroze.eturnilnetwork.com my blog.

If you encounter any errors or problems with PDE, please let me know! Open an Issue at http://github.com/Nekroze/pde the GitHub repository.

Thanks!

Changelog

The major version is incremented when there is a major usage change. The minor version is incremented when new features are implemented. The micro version is incremented for small bug fixes and are often undocumented unless they change the user experience.

v1.3.0 - July 26 2013
  • Changed repository and pypi package name to ‘pde’

  • Updated setup script to setuptools

  • Removed silly commands from setup script

  • Added tox support

v1.2.0 - February 4th 2013
  • Optional output directory

  • Optional project information overrides from the command line

  • Platforms information added

v1.1.0 - February 4th 2013
  • Clearer README thanks to Zearin

  • PyPi upload command in generated setup.py

  • Less pylint messages disabled

  • Added __pycache__ dir to .gitignore generationa.

  • Clearer -h help messages.

Metadata

Release files for pde 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pde 1.3.0
File Size Uploaded Provenance
pde-1.3.0.tar.gz 7.0 kB Without provenance Details

Release files / pde-1.3.0.tar.gz

Download URL pde-1.3.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bcb4932e098dea9a37ef08653deab312caf48f5070d25dfc61cc85c832db6dd6
BLAKE2b-256 checksum
How to use checksums
5a8c6a19de1e2228f715702808911e1c2554dd0b6d308fa542879122799931d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pde 1.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.3.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page