---
title: Configuration
description: How fastship discovers and loads project configuration
order: 1
exec_all: true
---
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

`fastship` uses one TOML configuration schema accepted in **either** `ship.toml` at the repository/site root **or** `[tool.fastship]` inside `pyproject.toml` (never both, and optional when defaults suffice).

Packaging metadata (`name`, `version`, `description`, [`authors`](../api/core.md#authors), `urls`, `dependencies`, `entry-points`) stays in your native manifest (`pyproject.toml`, `Cargo.toml`, or `package.json`) and git remote — never duplicated in `fastship` config. Directory-level site defaults live in `dir/index.md` YAML frontmatter (an empty body acts as a metadata-only section with no landing page).

For example, here is `fastship`'s own `[tool.fastship]` table in `pyproject.toml`:

```output
tail: cannot open '../../pyproject.toml' for reading: No such file or directory
```

Create a new project (plain Python, notebook-enabled, maturin/Rust, crate, Zig, or standalone site) with `ship-new`:

|  | **Type** | **Default** | **Details** |
|--- |--- |--- |--- |
| name | str |  | Project or site name, e.g. `"my-project"` |
| kind | str | python | Starter kind: `"python"`, `"maturin"`, `"crate"`, `"zig"`, or `"site"` |
| nb | bool | False | Include notebook authoring starter (`ship/index.ipynb` and `ship/00_core.ipynb`, or `index.ipynb` for `site`) |
| package | str | None | Python package import name, e.g. `"my_project"` (defaults from `name`) |
| description | str | None | Short project description (defaults per `kind`) |
| path | str | . | Parent directory to create the project folder in |
| gh\_org | str | AnswerDotAI | GitHub organization for repository and docs URLs |
| force | bool | False | Overwrite the target folder if it already exists |
| **Returns** | **Path** |  | **Path to the created project directory** |

At creation, `ship-new` reads author name and email from Git. After creation, `fastship` reads package authors strictly from the package manifest (`pyproject.toml`, `Cargo.toml`, or `package.json`) and resolves the GitHub owner from the repository remote (or `--gh-org`, defaulting to `AnswerDotAI`, for `ship-new`).

Declare Python runtime dependencies in `[project].dependencies` in `pyproject.toml`.

See [fastship's pyproject.toml](https://github.com/AnswerDotAI/fastship/blob/main/pyproject.toml) as a reference.
