Skip to main content

Creates the basic repository structure for python projects

Project description

Description

Creates the basic repository structure for python projects

Installation

pip install repository_setup

Usage

python -m repository_setup [-h] --path PATH --name NAME

Option Short Type Default Description
--path -p String - Path of the directory in which the repository shall be created
--name -n String - Name of the new repository

Example

python -m repository_setup -p /path/to/repo/dir -n new-module-repo

Creates the following result:

################################################################################

Repository Setup by 5f0
Creates the basic repository structure for python projects

Current working directory: /path/to/repository-setup

Target directory: /path/to/repo/dir
Name of new repository: new-module-repo

Creation Datetime: 01/01/1970 10:11:12

################################################################################

Repository of type module created successfully under /path/to/repo/dir/new-module-repo

################################################################################

With the following folder structure:

/path/to/repo/dir/new-module-repo
├─── example
└─── /src
     └─── /new_module_repo
          └─── __init__.py
          └─── __main__.py
          └─── Controller.py
└─── .gitignore
└─── LICENSE.md
└─── README.md
└─── setup.py
└─── main.py

License

MIT

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

repository_setup-1.0.2.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

repository_setup-1.0.2-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page