hqstage 0.0.0__tar.gz
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.
- hqstage-0.0.0/PKG-INFO +8 -0
- hqstage-0.0.0/README.md +3 -0
- hqstage-0.0.0/pyproject.toml +116 -0
- hqstage-0.0.0/setup.cfg +4 -0
- hqstage-0.0.0/setup.py +46 -0
- hqstage-0.0.0/src/hqstage/__init__.py +8 -0
- hqstage-0.0.0/src/hqstage/cli.py +28 -0
- hqstage-0.0.0/src/hqstage.egg-info/PKG-INFO +8 -0
- hqstage-0.0.0/src/hqstage.egg-info/SOURCES.txt +10 -0
- hqstage-0.0.0/src/hqstage.egg-info/dependency_links.txt +1 -0
- hqstage-0.0.0/src/hqstage.egg-info/entry_points.txt +2 -0
- hqstage-0.0.0/src/hqstage.egg-info/top_level.txt +1 -0
hqstage-0.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: hqstage
|
|
3
|
+
Version: 0.0.0
|
|
4
|
+
Summary: Dummy package for hqstage - For the real package please refer to https://docs.cloud.quantumsimulations.de/installation.html
|
|
5
|
+
Author-email: HQS Quantum Simulations GmbH <info@quantumsimulations.de>
|
|
6
|
+
Maintainer-email: Sebastian Lehmann <sebastian.lehmann@quantumsimulations.de>
|
|
7
|
+
Requires-Python: >=3.9
|
|
8
|
+
Description-Content-Type: text/markdown
|
hqstage-0.0.0/README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "hqstage"
|
|
3
|
+
license = {file="LICENSE"}
|
|
4
|
+
authors = [
|
|
5
|
+
{name="HQS Quantum Simulations GmbH", email="info@quantumsimulations.de"}
|
|
6
|
+
]
|
|
7
|
+
maintainers = [
|
|
8
|
+
{name="Sebastian Lehmann", email="sebastian.lehmann@quantumsimulations.de"}
|
|
9
|
+
]
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
dynamic = ["version"]
|
|
12
|
+
dependencies = []
|
|
13
|
+
description = "Dummy package for hqstage - For the real package please refer to https://docs.cloud.quantumsimulations.de/installation.html"
|
|
14
|
+
readme = "README_pypi_org.md"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
[build-system]
|
|
18
|
+
# requires = ["setuptools", "setuptools-scm", "toml", "wheel", "nuitka"]
|
|
19
|
+
# build-backend = "nuitka.distutils.Build"
|
|
20
|
+
requires = ["setuptools", "setuptools-scm"]
|
|
21
|
+
build-backend = "setuptools.build_meta"
|
|
22
|
+
|
|
23
|
+
[tool.setuptools_scm]
|
|
24
|
+
version_scheme = "python-simplified-semver"
|
|
25
|
+
|
|
26
|
+
[project.scripts]
|
|
27
|
+
hqstage = "hqstage.cli:main"
|
|
28
|
+
|
|
29
|
+
[tool.mypy]
|
|
30
|
+
ignore_missing_imports = true
|
|
31
|
+
pretty = true
|
|
32
|
+
follow_imports = "silent"
|
|
33
|
+
|
|
34
|
+
[tool.bandit]
|
|
35
|
+
skips = ["B404", "B603", "B606", "B113"]
|
|
36
|
+
|
|
37
|
+
[tool.black]
|
|
38
|
+
line-length = 99
|
|
39
|
+
target-version = ["py39", "py310", "py311", "py312"]
|
|
40
|
+
|
|
41
|
+
[tool.coverage.run]
|
|
42
|
+
branch = true
|
|
43
|
+
omit = ["tests/*", "*test*.py"]
|
|
44
|
+
source=["hqstage"]
|
|
45
|
+
|
|
46
|
+
[tool.coverage.paths]
|
|
47
|
+
source = ["src", "**/site-packages"]
|
|
48
|
+
|
|
49
|
+
[tool.ruff]
|
|
50
|
+
line-length = 99 # same as black
|
|
51
|
+
target-version = "py311"
|
|
52
|
+
show-fixes = true
|
|
53
|
+
output-format = "full"
|
|
54
|
+
# activate the following checks
|
|
55
|
+
[tool.ruff.lint]
|
|
56
|
+
select = [
|
|
57
|
+
"A", # builtins
|
|
58
|
+
"ANN", # annotations
|
|
59
|
+
"ARG", # unused arguments
|
|
60
|
+
"B", # bugbear
|
|
61
|
+
"C", # comprehensions
|
|
62
|
+
"C90", # mccabe complexity
|
|
63
|
+
"D", # pydocstyle
|
|
64
|
+
"E", # pycodestyle
|
|
65
|
+
"ERA", # remove commented out code
|
|
66
|
+
"F", # pyflakes
|
|
67
|
+
"ISC", # implicit string concatenation
|
|
68
|
+
"NPY", # numpy
|
|
69
|
+
"PL", # pylint
|
|
70
|
+
"RUF", # ruff
|
|
71
|
+
"S", # bandit
|
|
72
|
+
"TCH", # type checking
|
|
73
|
+
"W", # Warnings
|
|
74
|
+
]
|
|
75
|
+
# ignore specific violations
|
|
76
|
+
ignore = [
|
|
77
|
+
"D202", # No blank lines allowed after function docstring
|
|
78
|
+
"D203", # 1 blank line required before class docstring
|
|
79
|
+
"ANN002",
|
|
80
|
+
"ANN003",
|
|
81
|
+
"ANN101",
|
|
82
|
+
"ANN102",
|
|
83
|
+
"ANN401",
|
|
84
|
+
"PLR",
|
|
85
|
+
"S301",
|
|
86
|
+
# "S403", # not implemented in ruff (yet?!)
|
|
87
|
+
# "S404", # not implemented in ruff (yet?!)
|
|
88
|
+
]
|
|
89
|
+
# Allow autofix for all enabled rules (when `--fix`) is provided.
|
|
90
|
+
fixable = [
|
|
91
|
+
"A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W",
|
|
92
|
+
"ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT",
|
|
93
|
+
"ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI",
|
|
94
|
+
"RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"
|
|
95
|
+
]
|
|
96
|
+
unfixable = []
|
|
97
|
+
# exclude the following patterns from linting
|
|
98
|
+
exclude = [
|
|
99
|
+
".git",
|
|
100
|
+
"__pycache__",
|
|
101
|
+
"__version__.py",
|
|
102
|
+
"doc/conf.py",
|
|
103
|
+
"old",
|
|
104
|
+
"build",
|
|
105
|
+
"dist",
|
|
106
|
+
"test_*"
|
|
107
|
+
]
|
|
108
|
+
|
|
109
|
+
[tool.ruff.lint.mccabe]
|
|
110
|
+
max-complexity = 20 # 5 higher than sonarqube (... but sonarqube uses different measure anyways...)
|
|
111
|
+
|
|
112
|
+
[tool.ruff.lint.pydocstyle]
|
|
113
|
+
convention = "google"
|
|
114
|
+
|
|
115
|
+
[tool.ruff.lint.per-file-ignores]
|
|
116
|
+
"__init__.py" = ["F401"]
|
hqstage-0.0.0/setup.cfg
ADDED
hqstage-0.0.0/setup.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
###
|
|
2
|
+
# Created Date: 2024-04-29
|
|
3
|
+
# Author: Sebastian Lehmann
|
|
4
|
+
# -----
|
|
5
|
+
# Copyright © 2024 HQS Quantum Simulations GmbH. All Rights Reserved.
|
|
6
|
+
###
|
|
7
|
+
|
|
8
|
+
"""Installation of hqstage stub."""
|
|
9
|
+
|
|
10
|
+
from pathlib import Path
|
|
11
|
+
from setuptools import Command, setup
|
|
12
|
+
from setuptools.command.build import build
|
|
13
|
+
import os
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class CustomCommand(Command):
|
|
17
|
+
"""A custom command to let installation fail with a message."""
|
|
18
|
+
|
|
19
|
+
def initialize_options(self) -> None: ...
|
|
20
|
+
|
|
21
|
+
def finalize_options(self) -> None: ...
|
|
22
|
+
|
|
23
|
+
def run(self) -> None:
|
|
24
|
+
if os.getenv("HQSTAGE_STUB_INSTALL_NO_FAIL") is None:
|
|
25
|
+
raise RuntimeError(
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
--------------------------------------------------------------
|
|
29
|
+
This package is a stub. Currently, hqstage can NOT be
|
|
30
|
+
installed via pypi.org.
|
|
31
|
+
|
|
32
|
+
For instructions on how to install and get started
|
|
33
|
+
using the real hqstage package, please visit
|
|
34
|
+
https://docs.cloud.quantumsimulations.de/.
|
|
35
|
+
|
|
36
|
+
Thank you very much!
|
|
37
|
+
--------------------------------------------------------------
|
|
38
|
+
"""
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class CustomBuild(build):
|
|
43
|
+
sub_commands = [("build_custom", None)] + build.sub_commands
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
setup(cmdclass={"build": CustomBuild, "build_custom": CustomCommand})
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
###
|
|
2
|
+
# Created Date: 2024-04-29
|
|
3
|
+
# Author: Sebastian Lehmann
|
|
4
|
+
# -----
|
|
5
|
+
# Copyright © 2024 HQS Quantum Simulations GmbH. All Rights Reserved.
|
|
6
|
+
###
|
|
7
|
+
|
|
8
|
+
"""Stub of the HQStage cli."""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def main() -> None:
|
|
12
|
+
"""Main."""
|
|
13
|
+
print(
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
--------------------------------------------------------------
|
|
17
|
+
This package is a stub. Currently, hqstage can NOT be
|
|
18
|
+
installed via pypi.org.
|
|
19
|
+
|
|
20
|
+
For instructions on how to install and get started
|
|
21
|
+
using the real hqstage package, please visit
|
|
22
|
+
https://docs.cloud.quantumsimulations.de/.
|
|
23
|
+
|
|
24
|
+
Thank you very much!
|
|
25
|
+
--------------------------------------------------------------
|
|
26
|
+
|
|
27
|
+
"""
|
|
28
|
+
)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: hqstage
|
|
3
|
+
Version: 0.0.0
|
|
4
|
+
Summary: Dummy package for hqstage - For the real package please refer to https://docs.cloud.quantumsimulations.de/installation.html
|
|
5
|
+
Author-email: HQS Quantum Simulations GmbH <info@quantumsimulations.de>
|
|
6
|
+
Maintainer-email: Sebastian Lehmann <sebastian.lehmann@quantumsimulations.de>
|
|
7
|
+
Requires-Python: >=3.9
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
setup.py
|
|
4
|
+
src/hqstage/__init__.py
|
|
5
|
+
src/hqstage/cli.py
|
|
6
|
+
src/hqstage.egg-info/PKG-INFO
|
|
7
|
+
src/hqstage.egg-info/SOURCES.txt
|
|
8
|
+
src/hqstage.egg-info/dependency_links.txt
|
|
9
|
+
src/hqstage.egg-info/entry_points.txt
|
|
10
|
+
src/hqstage.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
hqstage
|