Added CPL Query

This commit is contained in:
Sven Heidemann 2021-07-25 12:24:58 +02:00
parent d02548e1a8
commit 5c80cf2222
4 changed files with 79 additions and 3 deletions

View File

@ -3,9 +3,8 @@
"DefaultProject": "cpl_cli", "DefaultProject": "cpl_cli",
"Projects": { "Projects": {
"cpl": "src/cpl/cpl.json", "cpl": "src/cpl/cpl.json",
"cpl_cli": "src/cpl_cli/cpl_cli.json" "cpl_cli": "src/cpl_cli/cpl_cli.json",
}, "cpl_query": "src/cpl_query/cpl_query.json"
"Scripts": {
} }
} }
} }

25
src/cpl_query/__init__.py Normal file
View File

@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
"""
cpl_query
~~~~~~~~~~~~~~~~~~~
:copyright: (c)
:license:
"""
__title__ = 'cpl_query'
__author__ = ''
__license__ = ''
__copyright__ = 'Copyright (c) '
__version__ = '0.0.0'
from collections import namedtuple
# imports:
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
version_info = VersionInfo(major='0', minor='0', micro='0')

View File

@ -0,0 +1,43 @@
{
"ProjectSettings": {
"Name": "cpl_query",
"Version": {
"Major": "2021",
"Minor": "10",
"Micro": "3"
},
"Author": "Sven Heidemann",
"AuthorEmail": "sven.heidemann@sh-edraft.de",
"Description": "sh-edraft Common Python library Query",
"LongDescription": "sh-edraft Common Python library Python integrated Queries",
"URL": "https://www.sh-edraft.de",
"CopyrightDate": "2020 - 2021",
"CopyrightName": "sh-edraft.de",
"LicenseName": "MIT",
"LicenseDescription": "MIT, see LICENSE for more details.",
"Dependencies": [
"sh_cpl==2021.4.0.post1"
],
"PythonVersion": ">=3.9.2",
"PythonPath": {
"linux": "../../cpl-env/bin/python3.9"
},
"Classifiers": []
},
"BuildSettings": {
"ProjectType": "library",
"SourcePath": "",
"OutputPath": "../../dist",
"Main": "cpl_query.main",
"EntryPoint": "cpl_query",
"IncludePackageData": false,
"Included": [],
"Excluded": [
"*/__pycache__",
"*/logs",
"*/tests"
],
"PackageData": {},
"ProjectReferences": []
}
}

9
src/cpl_query/main.py Normal file
View File

@ -0,0 +1,9 @@
from cpl.console import Console
def main():
Console.write_line('Hello World')
if __name__ == '__main__':
main()