Skip to main content

TODO

Project description

Sungen

Sungen is a versatile utility package derived from dspygen that offers an extensive suite of tools and utilities designed for AI development, project management, and workflow automation. With a user-friendly command-line interface (CLI), Sungen streamlines the development process, automates repetitive tasks, and enhances productivity, making it an essential toolkit for AI projects and modern software architectures.

Key Features

  • Unified CLI Interface: A single command-line tool to manage diverse tasks across the development lifecycle.
  • Workflow Automation: Supports automation using BPMN (Business Process Model and Notation), YAML workflows, and other standards.
  • Code Generation & Optimization: Tools to generate code, manage software projects, and optimize workflows for large-scale systems.
  • Integrated Development Support: Compatible with Docker, VS Code, PyCharm, and other popular development environments.
  • Plugin Architecture: Extend functionality through a marketplace of plugins (e.g., Ansible, AI model management, deployment tools).
  • Comprehensive AI Toolkit: Leverages LLMs (Large Language Models) for code generation, project planning, and solution architecture design.

Installation

To install the Sungen package, use pip:

pip install sungen

Documentation

For detailed guidance on configuring Aider for optimal AI coding, refer to the Configuring Aider for Optimal AI Coding chapter.

Getting Started

To get an overview of the available commands, use the help option:

sungen --help

CLI Overview

The sungen CLI provides several commands, each tailored for specific tasks:

  • init: Initialize a new Sungen project, setting up configuration files and directories.
  • cmd: Create and manage subcommands within the Sungen ecosystem.
  • api: Interact with external APIs, including those for AI services.
  • deploy: Deploy applications, services, or workflows.
  • fgn: Handle foreign integrations and tasks that extend beyond the core functionalities.
  • inhabitant: Manage autonomous service components in a distributed architecture.
  • issue: Track and manage project issues or tasks.
  • marketplace: Browse, install, or manage plugins and extensions.
  • optimize: Optimize codebases, workflows, or configurations to improve performance and efficiency.
  • pln: Plan and manage tasks, milestones, and deliverables within a project.
  • pr: Manage pull requests for seamless collaboration.
  • project: Configure and manage project settings.
  • proposal: Generate or manage project proposals.
  • repo: Perform repository-related tasks, such as cloning, pushing, or tagging.
  • support: Access support commands for debugging or troubleshooting.
  • ticket: Manage tickets for support or issue tracking.

Core Capabilities

Workflow Automation

  • Automate complex workflows using BPMN and YAML, integrating various plugins and external services.
  • Streamline processes like continuous integration, deployment, and AI model lifecycle management.

AI Development Tools

  • Leverage built-in support for Large Language Models (LLMs) to generate, optimize, and refactor code.
  • Use mdbook and other plugins to generate entire books or documentation sets with AI assistance.

Integrated Development Environment Support

  • Seamlessly integrates with popular tools such as Docker, VS Code, and PyCharm.
  • Enables containerized development for consistent environments across the team.

Contributing to Sungen

We welcome contributions! To contribute, set up your development environment by following these steps:

Prerequisites

  1. SSH Configuration for Git

    cat << EOF >> ~/.ssh/config
    
    Host *
      AddKeysToAgent yes
      IgnoreUnknown UseKeychain
      UseKeychain yes
      ForwardAgent yes
    EOF
    
  2. Docker Installation

    • Install Docker Desktop to facilitate containerized development.
    • Linux users: Export your user ID and group ID:
    cat << EOF >> ~/.bashrc
    
    export UID=$(id --user)
    export GID=$(id --group)
    EOF
    
  3. IDE Installation

Development Environments

You can set up your development environment using the following methods:

  1. GitHub Codespaces: Quickly start a Dev Container using GitHub Codespaces.
  2. Dev Container with Volume: Clone the repository into a container volume using VS Code.
  3. VS Code Local Development: Open the repository in VS Code and use the Dev Containers: Reopen in Container command.
  4. PyCharm Remote Development: Configure Docker Compose as a remote interpreter in PyCharm.
  5. Terminal: Use Docker Compose to manage and run development environments.

Development Workflow

  • Use poe to list and manage available tasks.
  • Use poetry add {package} to install dependencies.
  • Use poetry update to upgrade all dependencies to their latest versions.

Community and Support

Join the Sungen community to discuss features, share use cases, and get help:

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Acknowledgments

We appreciate the contributions and support from the open-source community. Special thanks to all contributors and maintainers.


Revision Summary

  • Expanded Features and Capabilities: More detail on each feature and its impact on productivity, automation, and project management.
  • CLI Command Descriptions: Improved descriptions of the CLI commands to better convey their functionality.
  • Development Environment Setup: Clearer guidance on setting up a development environment, with more options and details.
  • Community and Support: Added information about where to find help and how to contribute to the project.

This updated README provides a comprehensive overview of what sungen offers, making it more accessible to new users and contributors.

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

sungen-2024.9.14.tar.gz (160.0 kB view details)

Uploaded Source

Built Distribution

sungen-2024.9.14-py3-none-any.whl (221.9 kB view details)

Uploaded Python 3

File details

Details for the file sungen-2024.9.14.tar.gz.

File metadata

  • Download URL: sungen-2024.9.14.tar.gz
  • Upload date:
  • Size: 160.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.5 Darwin/23.5.0

File hashes

Hashes for sungen-2024.9.14.tar.gz
Algorithm Hash digest
SHA256 cd40e85cddb61fb9f11af5f68ea1b33dfa299fb4785c5611421e72246b5bccea
MD5 2259b4f547f58f98b77749a81f6212b5
BLAKE2b-256 fe398659d26ac75dc82168d9a568711d5d59701d347eda557ee7daf4a8f02d97

See more details on using hashes here.

File details

Details for the file sungen-2024.9.14-py3-none-any.whl.

File metadata

  • Download URL: sungen-2024.9.14-py3-none-any.whl
  • Upload date:
  • Size: 221.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.5 Darwin/23.5.0

File hashes

Hashes for sungen-2024.9.14-py3-none-any.whl
Algorithm Hash digest
SHA256 14f259bba08a6ae6e41b60f8bcd79d52a0cda4dd0803f265b897797fdca3d388
MD5 88c3914bae2244117cfa263fbaf5d9d4
BLAKE2b-256 ade1a227af3a816f2239fc67e53de720f07c2c9d4e3405e943b5e62f28e3cd1f

See more details on using hashes here.

Supported by

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