Registry / devops / projen

projen

JSON →
library0.100.0pypypi✓ verified 86d ago

Projen is a CDK (Cloud Development Kit) for software projects, allowing you to define and manage project configurations (e.g., build scripts, dependencies, CI/CD) using code. Version 0.99.52, with active development and regular releases.

pip install projen
INSTALL
IMPORT
SIG · PROJEN
P
projen
devopspythonv0.100.0
Install
3.9s avg
Import
Disk
40MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.100.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 39.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.9s · import 0.000s · 40MB
40MB installed
● package 40MB
Code
Verified usage

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

Project
from projen import Project
standard top-level import
TypeScriptProject
from projen.typescript import TypeScriptProject
submodule for TypeScript projects
PythonProject
from projen.python import PythonProject
submodule for Python projects

Create and synthesize a basic Projen project.

from projen import Project project = Project( name="my-project", project_type="library", python_executable="python3", ) project.synth()
projen --version
Debug
Known issues
breakingIn projen 0.80+, the `Project` class no longer accepts `name` as a positional argument; it must be a keyword argument.
fix
Use `Project(name="my-project")` instead of `Project("my-project")`.
affects: >=0.80.0
deprecatedThe `TypeScriptProject` option `jest` is deprecated; use `jestOptions` instead.
fix
Replace `jest=True` with `jestOptions=JestOptions(...)`
affects: >=0.70.0
gotchaProjen uses `~=3.9` for Python requirement, which means Python 3.9 exactly. Using Python 3.10+ may cause unexpected issues.
fix
Use Python 3.9 in your environment, or check for compatibility with newer versions.
affects: all
gotchaThe `synth()` method is required to generate project files; forgetting to call it results in an empty directory.
fix
Always call `project.synth()` after configuration.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'projen'
Projen not installed in the current Python environment.
fix
Run `pip install projen`
TypeError: Project.__init__() takes 1 positional argument but 2 were given
Passing `name` as a positional argument in projen 0.80+.
fix
Use keyword argument: `Project(name="my-project")`
AttributeError: module 'projen' has no attribute 'TypeScriptProject'
Importing from wrong submodule or using outdated import path.
fix
Use `from projen.typescript import TypeScriptProject`
Upgrade
Version history
0.100.0latest on PyPI · released Jun 19, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources