Skip to main content

Bem vindo ao Lunar CLI

Lunar é um CLI para auxiliar no início da criação de projetos python, permitindo que você, através de uma linha de comando, crie a estrutura inicial de um projeto, utilizando poetry como gerenciador de dependências, entre outras funcionalidades.

Instalação

É recomendado que você utilize o pipx, uma excelente ferramenta para instalação de pacotes globais.

$ pipx install ln-cli

Veja o guia completo de instalação para outras formas de instalar (pip, clone do repositório, build local, etc).

Como utilizar

Você pode chamar o lunar via linha de comando:

$ lunar new api projeto

Projeto criado

Este comando vai criar um diretório novo com a estrutura mínima para iniciar a construção de um novo projeto.

Estão disponíveis três flags para adicionar pacotes ao projeto no momento da criação:

  • --fastapi - instala fastapi e suas dependências.
  • --django - instala django-ninja e suas dependências.
  • --dev - instala as dependências de desenvolvimento (testes, lint, etc).

Mais informações sobre o CLI e seus comandos

Você pode obter instruções utilizando a flag --help

$ lunar --help

 Usage: lunar [OPTIONS] COMMAND [ARGS]...

╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version                                                                                                           │
│ --install-completion          Install completion for the current shell.                                             │
│ --show-completion             Show completion for the current shell, to copy it or customize the installation.      │
│ --help                        Show this message and exit.                                                           │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ new                                                                                                                 │
│ install                                                                                                             │
│ docker                                                                                                              │
│ linux-tips                                                                                                          │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

A flag --help também está disponível para cada comando do CLI

$ lunar new api --help

Usage: lunar new api [OPTIONS] {name}

╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    name      <str>  Cria um projeto [required]                                                                   │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --fastapi          Instala dependências do FastAPI                                                                 │
│ --django           Instala dependências do Django                                                                  │
│ --dev              Instala dependências de desenvolvimento                                                         │
│ --help             Show this message and exit.                                                                     │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Metadata

Release files for lunar-toolkit-cli 0.1.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 lunar-toolkit-cli 0.1.1
File Size Uploaded Provenance Actions
lunar_toolkit_cli-0.1.1.tar.gz 9.3 kB Without provenance Details for lunar_toolkit_cli-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lunar-toolkit-cli 0.1.1
File Interpreter ABI Platform Actions
lunar_toolkit_cli-0.1.1-py3-none-any.whl Python 3 none any Details for lunar_toolkit_cli-0.1.1-py3-none-any.whl

Total release size: 20.7 kB

Release files / lunar_toolkit_cli-0.1.1.tar.gz

Download URL lunar_toolkit_cli-0.1.1.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8a2fdc718d0bfbbea20943b9e7c5980de2fbcb5c46321c6b6a556dad4534ab98
BLAKE2b-256 checksum
How to use checksums
a58e8572aedd8dcbdca7fa24e9bf8b53ca040afff3c4fb7e560096dde917b87b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.6 Linux/7.1.5-201.fc44.x86_64

Release files / lunar_toolkit_cli-0.1.1-py3-none-any.whl

Download URL lunar_toolkit_cli-0.1.1-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51a8c7e507921ec1a2d046e441cc341c4379d479ef5cd1743a4899618c20d354
BLAKE2b-256 checksum
How to use checksums
f77bb4d1f4eec81aa347af5716e4ca4176b18752bcaebdc37d679f847e8131aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.6 Linux/7.1.5-201.fc44.x86_64

Security for lunar-toolkit-cli 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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