Skip to main content

A framework for creating shareable data science websites

Project description

astrodown

[bold blue]Astrodown[/bold blue] is a toolkit to build interactive websites for data science projects.

See a live example at https://astrodown-playground.qiushiyan.dev :sparkles:

Usage:

$ astrodown [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.

  • --show-completion: Show completion for the current shell, to copy it or customize the installation.

  • --help: Show this message and exit.

    Report [bold red]bugs[/bold red] on [link=https://github.com/astrodown/astrodown-web/]Github[/link]

Commands:

  • check: Check for availabilities of programs...
  • dev: [bold blue]Preivew[/bold blue] the website
  • docs: [bold blue]Open[/bold blue] documentation...
  • init: [bold blue]Create[/bold blue] an astrodown...
  • install: [bold blue]Install[/bold blue] JavaScript...
  • new: [bold blue]Create[/bold blue] the folder...
  • render: [bold blue]Render[/bold blue] all Quarto...

astrodown check

Check for availabilities of programs required by astrodown

Usage:

$ astrodown check [OPTIONS]

Options:

  • --help: Show this message and exit.

astrodown dev

[bold blue]Preivew[/bold blue] the website

Usage:

$ astrodown dev [OPTIONS]

Options:

  • --package-manager [npm|yarn|pnpm]: package manager to use [default: PackageManager.npm]
  • --port INTEGER: port to run the website [default: 3000]
  • --render-quarto / --no-render-quarto: rerender quarto documents first [default: no-render-quarto]
  • --help: Show this message and exit.

astrodown docs

[bold blue]Open[/bold blue] documentation websites for relevant tools, e.g. Quarto, Python, etc.

Usage:

$ astrodown docs [OPTIONS]

Options:

  • --help: Show this message and exit.

astrodown init

[bold blue]Create[/bold blue] an astrodown project.

Must have Quarto Node.js installed and avaiable in PATH variables, use astrodown check for health checks.

Usage:

$ astrodown init [OPTIONS]

Options:

  • -p, --path TEXT: path to create the project, default to the current working directory [default: /Users/qiushi/workspace/astrodown/astrodown-python]
  • -n, --name TEXT: name of the project
  • -pm, --package-manager [npm|yarn|pnpm]: package manager to use, default to npm [default: npm]
  • -t, --template [basic|full]: template to use, default to basic [default: basic]
  • --help: Show this message and exit.

astrodown install

[bold blue]Install[/bold blue] JavaScript dependencies.

Only need to be run once per project.

Usage:

$ astrodown install [OPTIONS]

Options:

  • --package-manager [npm|yarn|pnpm]: package manager to use [default: PackageManager.npm]
  • --help: Show this message and exit.

astrodown new

[bold blue]Create[/bold blue] the folder structure for a new analysis, dataset, model, api, etc.

Usage:

$ astrodown new [OPTIONS] COMPONENT_TYPE:{analysis|dataset|model|shinyapp|api}

Arguments:

  • COMPONENT_TYPE:{analysis|dataset|model|shinyapp|api}: the type of the component to be created [required]

Options:

  • --help: Show this message and exit.

astrodown render

[bold blue]Render[/bold blue] all Quarto documents.

Should be run every time a Quarto document has changed. Edit _quarto.yml to include/exclude files.

Usage:

$ astrodown render [OPTIONS]

Options:

  • --package-manager [npm|yarn|pnpm]: package manager to use [default: PackageManager.npm]
  • --help: Show this message and exit.

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

astrodown-0.1.16.tar.gz (35.3 MB view details)

Uploaded Source

Built Distribution

astrodown-0.1.16-py3-none-any.whl (35.4 MB view details)

Uploaded Python 3

File details

Details for the file astrodown-0.1.16.tar.gz.

File metadata

  • Download URL: astrodown-0.1.16.tar.gz
  • Upload date:
  • Size: 35.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.10 Darwin/22.3.0

File hashes

Hashes for astrodown-0.1.16.tar.gz
Algorithm Hash digest
SHA256 8d4cee03667996ae108de461d4fe51c0eabf017659e31aa1cb48386469b6aab8
MD5 b898b47e314531f1a2227c81cab35e16
BLAKE2b-256 8977b010531879b51290f201670a0da264ceca7deccf2d891a70203110987e09

See more details on using hashes here.

File details

Details for the file astrodown-0.1.16-py3-none-any.whl.

File metadata

  • Download URL: astrodown-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 35.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.10 Darwin/22.3.0

File hashes

Hashes for astrodown-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 3bad7184b2a8c78c846a20a8af6a6f4e5de1da64f9b05eb30903b020a8518b3f
MD5 2f23bae1be6b72c3ad967fec7cc0c5f6
BLAKE2b-256 91b46302ba60bd6ce663b54345e00bc958fe0dc58eacc3710d1f5fc76d447db1

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