Scaffolding of IDE project files such as Visual Studio from Python existingfolder structure
Project description
Scaffolding of IDE project files such as Visual Studio from Python existing folder structure.
Rationale
It is common practice in Python open source projects not relying on any IDE. This tool allows you to have a clean folder structure that can be shared in GIT repositories while being able to work with your favorite IDE in your workstation.
Install
pip install ideskeleton
Basic usage
You can execute the package from the command line:
python -m ideskeleton -f your-full-path
This will generate all needed files such as solution and project files for the Visual Studio case.
Off course, you can also import the package and customize the behavior as desired:
from ideskeleton import builder builder.build("your_path", overwrite=True, ide="vstudio")
For normal use, all you have to do:
import ideskeleton
This will import:
The build function that allows to build the files needed for IDE
Command line options
In order to build the IDE files from command line you just type:
python -m ideskeleton [-h] [-f] [-i {vstudio}] source_path
- positional arguments:
source_path: path of the folder structure used to generate the IDE skeleton
- optional arguments:
- -h, --help
show this help message and exit
- -f, --force
force overwrite existing solution and project files
- -i, --ide
choose IDE {vstudio}
API docs
Can find api documentation at readthedocs.
Important notes
Just Visual Studio is supported so far, although adding new IDE’s is pretty easy.
A number of opinionated conventions are enforced:
.gitignore file is used to decide which files to consider
Just *.py files are added with compile action.
Any not ignored folder in the first level is added as a python project.
Any not ignored folder in higher than first level are added as project folder.
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
File details
Details for the file ideskeleton-0.13.zip
.
File metadata
- Download URL: ideskeleton-0.13.zip
- Upload date:
- Size: 28.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5f9a9fe98d69e7add2cce2b5ed3157e7f14104a23bc96369ef2e1d9c442c38f |
|
MD5 | 13578e70c78b3403aee59a5390802fb1 |
|
BLAKE2b-256 | 14f4350a0ff2fc16e1bfaac06d87728704f7384c7519ca384d22666ad58e7cb4 |