Registry / devops / spring-initializer

spring-initializer

JSON →
library1.0.3pypypiunverified

Download and extract Spring framework code templates from Spring Initializr. Current version 1.0.3, supports Python >=3.6. Low release cadence.

pip install spring-initializer==1.0.3
INSTALL
IMPORT
SIG · SPRING-INITIALIZER
S
spring-initializer
devopspythonv1.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

create_spring_project
from spring_initializer import create_spring_project
from spring_initializer import create_spring_project

Download and extract a Spring Boot project into ./output/MyApp.

from spring_initializer import create_spring_project create_spring_project( "MyApp", language="java", build="maven", spring_boot_version="3.2.0", group_id="com.example", output_dir="./output" )
Debug
Known issues
gotchaThe `create_spring_project` function requires an internet connection to access Spring Initializr. Without it, the function raises a ConnectionError.
fix
Ensure your environment has outbound HTTPS access to start.spring.io.
affects: all
gotchaAll parameters to `create_spring_project` are positional-only and must be passed in the exact order unless using keyword arguments.
fix
Always use keyword arguments for clarity: create_spring_project(name='MyApp', language='java', ...).
affects: 1.0.0 - 1.0.3
Upgrade
Version history
1.0.3latest on PyPI · released Jul 6, 2025
Audit
Dependencies
requestsrequiredUsed to fetch Spring Initializr metadata and generate projects
Agent activity
3 hits · last 30 days
node
2
Resources
spring-initializer — pip install spring-initializer · libregistry