Skip to main content

A command line app/package to create a jupyter notebook and directories for quantum devices and data science.

Project description

create-brandon Overview

Documentation can be found here.

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

N.B. Commands also work with create_brandon using an underscore instead of a dash. The package name is create_brandon.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

create_brandon-0.0.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

create_brandon-0.0.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file create_brandon-0.0.1.tar.gz.

File metadata

  • Download URL: create_brandon-0.0.1.tar.gz
  • Upload date:
  • Size: 5.6 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

Hashes for create_brandon-0.0.1.tar.gz
Algorithm Hash digest
SHA256 eaf67c0e6c2ae88e1b1b9e71bed7827ff842d80793f80c5592acab771eb97bf0
MD5 04a0e2a53f263d0451a055d66299dad7
BLAKE2b-256 dc28e5ff142ae1c6029ef307284b4ba570161af3cbdcf87b58b272c368e28334

See more details on using hashes here.

File details

Details for the file create_brandon-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: create_brandon-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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

Hashes for create_brandon-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae2def7338ea2e24376dbdf06f26f5465e6623e080cca9a178fec24cc7f34db
MD5 f5fe900794a663e63f24832cee331a84
BLAKE2b-256 4b2fc6a28d22d58a64bd43feb40d9a89eda68b6f91f37641fdf57f18e1b6f749

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page