A small package to create experimental notebooks and directories
Project description
create_brandon
Overview
This is a small command line application to help with the creation of directories for experiments or data science use.
By calling create_brandon
in the command line, the user will be prompted to answer a few questions. brandon
will create a directory named accordingly based on the answers to the questions. The directory will be named based on the date and time of running create_brandon
and
will contain data/
and scripts/
folders as well as a jupyter notebook. If the user calls create_brandon -v
they will meet Brandon and be welcomed to the matrix.
The application is intened for those who work with quantum devies in dilution refridgerators. Hence the questions such as Name of the device and Name of the fridge, users can leave these blank by just hitting the <ENTER/Return> key.
Installation
$ pip install create_brandon
Usage
Enter in the command line/terminal:
$ create_brandon
To have a conversation with brandon
, pass the arguments -v
or -verbose
, for example:
$ create_brandon -v
or similarly
$ create_brandon -verbose
Commands also work with create-brandon
using a dash instead of an underscore.
Output
For Example:
$ create_brandon
Name of the fridge: triton1
Name of the device: sige_heterostructure 1
Name of the experiment: fine_tuning
Creating directories...
Experiment directory made at: 20220308_154655_triton1_sige_heterostructure_1_fine_tuning
Directory structure is as follows:
20220308_154655_triton1_sige_heterostructure_1_fine_tuning/
├── 20220308_154655_triton1_sige_heterostructure_1_fine_tuning.ipynb
├── data
└── scripts
Contributions
MIT license, so feel free to fork submit PRs and contribute, inluding help with docs 😎.
Developing create_brandon
To install create_brandon
, along with the tools you need to develop and run tests, run the following in your virtual env:
$ pip install -e.[dev]
Main requirment is pytest==6.2.5
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file create_brandon-brandonseverin-0.0.1.tar.gz
.
File metadata
- Download URL: create_brandon-brandonseverin-0.0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14141c9daf1bdb9f60016c04d0e6cab43c3862f83890ce43d294f52461ba014f |
|
MD5 | 66ecf4b7b1f2e7897bf2368b9b615f1e |
|
BLAKE2b-256 | 4886d6a581b639f8b98e1fd4a0dff4a5cd0fc076aae42d2639c5dd95944ef8e8 |
File details
Details for the file create_brandon_brandonseverin-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: create_brandon_brandonseverin-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dc83f408bdcb94d771858e4dce4381cfbbed82aec8d8177c0e4c6ecf6ae1bc7 |
|
MD5 | 28c5b6d4075ce1d8418dd3e38499eeb0 |
|
BLAKE2b-256 | 50ff4d359f2ac82d3ee2da3792103c458ca42839640795d30e19f23d96d8f79d |