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
├─── /src
     └─── /new_module_repo
          └─── /output
               └─── __init__.py
               └─── Output.py
          └─── /util
               └─── __init__.py
               └─── Util.py
          └─── /args
               └─── __init__.py
               └─── Args.py
          └─── __init__.py
          └─── __main__.py
└─── .gitignore
└─── LICENSE.md
└─── README.md
└─── setup.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-2.0.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repository_setup-2.0.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file repository_setup-2.0.0.tar.gz.

File metadata

  • Download URL: repository_setup-2.0.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for repository_setup-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f0126526d3fc5eb71eb62524cdb04799175a41b2ac8463e153497882c2522c41
MD5 c8c31c9872f465ea2f16b8d64cb19b6f
BLAKE2b-256 f7bce0b78116b03d375f218110d28030e98b9e765b72208f3c1cefab634b3b43

See more details on using hashes here.

File details

Details for the file repository_setup-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for repository_setup-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 922ce3ce79ff6563f97dc7d67de8b127b061ef8f8272d411c2cdd877e647738b
MD5 345d9717be01960ee86e4f4499efd12a
BLAKE2b-256 e54a9032f40f076a3717fc9a7c00401b06046b09e54e90ce6c2bedc0e9dd3f36

See more details on using hashes here.

Supported by

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