Skip to content

Commit f58ee9d

Browse files
committed
add pdm and pyflow (closes #3)
1 parent f915a11 commit f58ee9d

File tree

3 files changed

+46
-3
lines changed

3 files changed

+46
-3
lines changed

backend/githubData.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ const tools = [
1515
name: "flit",
1616
owner: "takluyver",
1717
},
18+
{
19+
name: "pyflow",
20+
owner: "David-OConnor",
21+
},
22+
{
23+
name: "pdm",
24+
owner: "frontming",
25+
},
1826
{
1927
name: "python-build",
2028
owner: "FFY00",

frontend/src/Types.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ export type Feature =
3939
| 'standard library'
4040
| 'dependency resolver'
4141
| 'manual virtual environment creation'
42-
| 'virtual environment management';
42+
| 'virtual environment management'
43+
| 'PEP-518'
44+
| 'PEP-517';
4345

4446
// TODO find out how to programatically link this to the type
4547
// @ts-ignore
@@ -55,4 +57,6 @@ export const features: Feature[] = [
5557
'dependency resolver',
5658
'manual virtual environment creation',
5759
'virtual environment management',
60+
'PEP-517',
61+
'PEP-518',
5862
].sort();

frontend/src/initialToolData.tsx

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Tool } from './Types';
2-
export const initialToolData: Tool[] = [
2+
const _initialToolData: Tool[] = [
33
{
44
features: ['install cli apps', 'install libraries'],
55
name: 'pip',
@@ -17,7 +17,7 @@ export const initialToolData: Tool[] = [
1717
dependsOn: ['pip', 'venv'],
1818
},
1919
{
20-
features: ['build packages', 'publish packages'],
20+
features: ['build packages', 'publish packages', 'PEP-517', 'PEP-518'],
2121
name: 'flit',
2222
toolDescription:
2323
'Flit is a simple way to put pure Python packages and modules on PyPI.',
@@ -32,6 +32,33 @@ export const initialToolData: Tool[] = [
3232
useCases: [],
3333
dependsOn: [],
3434
},
35+
{
36+
features: [
37+
'build packages',
38+
'PEP-517',
39+
'dependency resolver',
40+
'install cli apps',
41+
],
42+
name: 'pdm',
43+
toolDescription:
44+
"PDM is meant to be a next generation Python package management tool. It was originally built for personal use. If you feel you are going well with Pipenv or Poetry and don't want to introduce another package manager, just stick to it. But if you are missing something that is not present in those tools, you can probably find some goodness in pdm.",
45+
useCases: [],
46+
dependsOn: [],
47+
},
48+
{
49+
features: [
50+
'virtual environment management',
51+
'build packages',
52+
'publish packages',
53+
'dependency resolver',
54+
'PEP-517',
55+
],
56+
name: 'pyflow',
57+
toolDescription:
58+
"Pyflow streamlines working with Python projects and files. It's an easy-to-use CLI app with a minimalist API. Never worry about having the right version of Python or dependencies.",
59+
useCases: [],
60+
dependsOn: [],
61+
},
3562
{
3663
features: ['dependency resolver'],
3764
name: 'pip-tools',
@@ -137,3 +164,7 @@ export const initialToolData: Tool[] = [
137164
url: 'https://docs.python.org/3/library/venv.html',
138165
},
139166
];
167+
_initialToolData.sort((a, b) => {
168+
return a.name < b.name ? -1 : 1;
169+
});
170+
export const initialToolData = _initialToolData;

0 commit comments

Comments
 (0)