Skip to main content

A 'Zen Mode' infrastructure engine for Python developers.

Project description

Xenfra CLI

Xenfra CLI: Deploy Python Apps with Zen Mode

The Xenfra CLI is a powerful and intuitive command-line interface designed to streamline the deployment of Python applications to DigitalOcean. Built with a "Zen Mode" philosophy, it automates complex infrastructure tasks, allowing developers to focus on writing code.

✨ Key Features

  • Zero-Configuration Deployment: Automatically detects your project's framework and dependencies.
  • AI-Powered Auto-Healing: Diagnoses common deployment failures and suggests, or even applies, fixes automatically.
  • Real-time Monitoring: View deployment status and stream live application logs directly from your terminal.
  • Integrated Project Management: Easily list, view, and destroy your deployed projects.
  • Secure Authentication: Uses OAuth2 PKCE flow for secure, token-based authentication.

🚀 Quickstart

1. Installation

Install the Xenfra CLI using uv (recommended) or pip:

uv pip install xenfra-cli
# or
pip install xenfra-cli

2. Authentication

Log in to your Xenfra account. This will open your web browser to complete the OAuth2 flow.

xenfra auth login

3. Initialize Your Project

Navigate to your Python project's root directory and run init. The CLI will scan your codebase, detect its characteristics, and generate a xenfra.yaml configuration file.

cd your-python-project/
xenfra init

4. Deploy Your Application

Once xenfra.yaml is configured, deploy your application. The CLI will handle provisioning a DigitalOcean Droplet, setting up Docker, and deploying your code.

xenfra deploy

📋 Usage Examples

  • Monitor Deployment Status:
    xenfra status <deployment-id>
    
  • Stream Application Logs:
    xenfra logs <deployment-id>
    
  • List Deployed Projects:
    xenfra projects list
    
  • Diagnose a Failed Deployment (AI-Powered):
    xenfra diagnose <deployment-id>
    # Or to diagnose from a log file:
    xenfra diagnose --logs error.log
    

📚 Documentation

For more detailed information, advanced configurations, and API references, please refer to the official Xenfra Documentation (Link will be updated upon final deployment).

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for more details.

📄 License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xenfra-0.2.9.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xenfra-0.2.9-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file xenfra-0.2.9.tar.gz.

File metadata

  • Download URL: xenfra-0.2.9.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for xenfra-0.2.9.tar.gz
Algorithm Hash digest
SHA256 bfc36c6ac6ce4b3d2b304915857f27a038572a3895744e611c0bd7c66408858d
MD5 1853fea396ddc863f96d12d35898cbfd
BLAKE2b-256 1fe4075212f2d54f462844fa0e2fa22d4268973ab98649b040ea2d88d3cd69b2

See more details on using hashes here.

File details

Details for the file xenfra-0.2.9-py3-none-any.whl.

File metadata

  • Download URL: xenfra-0.2.9-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for xenfra-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ee0eeb18d9edec1a5dc95a3b8f07ed27c610275e432935607ce5ed582666e312
MD5 b22377bffb8289621e4eefdb26132482
BLAKE2b-256 bac40387b8ca2cb5a5ddaa2466a5f623a84a02d495627acfb2cbfcaae60d72ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page