Skip to main content

A package to create a data science project structure

Project description

This package automates the creation of a basic directory structure and files for a data science or machine learning project. It is designed to set up an empty project with standard directories and placeholder files, making it easier to start your project.

The package will create the following structure and files:

.
├── .github
│   └── workflows
│       └── .gitkeep
├── src
│   └── (projectName)
│       ├── __init__.py
│       ├── modules
│       │   └── __init__.py
│       ├── utilities
│       │   └── __init__.py
│       ├── pipeline
│       │   └── __init__.py
│       ├── constants
│       │   └── __init__.py
├── models
│   └── .gitkeep
├── logs
│   └── .gitkeep
├── data
│   ├── raw
│   │   └── .gitkeep
│   ├── intermediate
│   │   └── .gitkeep
│   └── processed
│       └── .gitkeep
├── exports
│   └── .gitkeep
├── reports
│   └── .gitkeep
├── research
│   └── experiments.ipynb
├── tests
│   └── .gitkeep
├── main.py
├── app.py
├── Dockerfile
├── requirements.txt
├── setup.py
└── README.md

Usage

Run the script from the directory where you intend to create the project template.

# Replace 'MyProject' according to your project's name

from dsforge import creator
creator("MyProject")

Notes:

The script will log each directory and file creation. Below is a guide for folder usage:

  • src/(projectName): Main source code directory.
  • models: Reserved for storing model files.
  • data: For storing raw/intermediate/processed data files.
  • reports: For storing graphs and reports.
  • exports: For storing outputs and other file exports.
  • research: Jupyter notebook for experiments.
  • tests: Reserved for test scripts.
  • main.py: Main entry point for the project.
  • app.py: Web-app specific code.

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

dsforge-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

dsforge-0.1.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file dsforge-0.1.2.tar.gz.

File metadata

  • Download URL: dsforge-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for dsforge-0.1.2.tar.gz
Algorithm Hash digest
SHA256 291366d6c3c95d571a416bde28c9123000a7d5f9be552b85ee98495f351d4b3e
MD5 7f5ed1e04f48edd929f6980103873e88
BLAKE2b-256 e3354733b5d7b25ea2e37f832ace890ae6cdeb8571b19ad8e25deee8f73bdb81

See more details on using hashes here.

File details

Details for the file dsforge-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dsforge-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for dsforge-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0eb7c096fd1febcbefc51eae07e92d2a9b561ff98301bf215e6ec02c2dddb11c
MD5 31fc8c271952a1566e9b1f8e67f549c5
BLAKE2b-256 c7f7a3fc50e69d51ecf4f6dfa3ae66a96077aa113faf92aa1b27f786b9cbcde5

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