Skip to main content

A tiny program for you, setting up the ground for grand discoveries. (2023)

Project description

scilaunch

A tiny program for you that lays the foundation for great discoveries.

scilaunch

Environment Python license: BSD documentation GitHub package version Last update

Description

scilaunch helps you to set up your research project:

  1. it creates a canonical directory structure tailored for research projects

    ๐Ÿš€ yourgreatstudy/
    โ”œโ”€โ”€ ๐Ÿ“„ README.md
    โ”œโ”€โ”€ ๐Ÿ“‚ code
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ Rscripts
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ configs
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“‚ notebooks
    โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ ๐Ÿ yourgreatstudy.ipynb
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ tests
    โ”‚ย ย  โ””โ”€โ”€ ๐Ÿ“‚ yourgreatstudy
    โ”‚ย ย      โ”œโ”€โ”€ ๐Ÿ __init__.py
    โ”‚ย ย      โ””โ”€โ”€ ๐Ÿ“ preprocessing
    โ”œโ”€โ”€ ๐Ÿ“‚ data
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“‹ participants.tsv
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ sub-01
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ sub-02
    โ”‚ย ย  โ””โ”€โ”€ ๐Ÿ“ sub-03
    โ”œโ”€โ”€ ๐Ÿ“‚ literature
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ pdfs
    โ”‚ย ย  โ””โ”€โ”€ ๐Ÿ“™ yourgreatstudy.bib
    โ”œโ”€โ”€ ๐Ÿ“‚ organisation
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ ethics
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ participation_forms
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ preregistration
    โ”œโ”€โ”€ ๐Ÿ“‚ publications
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ articles
    โ”‚ย ย  โ”œโ”€โ”€ ๐Ÿ“ poster
    โ”‚ย ย  โ””โ”€โ”€ ๐Ÿ“ presentations
    โ”œโ”€โ”€ ๐Ÿ“„ pyproject.toml
    โ”œโ”€โ”€ ๐Ÿ“‚ results
    โ”‚ย ย  โ””โ”€โ”€ ๐Ÿ“ datavisualization
    โ””โ”€โ”€ ๐Ÿ setup.py
    
  2. scilaunch prepares your research code as Python package ready for import

  3. scilaunch offers to set up a conda environment, and prepares it as jupyter kernel

  4. and scilaunch can init your git repository


The project structure can be populated with other programming languages (R, matlab, etc.) as well.

Check out the scilaunch documentation ๐Ÿš€ for more information.

Getting started

Install scilaunch

Ideally install scilaunch into your global/base Python environment, which should be python>=3.8.

Install from PyPI:

pip install -U scilaunch

Alternatively, install from the GitHub repo:

pip install -U git+https://github.com/SHEscher/scilaunch.git

It is also recommended to have conda installed.

๐Ÿš€ Run scilaunch

Simply run scilaunch via the command line:

# Assuming you are in the parent directory that should host your research project
scilaunch

or provide the parent directory of your project by running:

scilaunch  PATH/TO/PARENT/DIR

Then, you will be asked to provide some information relevant to your project.

When running scilaunch the first time, you will set some default values, which will ease your life for upcoming launches of research projects.

You can still change these default values in ~/.cookiecutterrc at a later stage.


Cookiecutter templates

scilaunch is a wrapper around the great cookiecutter package and is mainly built around this template: research-project.

For how to build your own template(s) and to contribute to this project, please check out: CONTRIBUTING.md.

Note, after running scilaunch the first time, you can adapt your default values in ~/.cookiecutterrc at any time. Check out the cookiecutter documentation for more information on the ~/.cookiecutterrc.

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

scilaunch-0.3.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

scilaunch-0.3.1-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file scilaunch-0.3.1.tar.gz.

File metadata

  • Download URL: scilaunch-0.3.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for scilaunch-0.3.1.tar.gz
Algorithm Hash digest
SHA256 0788e75862ee9da4ac28655deaaf9c9cc3610f837e55b6593a8ba152a3a2fb1b
MD5 c9404c92ba464d97a790b6a2337a41af
BLAKE2b-256 2648ba06b2031e3f41adce40b46c7be58cb6137ccefe491e40cf1cb30339d5a9

See more details on using hashes here.

File details

Details for the file scilaunch-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: scilaunch-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for scilaunch-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9fdf5f20ff4c1c932ff207f4c33a072e6a74f8c8b45472392b6c6cd0b0b58911
MD5 edaa28b5885e3ce456369a2131a62f86
BLAKE2b-256 aa7458d3cc34d1b95a4d85f631941ec3c76dc12bd9e48a0df9e636223372ca4a

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