Skip to main content

Downloads FOSSA Status

Arcsecond CLI

The Command-line interface (CLI) for Arcsecond. It can be used as Python module too. The CLI makes it easy to login/register and access Arcsecond resources, public and private ones.

Read the docs

Running Arcsecond.local

The CLI owns the whole lifecycle of a self-hosted installation; there is no docker command to type:

$ arcsecond setup --lan-host 192.168.1.42   # writes .env and docker-compose.yml
$ arcsecond token set                       # the access token Arcsecond gave you, once per machine (setup asks too)
$ arcsecond start                           # first run downloads the images
$ arcsecond status
$ arcsecond logs backend -f
$ arcsecond restart backend worker          # after editing .env
$ arcsecond update                          # newer images, refreshed compose file
$ arcsecond stop

Every one of these finds the installation in the current folder, or in the folder arcsecond setup last ran in, or where --dir points.

Which server the CLI talks to

The CLI points at one API server at a time — the cloud by default, or a server you registered, typically your own Arcsecond.local — and every command follows that pointer:

$ arcsecond api                     # list them, * marks the current one
$ arcsecond api use local           # `setup` registered `local` for you
$ arcsecond login                   # on that server

Credentials are kept per server. For a script or a cron job, ARCSECOND_API=<name> selects a server for that process alone, without moving the pointer.

Configuration

Credentials and settings live in ~/.config/arcsecond/, alongside the list of registered cameras and the live-image proxy's runtime files.

Set ARCSECOND_CONFIG_DIR to put them somewhere else:

$ ARCSECOND_CONFIG_DIR=~/.config/arcsecond-observatory arcsecond login

Useful for keeping a personal account and an observatory's apart, and for containers or CI jobs that should not touch a home directory. Child processes the CLI starts — such as the background proxy from arcsecond proxy start — inherit it.

Development

The project uses uv for environment and dependency management. After forking and cloning:

$ cd ~/arcsecond-cli
$ uv sync --extra webcam --group dev
$ uv run arcsecond --help
$ uv run pytest

uv sync creates .venv/ and installs the project with its webcam extra and the dev dependency group (pytest, black, flake8, isort). Prefix commands with uv run or activate the venv with source .venv/bin/activate.

The test suite writes nothing to your own configuration: an autouse fixture in tests/conftest.py points ARCSECOND_CONFIG_DIR at a temporary directory for the whole run. Several tests save real-looking credentials, so if you add one that touches ArcsecondConfig, leave that fixture in place.

License

FOSSA Status

Metadata

Release files for arcsecond 4.4.1

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

Source distribution (sdist)

Source distribution for arcsecond 4.4.1
File Size Uploaded
arcsecond-4.4.1.tar.gz 793.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arcsecond 4.4.1
File Interpreter ABI Platform
arcsecond-4.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 984.1 kB

Release files / arcsecond-4.4.1.tar.gz

Download URL arcsecond-4.4.1.tar.gz
Size 793.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1ab11ba62a1862cf1fed971c0377a48b0819b45cde7594abf9054b933caa07c2
BLAKE2b-256 checksum
How to use checksums
14e0648460a82a098577491aceac6b874059d63eb3f1e0dd9affde11897b5e25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release files / arcsecond-4.4.1-py3-none-any.whl

Download URL arcsecond-4.4.1-py3-none-any.whl
Size 190.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4bda4a6105dff1954ca76ce6b306c73cc101a0e9d718d41e6a5647029c1e624
BLAKE2b-256 checksum
How to use checksums
9e81387e8273813027f92fc5709c519f8a6cffa521db73c696c8b9d8115013ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 6, 2026.

Transparency log

Release history Release notifications | RSS feed

4.4.3

2 release files

4.4.2

2 release files

This release

4.4.1 This release

2 release files

4.4.0

2 release files

4.3.3

2 release files

4.3.2

2 release files

4.3.1

2 release files

4.3.0

2 release files

4.2.1

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.20.2

2 release files

3.20.1

2 release files

3.20.0

2 release files

3.19.0

2 release files

3.18.2

2 release files

3.18.1

2 release files

3.18.0

2 release files

3.16.2

2 release files

3.13.0

2 release files

3.12.0

2 release files

3.11.0

2 release files

3.10.2

2 release files

3.10.1

2 release files

3.9.0

2 release files

3.8.1

2 release files

3.8.0

2 release files

3.7.3

2 release files

3.7.2

2 release files

3.7.1

2 release files

3.7.0

2 release files

3.6.1

2 release files

3.6.0

2 release files

3.5.1

2 release files

3.5.0

2 release files

3.4.0

2 release files

3.3.2

2 release files

3.3.1

2 release files

3.3.0

3 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.6.6

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.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