xenfra 0.4.2__py3-none-any.whl → 0.4.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,118 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: xenfra
3
- Version: 0.4.2
4
- Summary: A 'Zen Mode' infrastructure engine for Python developers.
5
- Author: xenfra-cloud
6
- Author-email: xenfra-cloud <xenfracloud@gmail.com>
7
- Classifier: Programming Language :: Python :: 3
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Operating System :: OS Independent
10
- Classifier: Development Status :: 3 - Alpha
11
- Classifier: Intended Audience :: Developers
12
- Classifier: Topic :: Software Development :: Build Tools
13
- Classifier: Topic :: System :: Systems Administration
14
- Requires-Dist: click>=8.1.7
15
- Requires-Dist: rich>=14.2.0
16
- Requires-Dist: sqlmodel>=0.0.16
17
- Requires-Dist: python-digitalocean>=1.17.0
18
- Requires-Dist: python-dotenv>=1.2.1
19
- Requires-Dist: pyyaml>=6.0.1
20
- Requires-Dist: fabric>=3.2.2
21
- Requires-Dist: xenfra-sdk
22
- Requires-Dist: httpx>=0.27.0
23
- Requires-Dist: keyring>=25.7.0
24
- Requires-Dist: keyrings-alt>=5.0.2
25
- Requires-Dist: tenacity>=8.2.3
26
- Requires-Dist: cryptography>=43.0.0
27
- Requires-Dist: toml>=0.10.2
28
- Requires-Dist: pytest>=8.0.0 ; extra == 'test'
29
- Requires-Dist: pytest-mock>=3.12.0 ; extra == 'test'
30
- Requires-Python: >=3.13
31
- Project-URL: Homepage, https://github.com/xenfra-cloud/xenfra
32
- Project-URL: Issues, https://github.com/xenfra-cloud/xenfra/issues
33
- Provides-Extra: test
34
- Description-Content-Type: text/markdown
35
-
36
- # Xenfra CLI
37
-
38
- ## Xenfra CLI: Deploy Python Apps with Zen Mode
39
-
40
- 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.
41
-
42
- ### ✨ Key Features
43
-
44
- - **Zero-Configuration Deployment:** Automatically detects your project's framework and dependencies.
45
- - **AI-Powered Auto-Healing:** Diagnoses common deployment failures and suggests, or even applies, fixes automatically.
46
- - **Real-time Monitoring:** View deployment status and stream live application logs directly from your terminal.
47
- - **Integrated Project Management:** Easily list, view, and destroy your deployed projects.
48
- - **Secure Authentication:** Uses OAuth2 PKCE flow for secure, token-based authentication.
49
-
50
- ### 🚀 Quickstart
51
-
52
- #### 1. Installation
53
-
54
- Install the Xenfra CLI using `uv` (recommended) or `pip`:
55
-
56
- ```bash
57
- uv pip install xenfra-cli
58
- # or
59
- pip install xenfra-cli
60
- ```
61
-
62
- #### 2. Authentication
63
-
64
- Log in to your Xenfra account. This will open your web browser to complete the OAuth2 flow.
65
-
66
- ```bash
67
- xenfra auth login
68
- ```
69
-
70
- #### 3. Initialize Your Project
71
-
72
- 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.
73
-
74
- ```bash
75
- cd your-python-project/
76
- xenfra init
77
- ```
78
-
79
- #### 4. Deploy Your Application
80
-
81
- Once `xenfra.yaml` is configured, deploy your application. The CLI will handle provisioning a DigitalOcean Droplet, setting up Docker, and deploying your code.
82
-
83
- ```bash
84
- xenfra deploy
85
- ```
86
-
87
- ### 📋 Usage Examples
88
-
89
- - **Monitor Deployment Status:**
90
- ```bash
91
- xenfra status <deployment-id>
92
- ```
93
- - **Stream Application Logs:**
94
- ```bash
95
- xenfra logs <deployment-id>
96
- ```
97
- - **List Deployed Projects:**
98
- ```bash
99
- xenfra projects list
100
- ```
101
- - **Diagnose a Failed Deployment (AI-Powered):**
102
- ```bash
103
- xenfra diagnose <deployment-id>
104
- # Or to diagnose from a log file:
105
- xenfra diagnose --logs error.log
106
- ```
107
-
108
- ### 📚 Documentation
109
-
110
- For more detailed information, advanced configurations, and API references, please refer to the [official Xenfra Documentation](https://docs.xenfra.tech/cli) (Link will be updated upon final deployment).
111
-
112
- ### 🤝 Contributing
113
-
114
- We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more details.
115
-
116
- ### 📄 License
117
-
118
- This project is licensed under the [MIT License](LICENSE).
@@ -1,20 +0,0 @@
1
- xenfra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- xenfra/commands/__init__.py,sha256=kTTwVnTvoxikyPUhQiyTAbnw4PYafktuE1----TqQoA,43
3
- xenfra/commands/auth.py,sha256=ecReVCGl7Ys2d77mv_e4mCbs4ug6FLIb3S9dl2FUhr4,4178
4
- xenfra/commands/auth_device.py,sha256=caD2UdveEZtAFjgjmnA-l5bjbbPONFjXJXgeJN7mhbk,6710
5
- xenfra/commands/deployments.py,sha256=tnsEu98hC6KSt5dNM9ogscCDHSgzPI4F0K5fTvoi4iI,40060
6
- xenfra/commands/intelligence.py,sha256=95R12QnRq_uz42iUQ_4xKqIvN3nw2SAKd1H4AdLS6OI,17598
7
- xenfra/commands/projects.py,sha256=SAxF_pOr95K6uz35U-zENptKndKxJNZn6bcD45PHcpI,6696
8
- xenfra/commands/security_cmd.py,sha256=EI5sjX2lcMxgMH-LCFmPVkc9YqadOrcoSgTiKknkVRY,7327
9
- xenfra/main.py,sha256=2EPPuIdxjhW-I-e-Mc0i2ayeLaSJdmzddNThkXq7B7c,2033
10
- xenfra/utils/__init__.py,sha256=4ZRYkrb--vzoXjBHG8zRxz2jCXNGtAoKNtkyu2WRI2A,45
11
- xenfra/utils/auth.py,sha256=9JbFnv0-rdlJF-4hKD2uWd9h9ehqC1iIHee1O5e-3RM,13769
12
- xenfra/utils/codebase.py,sha256=GMrqhOJWX8q5ZXSLI9P3hJZBpufXMQA3Z4fKh2XSTNo,5949
13
- xenfra/utils/config.py,sha256=Wcr1l7-0I46qGBPrgoG8SlvBKUEplksM8AaP6sTyT5I,15187
14
- xenfra/utils/errors.py,sha256=6G91YzzDDNkKHANTgfAMiOiMElEyi57wo6-FzRa4VuQ,4211
15
- xenfra/utils/security.py,sha256=EA8CIPLt8Y-QP5uZ7c5NuC6ZLRV1aZS8NapS9ix_vok,11479
16
- xenfra/utils/validation.py,sha256=cvuL_AEFJ2oCoP0abCqoOIABOwz79Gkf-jh_dcFIQlM,6912
17
- xenfra-0.4.2.dist-info/WHEEL,sha256=eycQt0QpYmJMLKpE3X9iDk8R04v2ZF0x82ogq-zP6bQ,79
18
- xenfra-0.4.2.dist-info/entry_points.txt,sha256=a_2cGhYK__X6eW05Ba8uB6RIM_61c2sHtXsPY8N0mic,45
19
- xenfra-0.4.2.dist-info/METADATA,sha256=KyQ8sRc__QMkmIg9_AYiArqXUgVEeD7hJx8L1ea2rsQ,3898
20
- xenfra-0.4.2.dist-info/RECORD,,