Skip to main content

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.

Metadata

Release files for startnewproject 0.1.9

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

Source distribution (sdist)

Source distribution for startnewproject 0.1.9
File Size Uploaded Provenance Actions
startnewproject-0.1.9.tar.gz 6.7 kB Without provenance Details for startnewproject-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for startnewproject 0.1.9
File Interpreter ABI Platform Actions
startnewproject-0.1.9-py3-none-any.whl Python 3 none any Details for startnewproject-0.1.9-py3-none-any.whl

Total release size: 14.8 kB

Release files / startnewproject-0.1.9.tar.gz

Download URL startnewproject-0.1.9.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e02f894b5cca1177488d905c15cd3f3b273692daf2718234c1e71ca97d01efea
BLAKE2b-256 checksum
How to use checksums
a060b6138353650afe75b1e99d18472186f9110c313489fd4e876379aa18dd1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.17.3 CPython/3.10.10 Darwin/22.6.0

Release files / startnewproject-0.1.9-py3-none-any.whl

Download URL startnewproject-0.1.9-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd2245d0b69830bd8c0450841c9e7fcfb5e8d3dadcdfef53c136d8fab2a9b40c
BLAKE2b-256 checksum
How to use checksums
0026be5ec189676fc42e77b472575e59b10aee67f72a0f8b6dc085659f2ee8f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.17.3 CPython/3.10.10 Darwin/22.6.0

Security for startnewproject 0.1.9

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.

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