Skip to main content

A command-line tool for Kotlin project management

Project description

Kotlin creator Tool

A command-line interface tool for Kotlin project management, providing templates for Clean Architecture and Flow-based projects.

Installation

You can install the package using pip:

pip install kotlin-creator

Or with uv:

uv pip install kotlin-creator

Usage

After installation, you can use the CLI tool with the following commands:

Create a New Project

To create a new Kotlin Clean Architecture project:

kotlin create kotlin <project_name>

To create a new Kotlin Flow-based project:

kotlin create flow <project_name>

Replace <project_name> with the desired name for your project. This command will generate a project structure that includes:

  • Root Files: Gradle configuration files including build scripts
  • App Structure: Standard Android application structure with src, res, and test directories
  • Architecture Components: Clean architecture layers organized into data, domain, and UI packages

Check Version

To display the version of the Kotlin CLI tool:

kotlin version

Project Structures

Clean Architecture

The Clean Architecture project includes:

  • Data Layer: Local and remote data sources, repositories
  • Domain Layer: Use cases and business models
  • UI Layer: Activities, fragments, adapters

Flow-based Architecture

The Flow-based project extends the Clean Architecture with:

  • Kotlin Flow Components: Data flow providers and flow-based use cases
  • State Management: UI state handling with Loading/Success/Error patterns
  • Coroutines Integration: Advanced asynchronous programming with Coroutines

Features

  • Create new Kotlin projects with a single command
  • Choose between different architectural templates
  • Ready-to-use project structure following best practices
  • Gradle configuration with common Android dependencies
  • Extensible architecture for modern Android development

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

kotlin_creator-0.1.2.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

kotlin_creator-0.1.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file kotlin_creator-0.1.2.tar.gz.

File metadata

  • Download URL: kotlin_creator-0.1.2.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for kotlin_creator-0.1.2.tar.gz
Algorithm Hash digest
SHA256 78b5d24ef40e45cb40c9ff83049f9c47f0139a6c2ee30fc0523682769dc2a9d5
MD5 7110dde8e7fdf49dca1251d9e12b5d38
BLAKE2b-256 bfdc38ad20e406728784b7077b790e59c92424f22b4c3dd7e68943ba225dc36f

See more details on using hashes here.

File details

Details for the file kotlin_creator-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: kotlin_creator-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for kotlin_creator-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f93de209e7e7f1162f7559b11c8745d9570ae89beba94b309768b36ba7c670e
MD5 8f68bff1199c0711480ea000579ea0f1
BLAKE2b-256 e203b9f1e8b8c3d13efd3978d70b9e3b9ae0284e841dccb0ecd282c889181598

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