Skip to main content

This package provides a command to create a new project folder with subfolders, READMEs, pylabnotebook and git.

Project description

Startnewproject 🖥🗂️

This package includes a function to create a new project folderm with the desired tree, git and pylabnotebook initialized.

DEPENDENCY: this tool depends on git and pylabnotebook. Please install git and configure it prior to using this package.

Features

  • Automatically create folder tree based on the configuration file
  • Customizable configuration file
  • Pre-compiled README in each folder, with the desired format (.txt, .md, or .html)
  • Git initialization, with .gitignore and .gitattributes as well
  • pylabnotebook initialization

Installation

To install the package, run:
pip install startnewproject

This will install the startnewproject package, as weel as its dependency; you can then run startnewproject function from within the terminal (detailed explanation below).

Start a new project

To start a new project, just run
startnewproject -n name_of_the_project

If you want to have spaces in your name, just wrap it into quotes. If the folder already exists, an error will be returned; use -f/--force to overwrite the existing folder. A folder is created with the default tree structure.

Costumize configuration

To use a costumize tree structure, you have to provide a configuration file structured like the one in templates/config.json as input with the -c/--config flag.
It must be a .json file containing as keys: "description" (a string, can be empty), "subfolders" (a dictionary of subfolders. Check the template to see an example), "files" (a list of file names, can be empty), ".gitignore" (a list of patterns to include in .gitignore), ".gitattributes" (a dictionary of things to include in .gitattributes. Check the template for an example).

Issue reporting and suggestions

If you find any issue or you want to suggest some edit, please feel free to open an issue or a pull request.

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

startnewproject-0.1.9.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

startnewproject-0.1.9-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file startnewproject-0.1.9.tar.gz.

File metadata

  • Download URL: startnewproject-0.1.9.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.17.3 CPython/3.10.10 Darwin/22.6.0

File hashes

Hashes for startnewproject-0.1.9.tar.gz
Algorithm Hash digest
SHA256 e02f894b5cca1177488d905c15cd3f3b273692daf2718234c1e71ca97d01efea
MD5 82daf874a5617157c7e63e914b5bceca
BLAKE2b-256 a060b6138353650afe75b1e99d18472186f9110c313489fd4e876379aa18dd1f

See more details on using hashes here.

File details

Details for the file startnewproject-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: startnewproject-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.17.3 CPython/3.10.10 Darwin/22.6.0

File hashes

Hashes for startnewproject-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fd2245d0b69830bd8c0450841c9e7fcfb5e8d3dadcdfef53c136d8fab2a9b40c
MD5 000d5f3356b8932d0481577c962f8ad0
BLAKE2b-256 0026be5ec189676fc42e77b472575e59b10aee67f72a0f8b6dc085659f2ee8f5

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