afterpython 0.0.1.dev2__py3-none-any.whl → 0.1.0.dev4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- afterpython/.pre-commit-config.yaml +48 -0
- afterpython/__init__.py +13 -0
- afterpython/_io/toml.py +103 -0
- afterpython/_io/yaml.py +26 -0
- afterpython/_paths.py +39 -0
- afterpython/_typing.py +5 -0
- afterpython/builders/__init__.py +8 -0
- afterpython/builders/metadata.py +46 -0
- afterpython/builders/molab.py +99 -0
- afterpython/cli/__init__.py +4 -0
- afterpython/cli/commands/build.py +187 -0
- afterpython/cli/commands/bump.py +88 -0
- afterpython/cli/commands/check.py +36 -0
- afterpython/cli/commands/clean.py +84 -0
- afterpython/cli/commands/commit.py +34 -0
- afterpython/cli/commands/commitizen.py +32 -0
- afterpython/cli/commands/dev.py +146 -0
- afterpython/cli/commands/format.py +28 -0
- afterpython/cli/commands/init.py +98 -0
- afterpython/cli/commands/install.py +22 -0
- afterpython/cli/commands/pre_commit.py +66 -0
- afterpython/cli/commands/preview.py +22 -0
- afterpython/cli/commands/release.py +67 -0
- afterpython/cli/commands/start.py +140 -0
- afterpython/cli/commands/sync.py +108 -0
- afterpython/cli/commands/update.py +153 -0
- afterpython/cli/main.py +71 -0
- afterpython/const.py +5 -0
- afterpython/cz.toml +27 -0
- afterpython/main.py +25 -0
- afterpython/pcu.py +164 -0
- afterpython/templates/deploy-workflow-template.yml +71 -0
- afterpython/templates/release-workflow-template.yml +56 -0
- afterpython/templates/ruff-template.toml +32 -0
- afterpython/tools/_afterpython.py +65 -0
- afterpython/tools/_git.py +111 -0
- afterpython/tools/commitizen.py +53 -0
- afterpython/tools/github_actions.py +78 -0
- afterpython/tools/myst.py +164 -0
- afterpython/tools/pre_commit.py +62 -0
- afterpython/tools/pyproject.py +72 -0
- afterpython/utils.py +215 -0
- afterpython/version.py +39 -0
- afterpython-0.1.0.dev4.dist-info/METADATA +105 -0
- afterpython-0.1.0.dev4.dist-info/RECORD +47 -0
- afterpython-0.1.0.dev4.dist-info/WHEEL +4 -0
- afterpython-0.1.0.dev4.dist-info/entry_points.txt +4 -0
- afterpython/README.py +0 -158
- afterpython/images/favicon.ico +0 -0
- afterpython/images/logo-trace.svg +0 -3
- afterpython/images/logo.png +0 -0
- afterpython/images/logo.svg +0 -2
- afterpython-0.0.1.dev2.dist-info/LICENSE +0 -201
- afterpython-0.0.1.dev2.dist-info/METADATA +0 -20
- afterpython-0.0.1.dev2.dist-info/RECORD +0 -9
- afterpython-0.0.1.dev2.dist-info/WHEEL +0 -4
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
afterpython/.pre-commit-config.yaml,sha256=7mpSRHaFcG2M6SOY-5Sbs9WxN8UISnZ2g0NwCGsLNCA,915
|
|
2
|
+
afterpython/__init__.py,sha256=aNochs72gU2NR1cBzIkk3NxSsdJ7ceHluI5gdYwaFpI,289
|
|
3
|
+
afterpython/_io/toml.py,sha256=nrx0CFPONgmkz5WDCSMyr4caic6nzu0uCd33qOmhhF0,3408
|
|
4
|
+
afterpython/_io/yaml.py,sha256=raksve_gaIFJim8lQrq-kQHkRjTloed7CT2FY0oUJSg,654
|
|
5
|
+
afterpython/_paths.py,sha256=1NrPQ4erjA_rIvDggx7QRY4_01zyU-yht9s95Q-4YgM,1584
|
|
6
|
+
afterpython/_typing.py,sha256=kmxBRbhft85C8Ycm5BFBP258Jozrw9tsl7KHOVPcF_o,146
|
|
7
|
+
afterpython/builders/__init__.py,sha256=MOv3spIh-ABwyUtvQAHhPZ2horWb0D93WNmOPNAzKYo,215
|
|
8
|
+
afterpython/builders/metadata.py,sha256=IL-fe3GJYbAaqtMvw5HhpZJ7O57h5GX2GJtKKdWVab8,1275
|
|
9
|
+
afterpython/builders/molab.py,sha256=Qji8piWJB1tbzhgtld0pQWIsUA7d7RsGCfnoLVKd5EA,3714
|
|
10
|
+
afterpython/cli/__init__.py,sha256=1vLZylRMnGaV7cJ-kHO96dChp33_P4fBIJ_Vi-yyZg4,85
|
|
11
|
+
afterpython/cli/commands/build.py,sha256=RWO-4s8V0Ubdm21royqB2zDoZA1QfeLr-0YZQqAKKjc,6444
|
|
12
|
+
afterpython/cli/commands/bump.py,sha256=Wg-q3UQIkIRGT3umZCUBPpwIQTAHwQZVs1yHSZhmzKE,3088
|
|
13
|
+
afterpython/cli/commands/check.py,sha256=cLP4Vle3ENQHCXBv1okDlWK-L1XK-fv80m66xW3LQkg,1097
|
|
14
|
+
afterpython/cli/commands/clean.py,sha256=dCEkkWOTn93758wGTrWJG9V6c-lv2Z59CYfoP3i3rJE,2531
|
|
15
|
+
afterpython/cli/commands/commit.py,sha256=yRLOBs6JetZSGkFy9_uLzgR8yAX9djeUF291gabtuUo,880
|
|
16
|
+
afterpython/cli/commands/commitizen.py,sha256=naI8j4pfXIMsiOLmPMeZTGh831I3665_1_Sbn7yoKyE,811
|
|
17
|
+
afterpython/cli/commands/dev.py,sha256=QJmV9sARdxXTMX6oedeoJg3QAr7PYC0n3gcFkppd1X0,5106
|
|
18
|
+
afterpython/cli/commands/format.py,sha256=cXvuc-6XwULM1VJjS2B2bJBvnV1TVHFl1CeSs0SYQ24,738
|
|
19
|
+
afterpython/cli/commands/init.py,sha256=Sc0B-Gv1bpYHzD8hYoVTXY2QsOV36kWcKH5vgHBmp1g,2987
|
|
20
|
+
afterpython/cli/commands/install.py,sha256=wgH9DEuN7hsA6BslNJASqOBn4VHJrYHBvowXDHi4smE,573
|
|
21
|
+
afterpython/cli/commands/pre_commit.py,sha256=DdmbkcZgJ7QArAY1y5vODYZmHUXWEIuXRyp69AS-pn0,1981
|
|
22
|
+
afterpython/cli/commands/preview.py,sha256=EbuB-dFcgonmqumTb2aHlLpXRiXkGE4DI3ddJdHwcaM,619
|
|
23
|
+
afterpython/cli/commands/release.py,sha256=6SDEnPtuCL0_XUqWUlvRSKxAv011QqOD0kc5pKu7378,2479
|
|
24
|
+
afterpython/cli/commands/start.py,sha256=_ikrxPErYSGYtn8MAlbWD0CDEhYdoKvZ9e7XvrUZfog,3932
|
|
25
|
+
afterpython/cli/commands/sync.py,sha256=Cy9M52YmEGOZkhI8tX8RgM8SNad7q_LRlaNrkFEUYfM,4057
|
|
26
|
+
afterpython/cli/commands/update.py,sha256=f6dzoJIiEod7j44dgnaFe-v7INVdUbopVoWPxv7-Mpo,5491
|
|
27
|
+
afterpython/cli/main.py,sha256=GMcP7bmOA1glKGPsCuOXcd-9hv2k3BGkk_ofdo8oatw,2660
|
|
28
|
+
afterpython/const.py,sha256=lNmmyObrjSxxMkVpIsEqtd9Nms_ndrW_omIP79BWvPc,159
|
|
29
|
+
afterpython/cz.toml,sha256=JlenGROat8jvxvqRH6KluDs6f7w0JAy8Skd3ak7sGLY,1506
|
|
30
|
+
afterpython/main.py,sha256=w0z6mTib3u4p2HxMrk-tIJlZtur7uRaqsbE0ewlYlSs,490
|
|
31
|
+
afterpython/pcu.py,sha256=RWgPcdAFyNBVhWbQPuL1seji9uyT8Pqz-zE6jCf_Qb8,6091
|
|
32
|
+
afterpython/templates/deploy-workflow-template.yml,sha256=mYshdvVCz2COFKBkUoHApXng45ZUIOPeg5O9VzkroXg,1928
|
|
33
|
+
afterpython/templates/release-workflow-template.yml,sha256=DpuFLo3_43rqwBjDf3XrWbYJNRdlhy7-wJFL_TxdRNE,1606
|
|
34
|
+
afterpython/templates/ruff-template.toml,sha256=_yTtZ0YPsJiCxy66ZDfYaStTJ9aXXW-JXy-KW6l2bBE,1010
|
|
35
|
+
afterpython/tools/_afterpython.py,sha256=W88GhtQADB09DV4A24GOYBeYrHsnVVzllLdWFiKgS1A,1904
|
|
36
|
+
afterpython/tools/_git.py,sha256=pOcbP_hb6db3qRlbB4Hlp7MkShkTmUefnIBU2kqoq4I,3211
|
|
37
|
+
afterpython/tools/commitizen.py,sha256=9aGXsO4tTyDs3s8qS_fiskdSabHqc9XjHwePThybJU0,1469
|
|
38
|
+
afterpython/tools/github_actions.py,sha256=M3uGLJKOCml1fQBc8W2lkZWsR5p-0UVUolFWvqf5mDo,2866
|
|
39
|
+
afterpython/tools/myst.py,sha256=m-1W_Tv3VrP6GQIoRaCJZuiy3AuedJ42UV7jHcrg56c,6238
|
|
40
|
+
afterpython/tools/pre_commit.py,sha256=stXUQfR0A6nPMCSuuKO-Icjc5F2z9VsZu2mKkIW1vWI,2193
|
|
41
|
+
afterpython/tools/pyproject.py,sha256=YwJJAB3lIqYK9wt8UtL4dfCli9UN7uzi3e-vtycB0HE,2325
|
|
42
|
+
afterpython/utils.py,sha256=7r4jsxn-Rr2gvCh7MJqxVIjzZH7Jnjt1z_sl95cFaEk,6831
|
|
43
|
+
afterpython/version.py,sha256=hihRV1S-gc1m46OaXD32ikkEkqzs-Gtq7AcAqOQV-wY,1603
|
|
44
|
+
afterpython-0.1.0.dev4.dist-info/WHEEL,sha256=YUH1mBqsx8Dh2cQG2rlcuRYUhJddG9iClegy4IgnHik,79
|
|
45
|
+
afterpython-0.1.0.dev4.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
|
|
46
|
+
afterpython-0.1.0.dev4.dist-info/METADATA,sha256=WZLaLUbAfqmrAYYfyGMN6kFvOzmZwmhV-brUIwWwUHo,4740
|
|
47
|
+
afterpython-0.1.0.dev4.dist-info/RECORD,,
|
afterpython/README.py
DELETED
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import marimo
|
|
2
|
-
|
|
3
|
-
__generated_with = "0.13.15"
|
|
4
|
-
app = marimo.App()
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@app.cell
|
|
8
|
-
def _():
|
|
9
|
-
import marimo as mo
|
|
10
|
-
center = lambda text: mo.center(mo.md(text))
|
|
11
|
-
return center, mo
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
@app.cell
|
|
15
|
-
def _(center):
|
|
16
|
-
center("# What is `afterpython`?")
|
|
17
|
-
return
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
@app.cell
|
|
21
|
-
def _(mo):
|
|
22
|
-
mo.Html(f'''
|
|
23
|
-
<p style="font-size: 24px; text-align: center;">
|
|
24
|
-
Why AfterPython?
|
|
25
|
-
- It is a simple and easy-to-use tool for creating websites.
|
|
26
|
-
- It is designed to be used by Python developers.
|
|
27
|
-
- It is open source and free to use.
|
|
28
|
-
</p>
|
|
29
|
-
''')
|
|
30
|
-
return
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
@app.cell
|
|
34
|
-
def _(center, mo):
|
|
35
|
-
mo.callout(
|
|
36
|
-
center("## *`Every Python project deserves a standalone website, not just a README.md`*"),
|
|
37
|
-
kind="info"
|
|
38
|
-
)
|
|
39
|
-
return
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
@app.cell
|
|
43
|
-
def _(center):
|
|
44
|
-
center("# Why use `afterpython`?")
|
|
45
|
-
return
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
@app.cell
|
|
49
|
-
def _(mo):
|
|
50
|
-
mo.Html(f'''
|
|
51
|
-
<p style="font-size: 24px; text-align: center; margin-bottom: 2.8rem;">
|
|
52
|
-
Why AfterPython?
|
|
53
|
-
- It is a simple and easy-to-use tool for creating websites.
|
|
54
|
-
- It is designed to be used by Python developers.
|
|
55
|
-
- It is open source and free to use.
|
|
56
|
-
<hr>
|
|
57
|
-
</p>
|
|
58
|
-
''')
|
|
59
|
-
return
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
@app.cell
|
|
63
|
-
def _(center):
|
|
64
|
-
center(
|
|
65
|
-
r"""
|
|
66
|
-
# Features
|
|
67
|
-
- one
|
|
68
|
-
- two
|
|
69
|
-
- three
|
|
70
|
-
"""
|
|
71
|
-
).style({"margin": "2.8rem"})
|
|
72
|
-
return
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
@app.cell
|
|
76
|
-
def _(center):
|
|
77
|
-
center("""
|
|
78
|
-
# Steps to create a website
|
|
79
|
-
- one
|
|
80
|
-
- two
|
|
81
|
-
- three
|
|
82
|
-
"""
|
|
83
|
-
).style({"margin-bottom": "2.8rem"})
|
|
84
|
-
return
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
@app.cell
|
|
88
|
-
def _(center):
|
|
89
|
-
center("# Examples using `afterpython`:").style({"padding-bottom": "1.2rem"})
|
|
90
|
-
return
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
@app.cell
|
|
94
|
-
def _(mo):
|
|
95
|
-
mo.carousel([
|
|
96
|
-
mo.md("### Example 1"),
|
|
97
|
-
mo.md("### Example 2"),
|
|
98
|
-
# mo.md(""),
|
|
99
|
-
mo.md("### Example 3"),
|
|
100
|
-
]).style({"margin-bottom": "2.8rem"})
|
|
101
|
-
return
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
@app.cell
|
|
105
|
-
def _(center):
|
|
106
|
-
center("# Community")
|
|
107
|
-
return
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
@app.cell
|
|
111
|
-
def _(mo):
|
|
112
|
-
active_users = mo.stat(
|
|
113
|
-
value="1.2M",
|
|
114
|
-
label="Active Users",
|
|
115
|
-
caption="12k from last month",
|
|
116
|
-
direction="increase"
|
|
117
|
-
)
|
|
118
|
-
|
|
119
|
-
revenue = mo.stat(
|
|
120
|
-
value="$4.5M",
|
|
121
|
-
label="Revenue",
|
|
122
|
-
caption="8k from last quarter",
|
|
123
|
-
direction="increase"
|
|
124
|
-
)
|
|
125
|
-
|
|
126
|
-
conversion = mo.stat(
|
|
127
|
-
value="3.8",
|
|
128
|
-
label="Conversion Rate",
|
|
129
|
-
caption="0.5 from last week",
|
|
130
|
-
direction="decrease",
|
|
131
|
-
)
|
|
132
|
-
|
|
133
|
-
mo.hstack([active_users, revenue, conversion], justify="center", gap="2rem")
|
|
134
|
-
return
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
@app.cell
|
|
138
|
-
def _(center):
|
|
139
|
-
center("# FAQs").style({"margin-top": "2.8rem"})
|
|
140
|
-
return
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
@app.cell
|
|
144
|
-
def _(mo):
|
|
145
|
-
mo.accordion(
|
|
146
|
-
{
|
|
147
|
-
"Question 1": mo.md("Nothing!"),
|
|
148
|
-
"Question 2": mo.md("Nothing!"),
|
|
149
|
-
"Question 3": mo.md(
|
|
150
|
-
""
|
|
151
|
-
),
|
|
152
|
-
}
|
|
153
|
-
)
|
|
154
|
-
return
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
if __name__ == "__main__":
|
|
158
|
-
app.run()
|
afterpython/images/favicon.ico
DELETED
|
Binary file
|