Neptun CLI
Neptun is a Python-based CLI for interacting with Neptun AI via the Neptun API interface. It is designed to answer questions on DevOps, Docker, Docker Compose, and more.
Features
- Rich command-line interface using Typer
- Styled output using Rich
- Interactive prompts via Questionary
- Seamless authentication and configuration management
- Integration with GitHub and template collections
Installation
You can install Neptun via pip:
pip install neptun
Usage
Once installed, you can access Neptun using the neptun command.
neptun --help
Available Commands
General Options
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell.
--help Show this message and exit.
Core Commands
| Command | Description |
|---|---|
config |
Manage general settings for the application. |
auth |
Connect to the Neptun web client. |
assistant |
Chat with the Neptun chatbot. |
collection |
Manage your Neptun collections. |
github |
Manage imported repositories & use the Neptun GitHub application. |
info |
Display the current status and version of Neptun. |
open |
Open the Neptun web interface. |
health |
Check the status of the Neptun API. |
template |
Manage templates in your collections. |
project |
Create and manage Neptun projects. |
Command Details
neptun config
Manage and configure general settings:
neptun config --help
Subcommands:
dynamic– Edit app settings dynamically.fallback– Reset to default settings.session-token– Update authentication token.init– Initialize configuration from the web UI.status– Get current configuration and user details.
neptun auth
Authenticate with Neptun:
neptun auth --help
Subcommands:
login– Log into your Neptun account.register– Create a new Neptun account.status– View authentication status.send-otp– Send a one-time password.reset-password– Reset password using OTP.
neptun assistant
Chat with Neptun AI:
neptun assistant --help
Subcommands:
options– List available options.list– Show chat dialogs.enter– Enter a chat dialog.delete– Remove a chat dialog.create– Start a new chat dialog.select– Select an active chat dialog.update– Modify an existing chat.ask– Ask a question.
neptun collection
Manage collections:
neptun collection --help
Subcommands:
options– List available template options.create-empty– Create a new empty collection.list– Show existing collections.list-shared– Show shared collections.delete– Remove a collection.update– Modify a collection.inspect– View collection details.create– Generate a collection from local files.pull– Download a collection from Neptun.
neptun github
Manage GitHub integrations:
neptun github --help
Subcommands:
install– Install the Neptun GitHub app on a repository.list-imports– View imported repositories.uninstall– Remove the Neptun GitHub app.
neptun template
Manage templates:
neptun template --help
Subcommands:
delete– Remove a template from a collection.
neptun project
Work with Neptun projects:
neptun project --help
Subcommands:
create– Start a new Neptun project.
License
This project is licensed under The Unlicense.
Authors
- stevan06v
- jonasfroeller
For more details, visit Neptun's official repository.
Metadata
Release files for neptun 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neptun-0.1.12.tar.gz | 34.5 kB | Without provenance | Details for neptun-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neptun-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for neptun-0.1.12-py3-none-any.whl |
Total release size: 78.7 kB
Release files / neptun-0.1.12.tar.gz
| Download URL | neptun-0.1.12.tar.gz |
|---|---|
| Size | 34.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41c1a278a46e377c3468f1cc82713be6b464e969a23c9320a76ae1c73e826d30
|
|
BLAKE2b-256 checksum How to use checksums |
bbbcf20135bfd867fbb547942af55e1001058425c252201569ed11931e2b47a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.12.9 Darwin/24.3.0
|
Release files / neptun-0.1.12-py3-none-any.whl
| Download URL | neptun-0.1.12-py3-none-any.whl |
|---|---|
| Size | 44.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb69c24fa3568c0e61a065d7e77ae177ab200181f2d0d4593183e2b7eca5a93a
|
|
BLAKE2b-256 checksum How to use checksums |
8c4a590efb1c577ebe643ae6446921c8d7354f145ff9a2b9126789e04003a31b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.12.9 Darwin/24.3.0
|
Security for neptun 0.1.12
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.