Upflame Labs core packages with pretty print features.
Project description
Upflame Labs
Upflame Labs is a powerful core package suite with advanced pretty print features designed for modern software development workflows. It provides intuitive tools for project initialization, system diagnostics, data processing, and presenting results in beautifully formatted output.
Features
- 🚀 Project Initialization: Initialize new projects with predefined templates
- 📊 System Diagnostics: Comprehensive system health checks
- 🔄 Data Processing: Utilities for analyzing and transforming data
- 🎨 Pretty Print Results: Beautifully formatted output for easy analysis
- 📈 Detailed Reporting: Generate comprehensive reports in multiple formats
- ⚡ High Performance: Optimized for speed and efficiency
- 🛠️ Easy Integration: Simple API that integrates seamlessly with existing workflows
- 📦 Lightweight: Minimal dependencies with maximum functionality
Installation
pip install upflame
Quick Start
Basic Usage
from upflame import greet
# Simple greeting
print(greet("Developer"))
# Output: Hello, Developer! Welcome to Upflame Labs.
Project Initialization
from upflame import initialize_project, pretty_print_project_init
# Initialize a new web project
project = initialize_project("My Web App", "web")
# Pretty print the project initialization details
pretty_print_project_init(project)
System Diagnostics
from upflame import run_diagnostics, pretty_print_diagnostics
# Run system diagnostics
diagnostics = run_diagnostics()
# Pretty print the diagnostic results
pretty_print_diagnostics(diagnostics)
Data Processing
from upflame import process_data
# Sample data to process
data = [
{"id": 1, "name": "Item 1", "value": 100},
{"id": 2, "name": "Item 2", "value": 200}
]
# Process the data
result = process_data(data, "analyze")
print(f"Processed {result['data_points']} data points")
Generating Reports
from upflame import generate_report
# Sample data for report
report_data = {
"project": "My Project",
"status": "completed",
"timestamp": "2025-10-11T10:00:00Z"
}
# Generate a JSON report
json_report = generate_report(report_data, format="json")
print(json_report)
# Generate a text report
text_report = generate_report(report_data, format="text")
print(text_report)
API Reference
Core Functions
greet(name: str) -> str
Returns a friendly greeting message.
initialize_project(project_name: str, project_type: str = "default") -> Dict[str, Any]
Initializes a new Upflame Labs project with the specified name and type.
run_diagnostics() -> Dict[str, Any]
Runs diagnostics on the Upflame Labs environment and returns detailed results.
process_data(data: List[Dict[str, Any]], operation: str = "analyze") -> Dict[str, Any]
Processes data using Upflame Labs core utilities.
pretty_print_diagnostics(diagnostics: Dict[str, Any]) -> None
Displays diagnostic results in a beautifully formatted way.
pretty_print_project_init(initialization: Dict[str, Any]) -> None
Displays project initialization details in a beautifully formatted way.
generate_report(data: Dict[str, Any], format: str = "json") -> str
Generates a report in the specified format (JSON or text).
Project Information
get_project_name() -> str
Returns the project name.
get_version() -> str
Returns the current version.
get_author() -> str
Returns the author name.
get_description() -> str
Returns the project description.
get_license() -> str
Returns the project license.
get_python_version() -> str
Returns the minimum required Python version.
get_project_url() -> str
Returns the project homepage URL.
Requirements
- Python >= 3.9
- No external dependencies
Contributing
We welcome contributions to Upflame Labs! Please see our Contributing Guide for more details.
- Fork the repository
- Create a new branch for your feature
- Add your feature or improvement
- Write tests if applicable
- Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
If you encounter any issues or have questions, please file an issue on our GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file upflame-0.1.0.tar.gz.
File metadata
- Download URL: upflame-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.10 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
221d41722c0e3e7688ae23eac6b2ace50d85940c824c933979344a0a4ed74436
|
|
| MD5 |
05b4b0553d0769085a6abdfae7b6aa23
|
|
| BLAKE2b-256 |
15f7bc57cee2080b056cdb8a8a74c35c21bb582b5ab27f18b1413665f52703c9
|
File details
Details for the file upflame-0.1.0-py3-none-any.whl.
File metadata
- Download URL: upflame-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.10 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b170d30d705dae1f710a0b2df5a4b33785c14f3fc0152f47e0b6ae246aab50f3
|
|
| MD5 |
35c2237eb1e0fa2e9fc41a88d54baacc
|
|
| BLAKE2b-256 |
da69a605cacf26bf7a2c1251e08d16b16716fe541664d176ddd74e965ea96fbc
|