bliss-mosca 2.0.2__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.
@@ -0,0 +1,112 @@
1
+ pixi.lock
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ *.py[cod]
6
+ *$py.class
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # Ignore any hidden files from the project root
12
+ /.*
13
+ !.gitlab-ci.yml
14
+
15
+ conda-bld/
16
+
17
+ # Distribution / packaging
18
+ .Python
19
+ env/
20
+ build/
21
+ develop-eggs/
22
+ dist/
23
+ downloads/
24
+ eggs/
25
+ .eggs/
26
+ lib/
27
+ lib64/
28
+ parts/
29
+ sdist/
30
+ var/
31
+ wheels/
32
+ *.egg-info/
33
+ .installed.cfg
34
+ *.egg
35
+
36
+ # PyInstaller
37
+ # Usually these files are written by a python script from a template
38
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
39
+ *.manifest
40
+ *.spec
41
+
42
+ # Installer logs
43
+ pip-log.txt
44
+ pip-delete-this-directory.txt
45
+
46
+ # Unit test / coverage reports
47
+ htmlcov*/
48
+ .tox/
49
+ .coverage
50
+ .coverage.*
51
+ .cache
52
+ nosetests.xml
53
+ coverage.xml
54
+ report.xml
55
+ *.cover
56
+ .hypothesis/
57
+
58
+ # Translations
59
+ *.mo
60
+ *.pot
61
+
62
+ # Django stuff:
63
+ *.log
64
+ local_settings.py
65
+
66
+ # Flask stuff:
67
+ instance/
68
+ .webassets-cache
69
+
70
+ # Scrapy stuff:
71
+ .scrapy
72
+
73
+ # Sphinx documentation
74
+ docs/_build/
75
+
76
+ # PyBuilder
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # pyenv
83
+ .python-version
84
+
85
+ # celery beat schedule file
86
+ celerybeat-schedule
87
+
88
+ # SageMath parsed files
89
+ *.sage.py
90
+
91
+ # dotenv
92
+ .env
93
+
94
+ # virtualenv
95
+ .venv
96
+ venv/
97
+ ENV/
98
+
99
+ # Spyder project settings
100
+ .spyderproject
101
+ .spyproject
102
+
103
+ # Rope project settings
104
+ .ropeproject
105
+
106
+ # mkdocs documentation
107
+ doc/site/
108
+
109
+ # mypy
110
+ .mypy_cache/
111
+
112
+ *.mprg
@@ -0,0 +1,8 @@
1
+ Metadata-Version: 2.5
2
+ Name: bliss-mosca
3
+ Version: 2.0.2
4
+ Requires-Python: <3.13,>=3.10
5
+ Requires-Dist: blissdata-mosca
6
+ Requires-Dist: mosca-client
7
+ Requires-Dist: numexpr
8
+ Requires-Dist: numpy
@@ -0,0 +1,5 @@
1
+ Bliss Mosca
2
+ ===========
3
+
4
+ Bliss integration (counter controllers, calc counters, acquisition chain)
5
+ for MOSCA MCA detectors.
@@ -0,0 +1,28 @@
1
+ [project]
2
+ name = "bliss-mosca"
3
+ requires-python = ">=3.10,<3.13"
4
+ version = "2.0.2"
5
+
6
+ dependencies = [
7
+ "numpy",
8
+ "numexpr",
9
+ "mosca_client",
10
+ "blissdata_mosca"
11
+ ]
12
+
13
+ [build-system]
14
+ build-backend = "hatchling.build"
15
+ requires = ["hatchling"]
16
+
17
+ [tool.pixi.package]
18
+ name = "bliss-mosca"
19
+ version = { workspace = true }
20
+
21
+ [tool.pixi.package.build]
22
+ backend = { name = "pixi-build-python", version = "0.*" }
23
+
24
+ [tool.pixi.package.host-dependencies]
25
+ hatchling = "==1.26.3"
26
+
27
+ [tool.pixi.pypi-dependencies]
28
+ bliss_mosca = { path = ".", editable = true }
@@ -0,0 +1,9 @@
1
+ try:
2
+ import bliss
3
+ except ImportError:
4
+ print("Failed to import BLISS.")
5
+ print("You can only use the tango client.")
6
+ else:
7
+ from .base import McaController as Mosca
8
+
9
+ from mosca_client.tango import rois