Skip to main content

One downloader for many scientific data and code repositories!

Project description

Scitree - Like tree, but optimized for science

Scitree - Like tree, but optimized for science

PyPI DOI

In computing, tree is a recursive directory listing command or program that produces a depth-indented listing of files. Wikipedia, 2022.

Scitree is like tree, but different. Instead of sorting content on its name, scitree sorts and highlights given opiniated scientific principles. In this way, you can inspect directory listings more easily.

Scitree is based on scisort, a Python package to sort file paths based on scientific principles.

Philosophy

Philosophy of scisort and scitree:

* Only for scitree.

For more information about the structure, see scisort/scisort/keygen.py.

Installation

Scitree requires Python 3.6 or later.

pip install scitree

Getting started

scitree command

Scittree command on the command line outputs a tree.

scitree
./
├── README.md
├── LICENSE.txt
├── jobs.sh
├── data/
│   └── Bos_2018.csv
├── scripts/
│   ├── get_plot.py
│   ├── merge_descriptives.py
│   └── merge_metrics.py
└── output/
    ├── simulation/
       └── Bos_2018/
           ├── metrics_sim_Bos_2018_0.json
           ├── metrics_sim_Bos_2018_6.json
           ├── metrics_sim_Bos_2018_559.json
           ├── metrics_sim_Bos_2018_1640.json
           ├── metrics_sim_Bos_2018_3154.json
           ├── metrics_sim_Bos_2018_3518.json
           ├── metrics_sim_Bos_2018_3519.json
           ├── metrics_sim_Bos_2018_3721.json
           ├── metrics_sim_Bos_2018_4612.json
           ├── metrics_sim_Bos_2018_4699.json
           ├── metrics_sim_Bos_2018_5673.json
           ├── plot_recall_sim_Bos_2018.png
           ├── descriptives/
              ├── wordcloud_Bos_2018.png
              ├── wordcloud_irrelevant_Bos_2018.png
              ├── wordcloud_relevant_Bos_2018.png
              └── data_stats_Bos_2018.json
           └── state_files/
               ├── sim_Bos_2018_0.asreview
               ├── sim_Bos_2018_6.asreview
               ├── sim_Bos_2018_559.asreview
               ├── sim_Bos_2018_1640.asreview
               ├── sim_Bos_2018_3154.asreview
               ├── sim_Bos_2018_3518.asreview
               ├── sim_Bos_2018_3519.asreview
               ├── sim_Bos_2018_3721.asreview
               ├── sim_Bos_2018_4612.asreview
               ├── sim_Bos_2018_4699.asreview
               └── sim_Bos_2018_5673.asreview
    └── tables/
        ├── data_descriptives.csv
        ├── data_descriptives.xlsx
        ├── data_metrics.csv
        └── data_metrics.xlsx

8 directories, 38 files

scitree function for Python

The scitree function in Python prints the tree for the current folder (".").

from scitree import scitree

scitree()

License

MIT

Contact

Feel free to reach out with questions, remarks, and suggestions. The issue tracker is a good starting point. You can also email me at jonathandebruinos@gmail.com.

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

scitree-0.5.3.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

scitree-0.5.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file scitree-0.5.3.tar.gz.

File metadata

  • Download URL: scitree-0.5.3.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for scitree-0.5.3.tar.gz
Algorithm Hash digest
SHA256 d8870ca453f1eaca2a7f157d351a544127318f90847dc29fa10d4d19fd534150
MD5 c9ec3cb9bb1b8e17b91728ec80db963b
BLAKE2b-256 aa27ec7d2b0320e926f9a803c10cabe5f7a88f5c721c1544249fa2d72ae19898

See more details on using hashes here.

File details

Details for the file scitree-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: scitree-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for scitree-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c83cddd441fce95510ce9f28b2c5b1f9ff4c438cb01db103b0ca13f431487968
MD5 5e6281dfadccb27ebbab9447fd684e43
BLAKE2b-256 795470eb55d6e4d4b1a003212dddeb9b76ac685c66ae8344252d76abf1f4e99b

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