Skip to content
Start free
Documentation menu

npm, PyPI and Maven

Package repositories live under one host and one organisation slug. The same token works for all of them.

npm and pnpm

Scope your internal packages and send only that scope to Quayline. Everything else continues to resolve from the public registry, or from a mirror if you create one.

.npmrc
# .npmrc, committed to the repository
@tidewater:registry=https://fi4.enotcloud.com/npm/tidewater/
always-auth=true

Credentials stay out of the repository: qln npm-auth adds the token line to your user-level ~/.npmrc, and in CI qln login --oidc does the same for the job.

Publish with npm publish. Add --provenance from a supported CI provider to attach a signed build statement; Quayline stores it and shows it on the package page in the console.

pip, uv and twine

pip.conf and ~/.netrc
# pip.conf
[global]
index-url = https://fi4.enotcloud.com/pypi/tidewater/simple/

# ~/.netrc, mode 600, read by pip and uv
machine fi4.enotcloud.com
  login __token__
  password qlt_live_8Jx2...redacted
Adding a public extra-index-url lets a public package with the same name as an internal one win if its version is higher. Prefer a single index: create a PyPI mirror in Quayline and point index-url at it. Quayline blocks upload of a public name that shadows an internal package unless you allow it.
uv
$ uv pip install --index-url https://fi4.enotcloud.com/pypi/tidewater/simple/ tidewater-fleet==0.31.0
Resolved 4 packages in 112ms
Installed 4 packages in 38ms

Maven

pom.xml and settings.xml
<!-- pom.xml -->
<distributionManagement>
  <repository>
    <id>quayline</id>
    <url>https://fi4.enotcloud.com/maven/tidewater/releases</url>
  </repository>
  <snapshotRepository>
    <id>quayline</id>
    <url>https://fi4.enotcloud.com/maven/tidewater/snapshots</url>
  </snapshotRepository>
</distributionManagement>

<!-- ~/.m2/settings.xml -->
<server>
  <id>quayline</id>
  <username>tidewater</username>
  <password>${env.QLN_TOKEN}</password>
</server>

Gradle

build.gradle.kts
// build.gradle.kts
repositories {
    maven {
        url = uri("https://fi4.enotcloud.com/maven/tidewater/virtual")
        credentials { username = "tidewater"; password = System.getenv("QLN_TOKEN") }
    }
}
publishing {
    repositories {
        maven {
            name = "quayline"
            url = uri("https://fi4.enotcloud.com/maven/tidewater/releases")
            credentials { username = "tidewater"; password = System.getenv("QLN_TOKEN") }
        }
    }
}

The virtual repository merges releases, snapshots and any mirrors you attach, in the order you set in repository settings.

Generic binaries

Generic repositories are plain paths. Objects are immutable once written unless the repository is marked mutable, which is useful for latest pointers and nightly builds.

terminal
$ qln generic put ./build/model-weights-q4.bin tidewater/models/atlas/2026-11-04/
$ curl -fSL -C - -o model.bin \
    -H "Authorization: Bearer $QLN_TOKEN" \
    https://fi4.enotcloud.com/generic/tidewater/models/atlas/2026-11-04/model-weights-q4.bin

Range requests are supported, so interrupted downloads of multi-gigabyte files resume where they stopped. Each object has a SHA-256 shown by qln generic stat and returned in the X-Quayline-Digest response header.