Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 2.1.4 instead.

Nautilus gas-grain code for astrochemistry

Stable Version Python Versions

Python CLI for the Nautilus gas-grain astrochemistry code.

This package is part of the Nautilus project.

It provides the nautilus-astrochem command, a front-end to the Fortran Nautilus code shipped by the companion package nautilus-astrochem-code, plus plotting and post-processing helpers built on xarray.

Installation

You can use classical tools like pip to install the package, in a virtual environment or system wide. However, system wide installation, using pip, is not recommended, and virtual environments may make the use of the package more difficult.

The recommended way to install nautilus-astrochem is to use the uv. This tool allows managing python installation, environment and global installed tools easily.

After installing uv, you can install the package globally with:

uv tool install nautilus-astrochem@latest

uv will install the package in its own virtual environment, and make available the nautilus-astrochem command. The binaries from the nautilus-astrochem-code package can also be made available.

Usage

Each command and subcommand has its own help message.

nautilus-astrochem --help            # show help
nautilus-astrochem run --help        # run a simulation
nautilus-astrochem run-rates --help  # compute reaction rates
nautilus-astrochem plot --help       # plot abundances / major reactions
nautilus-astrochem clean --help      # clean simulation intermediates
nautilus-astrochem version           # Get version of the code

Getting started

To get started with nautilus-astrochem, we offer a repository nautilus-doc, with scientific documentation and examples of use cases ready to run. This repository is used to provide the documentation website, where the content of the documentation is available.

Tab completion

Tab completion will only work if you have installed the nautilus-astrochem package, and it is available in your PATH

The CLI is implemented with tyro, and it provides support for tab completion in several shells. You can follow the instructions below extracted from the official documentation. Refer to it for more details, in them, you will see python 01_functions.py, replace it by nautilus-astrochem. All credits go to the authors of tyro.

Fish

# (1) Create the completions directory if it doesn't exist.
mkdir -p ~/.config/fish/completions/

# (2) Write the completion script.
nautilus-astrochem --tyro-write-completion fish ~/.config/fish/completions/nautilus-astrochem.fish

Zsh

# (1) Make directory for local completions.
mkdir -p ~/.zfunc

# (2) Write completion script.
nautilus-astrochem --tyro-write-completion zsh ~/.zfunc/_nautilus-astrochem

And if it’s not in your .zshrc already:

# (3) Add .zfunc to our function search path, then initialize completions.
# Ideally this should go in your .zshrc!
fpath+=~/.zfunc
autoload -Uz compinit && compinit

Bash

# (1) Find and make completion directory.
completion_dir=${BASH_COMPLETION_USER_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/bash-completion}/completions/
mkdir -p $completion_dir

# (2) Write completion scripts. The name of the completion script must match
# the name of the file.
nautilus-astrochem --tyro-write-completion bash ${completion_dir}/nautilus-astrochem

Contact

Requests or questions can be sent to valentine.wakelam@u-bordeaux.fr.

Metadata

Release files for nautilus-astrochem 2.1.0a3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nautilus-astrochem 2.1.0a3
File Size Uploaded
nautilus_astrochem-2.1.0a3.tar.gz 31.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nautilus-astrochem 2.1.0a3
File Interpreter ABI Platform
nautilus_astrochem-2.1.0a3-py3-none-any.whl Python 3 none any Details

Total release size: 66.3 kB

Release files / nautilus_astrochem-2.1.0a3.tar.gz

Download URL nautilus_astrochem-2.1.0a3.tar.gz
Size 31.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9521bc47e2d3ecfca5651a332957904b4b51b596aff6c74138b5f1c212114989
BLAKE2b-256 checksum
How to use checksums
35c7415b8af37cb4653e826fd86936b25c6089f8f4b85efc769e2203df243f9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.5","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / nautilus_astrochem-2.1.0a3-py3-none-any.whl

Download URL nautilus_astrochem-2.1.0a3-py3-none-any.whl
Size 35.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6dc497e38d7e4a414f554f0e0a40f8a03d1ecf28aeb47a43337e862aea184a4
BLAKE2b-256 checksum
How to use checksums
639b9d18aeb04a18516ef346fe7df6cd6ab55843647e7438d988a9584b604d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Alpine Linux","version":"3.23.5","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

2.1.4

2 release files

This release

2.1.0a3 This release

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page