pyobs-core 2.18.0__tar.gz → 2.19.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.
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/PKG-INFO +1 -1
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/module.py +17 -14
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/telescope/basetelescope.py +11 -8
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/exceptions.py +3 -1
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/time.py +20 -10
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/__init__.py +4 -2
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/vfs.py +94 -33
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyproject.toml +1 -1
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/.gitignore +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/LICENSE +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/README.md +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/application.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/background_task.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/cli/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/cli/_cli.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/cli/pyobs.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/cli/pyobsd.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/cli/pyobsw.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/comm.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/commlogging.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/dummy/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/dummy/dummycomm.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/local/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/local/localcomm.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/local/localnetwork.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/proxy.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/rpc.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/serializer.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/xep_0009/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/xep_0009/binding.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/xep_0009/rpc.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/xep_0009_timeout/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/xep_0009_timeout/rpc.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/xep_0009_timeout/stanza/RPC.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/xep_0009_timeout/stanza/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/xmppclient.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/comm/xmpp/xmppcomm.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/badweather.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/event.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/exposurestatuschanged.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/filterchanged.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/focusfound.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/goodweather.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/log.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/modechanged.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/moduleclosed.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/moduleopened.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/motionstatuschanged.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/move.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/newimage.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/newspectrum.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/offsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/roofclosing.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/roofopened.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/taskfailed.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/taskfinished.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/taskskipped.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/taskstarted.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/events/testevent.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/image.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/meta/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/meta/altazoffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/meta/datapipeline.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/meta/exptime.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/meta/genericoffset.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/meta/onskydistance.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/meta/pixeloffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/meta/radecoffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/meta/skyoffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processor.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/_daobackgroundremover.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/annotation/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/annotation/_pillow.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/annotation/circle.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/annotation/crosshair.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/annotation/text.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/astrometry/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/astrometry/_dotnet_request.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/astrometry/_dotnet_request_builder.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/astrometry/_dotnet_request_logger.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/astrometry/_dotnet_response_saver.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/astrometry/astrometry.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/astrometry/dotnet.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/calibration/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/calibration/_calibration_cache.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/calibration/_ccddata_calibrator.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/calibration/calibration.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/detection/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/detection/_pysep_stats_calculator.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/detection/_source_catalog.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/detection/daophot.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/detection/pysep.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/detection/simpledisk.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/detection/sourcedetection.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/exptime/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/exptime/exptime.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/exptime/star.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/addfitsheaders.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/download.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/flip.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/grayscale.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/httpserver.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/normalize.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/save.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/saveimage.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/smooth.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/image/softbin.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/misc/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/misc/addmask.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/misc/catalogcircularmask.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/misc/circularmask.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/misc/createfilename.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/misc/imagesourcefilter.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/misc/removebackground.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/modules/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/modules/getfitsheaders.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/astrometry.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/brighteststar.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/brighteststar_guiding.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/dummyoffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/dummyskyoffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/fitsheader.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/offsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/pixeloffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/projected.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/offsets/spilled_light.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/photometry/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/photometry/_photometry_calculator.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/photometry/_photutil_aperture_photometry.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/photometry/_sep_aperture_photometry.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/photometry/aperture_photometry.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/photometry/photometry.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/photometry/photutil.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/photometry/pysep.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/stack/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/stack/combinestack.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/stack/mean.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/stack/median.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/stack/sigmaclip.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/stack/sum.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/wcs/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/images/processors/wcs/solarhelioprojective.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IAbortable.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IAcquisition.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IAutoFocus.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IAutoGuiding.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IAutonomous.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IBinning.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/ICalibrate.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/ICamera.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IConfig.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/ICooling.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IData.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IDataPipeline.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IDataSequence.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IDataStack.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IDome.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IExposure.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IExposureTime.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IFilters.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IFitsHeaderAfter.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IFitsHeaderBefore.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IFlatField.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IFocusModel.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IFocuser.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IGain.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IImageFormat.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IImageType.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IMode.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IModule.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IMotion.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IMultiFiber.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IOffsetsAltAz.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IOffsetsRaDec.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IPointingAltAz.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IPointingBody.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IPointingHeliocentricPolar.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IPointingHeliographicStonyhurst.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IPointingHelioprojective.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IPointingOrbitalElements.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IPointingRaDec.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IPointingSeries.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IPushNotifications.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IReady.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IResettable.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IRobotic.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IRoboticScheduler.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IRoof.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IRotation.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IRunnable.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IRunning.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IScriptRunner.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/ISpectrograph.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IStartStop.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IStructuredConfig.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/ISyncTarget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/ITelescope.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/ITemperatures.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/ITrackingMode.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/ITrackingRate.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IVideo.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IWeather.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/IWindow.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/interfaces/interface.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/camerasettings.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/datapipeline.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/datasequence.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/fitsheader.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/fitsnamespace.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/follow.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/motionstatus.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/pipeline.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/waitformotion.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/mixins/weatheraware.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/adaptive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/basecamera.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/basespectrograph.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/basevideo.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/dummycamera.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/dummyspectrograph.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/dummyvideo.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/pipelinecamera.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/camera/videoframes.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/flatfield/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/flatfield/flatfield.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/flatfield/pointing.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/flatfield/scheduler.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/focus/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/focus/dummyautofocus.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/focus/focusmodel.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/focus/focusseries.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/image/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/image/imagewatcher.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/image/imagewriter.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/image/pipeline.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/image/seeing.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/_base.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/_baseguiding.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/acquisition.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/autoguiding.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/dummyacquisition.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/dummyguiding.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/guidingsource.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/guidingstatistics/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/guidingstatistics/guidingstatistics.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/guidingstatistics/pixeloffset.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/guidingstatistics/skyoffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/guidingstatistics/uptime.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/pointing/scienceframeguiding.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/robotic/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/robotic/dummymastermind.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/robotic/dummyscheduler.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/robotic/mastermind.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/robotic/pointing.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/robotic/scheduler.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/robotic/scriptrunner.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/roof/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/roof/basedome.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/roof/baseroof.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/roof/dummyroof.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/telescope/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/telescope/_dummytelescopebase.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/telescope/dummyaltaztelescope.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/telescope/dummyradectelescope.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/telescope/dummysolartelescope.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/test/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/test/standalone.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/dummymode.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/dummystructuredconfig.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/fluentlogger.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/httpfilecache.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/kiosk.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/matrix.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/pushnotifier.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/stellarium.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/telegram.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/utils/trigger.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/weather/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/weather/mockweather.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/weather/weather.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/weather/weather_api.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/modules/weather/weather_state.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/object.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/py.typed +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/instruments.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/observation.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/_executor.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/astroplanscheduler.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/constraints/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/constraints/airmassconstraint.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/constraints/constraint.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/constraints/moonilluminationconstraint.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/constraints/moonseparationconstraint.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/constraints/solarelevationconstraint.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/constraints/timeconstraint.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/dataprovider.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/aftertime.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/beforetime.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/constant.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/follow.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/interval.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/merit.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/pernight.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/random.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/timewindow.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/merits/transit.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/observationarchiveevolution.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/observingperiod.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/ondemandscheduler.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/targets/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/targets/dynamictarget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/targets/heliocentricpolartarget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/targets/helioprojectivetarget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/targets/picker/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/targets/picker/csvpicker.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/targets/picker/picker.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/targets/siderealtarget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/targets/target.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scheduler/taskscheduler.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/calibration/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/calibration/darkbias.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/calibration/pointing.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/calibration/skyflats.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/control/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/control/cases.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/control/conditional.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/control/parallel.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/control/selector.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/control/sequential.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/exceptions.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/imaging/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/imaging/autofocus.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/imaging/imaging.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/imaging/transitimaging.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/script.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/utils/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/utils/callmodule.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/utils/debugtrigger.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/scripts/utils/log.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/filesystem/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/filesystem/observationarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/filesystem/taskarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/_portal.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/_schedulereader.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/_schedulewriter.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/configdb.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/mockobservationarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/observationarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/scripts/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/scripts/autofocus.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/scripts/default.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/scripts/script.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/task.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/taskarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/lco/taskrunner.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/memory/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/memory/observationarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/memory/taskarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/observationarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/portal/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/portal/observationarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/portal/taskarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/storage/taskarchive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/task.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/taskrunner.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/archive/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/archive/archive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/archive/local_archive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/archive/pyobs_archive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/calibration.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/exptime/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/exptime/exptime.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/exptime/stellarexptime.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/exptimeeval.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/flatfielder.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/pointing/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/pointing/base.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/pointing/static.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/priorities/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/priorities/archive.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/priorities/base.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/priorities/const.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/robotic/utils/skyflats/scheduler.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/average.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/cache.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/config.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/config_schema.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/coordinates.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/curvefit.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/enums.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/exptime_grouping.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/fits.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/focusseries/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/focusseries/base.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/focusseries/photometry.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/focusseries/projection.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/grids/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/grids/filters.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/grids/grid.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/grids/gridnode.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/grids/pipeline.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/gui/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/gui/camera/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/gui/camera/binningwidget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/gui/camera/datadisplaywidget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/gui/camera/exposewidget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/gui/camera/exposuretimewidget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/gui/camera/imageformatwidget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/gui/camera/listpickerdialog.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/gui/camera/windowingwidget.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/http.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/influxdb.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/logger.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/logging/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/logging/context.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/logging/resolvableerror.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/modulegui.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/offsets/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/offsets/applyaltazoffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/offsets/applyoffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/offsets/applyradecoffsets.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/parallel.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/pipeline/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/pipeline/pipeline.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/pipeline/progress.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/pipeline/reduction.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/pipeline/reduction_base.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/publisher/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/publisher/csv.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/publisher/http.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/publisher/log.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/publisher/multi.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/publisher/publisher.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/serialization.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/shellcommand.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/stretch.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/threads/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/threads/lockwithabort.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/units.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/utils/versions.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/version.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/archivefile.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/bufferedfile.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/file.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/filelists/__init__.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/filelists/filelist.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/filelists/testing.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/httpfile.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/localfile.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/memfile.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/sftpfile.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/smbfile.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/sshfile.py +0 -0
- {pyobs_core-2.18.0 → pyobs_core-2.19.0}/pyobs/vfs/tempfile.py +0 -0
|
@@ -250,7 +250,8 @@ class Module(Object, IModule, IConfig):
|
|
|
250
250
|
seconds). Call from __init__.
|
|
251
251
|
|
|
252
252
|
Args:
|
|
253
|
-
exc_type: Exception type (or a shared ancestor
|
|
253
|
+
exc_type: Exception type (or a shared ancestor) to watch for. RemoteError also
|
|
254
|
+
counts remote domain faults, except expected PointingLimitError rejections.
|
|
254
255
|
limit: Number of occurrences that triggers the callback.
|
|
255
256
|
timespan: If given, only count occurrences within the last timespan seconds.
|
|
256
257
|
module: If given, only count occurrences tagged as coming from this remote module
|
|
@@ -273,24 +274,26 @@ class Module(Object, IModule, IConfig):
|
|
|
273
274
|
asyncio.create_task(h.callback(exception))
|
|
274
275
|
|
|
275
276
|
def _exception_matches(self, exception: Exception, exc_type: type[exc.PyobsError]) -> bool:
|
|
276
|
-
"""
|
|
277
|
-
true isinstance, or -- mirroring _store_exception's RemoteError special case below --
|
|
278
|
-
anything tagged with remote_module counts as a RemoteError even though its own type no
|
|
279
|
-
longer literally subclasses it now that faults raise as their real type instead of wrapped."""
|
|
277
|
+
"""Match actual ancestors and eligible remote faults, consistently with severity storage."""
|
|
280
278
|
if isinstance(exception, exc_type):
|
|
281
279
|
return True
|
|
282
|
-
return exc_type is exc.RemoteError and
|
|
280
|
+
return exc_type is exc.RemoteError and self._counts_as_remote_error(exception)
|
|
281
|
+
|
|
282
|
+
@staticmethod
|
|
283
|
+
def _counts_as_remote_error(exception: Exception) -> bool:
|
|
284
|
+
"""Classify remote domain failures for broad handlers, excluding expected pointing rejections.
|
|
285
|
+
|
|
286
|
+
Actual RemoteError inheritance and explicit domain handlers are handled separately.
|
|
287
|
+
"""
|
|
288
|
+
return getattr(exception, "remote_module", None) is not None and not isinstance(
|
|
289
|
+
exception, exc.PointingLimitError
|
|
290
|
+
)
|
|
283
291
|
|
|
284
292
|
def _store_exception(self, exception: exc.PyobsError, module: str | None) -> None:
|
|
285
|
-
#
|
|
286
|
-
#
|
|
287
|
-
# reconstruction), even though a directly-reraised domain type (e.g. GrabImageError) no
|
|
288
|
-
# longer subclasses RemoteError itself now that faults raise as their real type instead of
|
|
289
|
-
# wrapped (see rpc.py, Assessment §A). Preserves
|
|
290
|
-
# _register_exception(exc.RemoteError, ..., module=X)-style "this module keeps failing
|
|
291
|
-
# remotely, regardless of the specific type" handlers (e.g. AutoFocusSeries).
|
|
293
|
+
# Preserve actual ancestors and classify eligible remote domain faults as RemoteError
|
|
294
|
+
# for broad severity handlers. Expected pointing rejections retain their domain buckets.
|
|
292
295
|
classes: list[type] = list(type(exception).__mro__)
|
|
293
|
-
if
|
|
296
|
+
if self._counts_as_remote_error(exception) and exc.RemoteError not in classes:
|
|
294
297
|
classes.append(exc.RemoteError)
|
|
295
298
|
|
|
296
299
|
for e in classes:
|
|
@@ -787,16 +787,17 @@ class BaseTelescope(
|
|
|
787
787
|
hdr: dict[str, FitsHeaderEntry] = {}
|
|
788
788
|
|
|
789
789
|
# positions
|
|
790
|
+
position = self._position_radec
|
|
790
791
|
coords_ra_dec = None
|
|
791
|
-
if
|
|
792
|
-
ra, dec =
|
|
792
|
+
if position is not None:
|
|
793
|
+
ra, dec = position
|
|
793
794
|
coords_ra_dec = SkyCoord(ra=ra * u.deg, dec=dec * u.deg, frame=ICRS)
|
|
794
795
|
coords_alt_az = None
|
|
795
|
-
if
|
|
796
|
+
if coords_ra_dec is not None and self._observer is not None:
|
|
796
797
|
coords_alt_az = self.observer.altaz(Time.now(), coords_ra_dec)
|
|
797
798
|
|
|
798
799
|
# set coordinate headers
|
|
799
|
-
if coords_ra_dec is not None:
|
|
800
|
+
if isinstance(self, IPointingRaDec) and coords_ra_dec is not None:
|
|
800
801
|
hdr["TEL-RA"] = FitsHeaderEntry(float(coords_ra_dec.ra.degree), "Right ascension of telescope [degrees]")
|
|
801
802
|
hdr["TEL-DEC"] = FitsHeaderEntry(float(coords_ra_dec.dec.degree), "Declination of telescope [degrees]")
|
|
802
803
|
if coords_alt_az is not None:
|
|
@@ -811,7 +812,8 @@ class BaseTelescope(
|
|
|
811
812
|
# unlike to_string() the manual formatters below raise on a non-finite value rather than
|
|
812
813
|
# just warning, so skip them instead of emitting bogus headers
|
|
813
814
|
if (
|
|
814
|
-
|
|
815
|
+
isinstance(self, IPointingRaDec)
|
|
816
|
+
and coords_ra_dec is not None
|
|
815
817
|
and math.isfinite(coords_ra_dec.ra.degree)
|
|
816
818
|
and math.isfinite(coords_ra_dec.dec.degree)
|
|
817
819
|
):
|
|
@@ -879,13 +881,14 @@ class BaseTelescope(
|
|
|
879
881
|
return
|
|
880
882
|
|
|
881
883
|
# get telescope alt/az
|
|
884
|
+
position = self._position_radec
|
|
882
885
|
tel_altaz = None
|
|
883
|
-
if
|
|
884
|
-
radec = SkyCoord(ra=
|
|
886
|
+
if position is not None:
|
|
887
|
+
radec = SkyCoord(ra=position[0] * u.deg, dec=position[1] * u.deg, frame=ICRS)
|
|
885
888
|
tel_altaz = self.observer.altaz(now, radec)
|
|
886
889
|
|
|
887
890
|
# publish alt/az state
|
|
888
|
-
if self._comm is not None:
|
|
891
|
+
if isinstance(self, IPointingAltAz) and self._comm is not None:
|
|
889
892
|
await self.comm.set_state(
|
|
890
893
|
IPointingAltAz,
|
|
891
894
|
AltAzState(alt=float(tel_altaz.alt.degree), az=float(tel_altaz.az.degree)),
|
|
@@ -119,7 +119,9 @@ class PointingLimitError(PyobsError):
|
|
|
119
119
|
"""The requested destination is outside the configured pointing limits (today the minimum altitude, later
|
|
120
120
|
e.g. sun distance or dome limits). Nothing was attempted and the device is fine, so this is an expected
|
|
121
121
|
condition: defer or skip the target, don't alert and don't retry right away. Deliberately not a
|
|
122
|
-
MotionError, so that it never counts towards a module's repeated-motion-failure escalation.
|
|
122
|
+
MotionError, so that it never counts towards a module's repeated-motion-failure escalation.
|
|
123
|
+
Remote rejections also do not count towards broad RemoteError severity handlers; explicit
|
|
124
|
+
handlers for this class or its ancestors still apply."""
|
|
123
125
|
|
|
124
126
|
pass
|
|
125
127
|
|
|
@@ -4,7 +4,7 @@ TODO: write doc
|
|
|
4
4
|
|
|
5
5
|
__title__ = "Time"
|
|
6
6
|
|
|
7
|
-
from datetime import UTC, date, datetime
|
|
7
|
+
from datetime import UTC, date, datetime, time, timedelta
|
|
8
8
|
from typing import cast
|
|
9
9
|
|
|
10
10
|
import astropy.time
|
|
@@ -53,10 +53,11 @@ class Time(astropy.time.Time):
|
|
|
53
53
|
def night_obs(self, observer: Observer) -> date:
|
|
54
54
|
"""Returns the night for this time, i.e. the date of the start of the current night.
|
|
55
55
|
|
|
56
|
-
The
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
The boundary is local civil noon in the observer's timezone. All times from
|
|
57
|
+
noon until the next noon use the local date of the sunset after that opening
|
|
58
|
+
noon, keeping evening exposures and morning calibrations on the same night.
|
|
59
|
+
If no sunset is found (e.g. polar day/night), use the query's local calendar
|
|
60
|
+
date instead; that fallback can change at midnight.
|
|
60
61
|
|
|
61
62
|
Args:
|
|
62
63
|
observer: Observer object to use.
|
|
@@ -65,15 +66,24 @@ class Time(astropy.time.Time):
|
|
|
65
66
|
Night for this time.
|
|
66
67
|
"""
|
|
67
68
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
timezone = observer.timezone
|
|
70
|
+
local_time = self.to_datetime(timezone=timezone)
|
|
71
|
+
noon_date = local_time.date()
|
|
72
|
+
if local_time.hour < 12:
|
|
73
|
+
noon_date -= timedelta(days=1)
|
|
74
|
+
noon = datetime.combine(noon_date, time(12))
|
|
75
|
+
# Localize the anchor independently: the query may have crossed a DST change
|
|
76
|
+
# since that noon. pytz requires localize(), while other tzinfo uses replace().
|
|
77
|
+
if hasattr(timezone, "localize"):
|
|
78
|
+
noon = timezone.localize(noon)
|
|
79
|
+
else:
|
|
80
|
+
noon = noon.replace(tzinfo=timezone)
|
|
81
|
+
sunset = observer.sun_set_time(Time(noon), which="next")
|
|
72
82
|
if sunset.masked:
|
|
73
83
|
# sun doesn't cross the horizon within the search window, e.g. polar day/night,
|
|
74
84
|
# so fall back to the observer's local calendar date
|
|
75
85
|
return cast(date, local_time.date())
|
|
76
|
-
return sunset.to_datetime().date()
|
|
86
|
+
return sunset.to_datetime(timezone=timezone).date()
|
|
77
87
|
|
|
78
88
|
|
|
79
89
|
__all__ = ["Time"]
|
|
@@ -22,7 +22,8 @@ The available roots in the *pyobs* VFS are usually defined in the configuration
|
|
|
22
22
|
|
|
23
23
|
With this configuration, all filenames that start with ``/root1/`` (e.g. ``/root1/path/filename.ext``) are handled
|
|
24
24
|
by ``VfsClass1``, while all filenames starting with ``/root2/`` use ``VfsClass2``. Both defined classes can have
|
|
25
|
-
additional parameters, which should also be given in the configuration.
|
|
25
|
+
additional parameters, which should also be given in the configuration. A path with a root that is not configured
|
|
26
|
+
raises :class:`~pyobs.vfs.UnknownRootError`, a subclass of :class:`ValueError`.
|
|
26
27
|
|
|
27
28
|
With this example, one can easily see the advantages of using a VFS:
|
|
28
29
|
|
|
@@ -64,10 +65,11 @@ from .file import VFSFile
|
|
|
64
65
|
from .localfile import LocalFile
|
|
65
66
|
from .memfile import MemoryFile
|
|
66
67
|
from .tempfile import TempFile
|
|
67
|
-
from .vfs import VirtualFileSystem # noqa: I001
|
|
68
|
+
from .vfs import UnknownRootError, VirtualFileSystem # noqa: I001
|
|
68
69
|
|
|
69
70
|
__all__ = [
|
|
70
71
|
"VirtualFileSystem",
|
|
72
|
+
"UnknownRootError",
|
|
71
73
|
"VFSFile",
|
|
72
74
|
"LocalFile",
|
|
73
75
|
"HttpFile",
|
|
@@ -19,6 +19,22 @@ if TYPE_CHECKING:
|
|
|
19
19
|
log = logging.getLogger(__name__)
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
class UnknownRootError(ValueError):
|
|
23
|
+
"""Raised if a path uses a root that is not configured in the VFS.
|
|
24
|
+
|
|
25
|
+
Attributes:
|
|
26
|
+
root: Name of the root that could not be found.
|
|
27
|
+
path: Full path as it was passed to the VFS.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
__module__ = "pyobs.vfs"
|
|
31
|
+
|
|
32
|
+
def __init__(self, root: str, path: str):
|
|
33
|
+
super().__init__(f"Could not find root {root} for file {path}.")
|
|
34
|
+
self.root = root
|
|
35
|
+
self.path = path
|
|
36
|
+
|
|
37
|
+
|
|
22
38
|
class VirtualFileSystem:
|
|
23
39
|
"""Base for a virtual file system."""
|
|
24
40
|
|
|
@@ -79,6 +95,24 @@ class VirtualFileSystem:
|
|
|
79
95
|
# return it
|
|
80
96
|
return root, filename
|
|
81
97
|
|
|
98
|
+
def _resolve_root(self, path: str) -> tuple[str, dict[str, Any]]:
|
|
99
|
+
"""Split the root from the path and look up its configuration.
|
|
100
|
+
|
|
101
|
+
Reads the roots only once, so a concurrent `set_roots` cannot change them between check and use.
|
|
102
|
+
|
|
103
|
+
Returns:
|
|
104
|
+
Tuple (filename within the root, configuration of the root).
|
|
105
|
+
|
|
106
|
+
Raises:
|
|
107
|
+
ValueError: If path has no root.
|
|
108
|
+
UnknownRootError: If the root is not configured.
|
|
109
|
+
"""
|
|
110
|
+
root, filename = VirtualFileSystem.split_root(path)
|
|
111
|
+
config = self._roots.get(root)
|
|
112
|
+
if config is None:
|
|
113
|
+
raise UnknownRootError(root, path)
|
|
114
|
+
return filename, config
|
|
115
|
+
|
|
82
116
|
def open_file(self, filename: str, mode: str) -> VFSFile:
|
|
83
117
|
"""Open a file. The handling class is chosen depending on the rootse in the filename.
|
|
84
118
|
|
|
@@ -88,18 +122,18 @@ class VirtualFileSystem:
|
|
|
88
122
|
|
|
89
123
|
Returns:
|
|
90
124
|
(IOBase) File like object for given file.
|
|
91
|
-
"""
|
|
92
|
-
# split root
|
|
93
|
-
root, filename = VirtualFileSystem.split_root(filename)
|
|
94
125
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
126
|
+
Raises:
|
|
127
|
+
ValueError: If filename has no root.
|
|
128
|
+
UnknownRootError: If the root of filename is not configured.
|
|
129
|
+
"""
|
|
130
|
+
# resolve root
|
|
131
|
+
filename, config = self._resolve_root(filename)
|
|
98
132
|
|
|
99
133
|
# create file object
|
|
100
134
|
from pyobs.object import get_object
|
|
101
135
|
|
|
102
|
-
fd = get_object(
|
|
136
|
+
fd = get_object(config, object_class=VFSFile, name=filename, mode=mode)
|
|
103
137
|
|
|
104
138
|
# return it
|
|
105
139
|
return cast(VFSFile, fd)
|
|
@@ -271,56 +305,63 @@ class VirtualFileSystem:
|
|
|
271
305
|
Local path.
|
|
272
306
|
|
|
273
307
|
Raises:
|
|
274
|
-
ValueError: If path does not lead to a LocalFile.
|
|
308
|
+
ValueError: If path has no root or does not lead to a LocalFile.
|
|
309
|
+
UnknownRootError: If the root of path is not configured.
|
|
275
310
|
"""
|
|
276
311
|
from .localfile import LocalFile
|
|
277
312
|
|
|
278
313
|
# get class
|
|
279
|
-
klass,
|
|
314
|
+
klass, path, config = self._get_class(path)
|
|
280
315
|
|
|
281
316
|
# local file?
|
|
282
317
|
if not issubclass(klass, LocalFile):
|
|
283
318
|
raise ValueError(f"Given path {path} is not a local path.")
|
|
284
319
|
|
|
285
320
|
# get local path
|
|
286
|
-
return await klass.local_path(path, **
|
|
321
|
+
return await klass.local_path(path, **config)
|
|
287
322
|
|
|
288
|
-
def _get_class(self, path: str) -> tuple[type[VFSFile], str, str]:
|
|
323
|
+
def _get_class(self, path: str) -> tuple[type[VFSFile], str, dict[str, Any]]:
|
|
289
324
|
from pyobs.object import get_class_from_string
|
|
290
325
|
|
|
291
|
-
#
|
|
292
|
-
|
|
326
|
+
# resolve root
|
|
327
|
+
path, config = self._resolve_root(path)
|
|
293
328
|
|
|
294
329
|
# get root class
|
|
295
|
-
return get_class_from_string(
|
|
330
|
+
return get_class_from_string(config["class"]), path, config
|
|
296
331
|
|
|
297
332
|
@overload
|
|
298
333
|
def _get_method(
|
|
299
334
|
self, path: str, method: Literal["find"]
|
|
300
|
-
) -> tuple[Callable[..., Awaitable[list[str]]], str, str]: ...
|
|
335
|
+
) -> tuple[Callable[..., Awaitable[list[str]]], str, dict[str, Any]]: ...
|
|
301
336
|
|
|
302
337
|
@overload
|
|
303
338
|
def _get_method(
|
|
304
339
|
self, path: str, method: Literal["listdir"]
|
|
305
|
-
) -> tuple[Callable[..., Awaitable[list[str]]], str, str]: ...
|
|
340
|
+
) -> tuple[Callable[..., Awaitable[list[str]]], str, dict[str, Any]]: ...
|
|
306
341
|
|
|
307
342
|
@overload
|
|
308
|
-
def _get_method(
|
|
343
|
+
def _get_method(
|
|
344
|
+
self, path: str, method: Literal["exists"]
|
|
345
|
+
) -> tuple[Callable[..., Awaitable[bool]], str, dict[str, Any]]: ...
|
|
309
346
|
|
|
310
347
|
@overload
|
|
311
|
-
def _get_method(
|
|
348
|
+
def _get_method(
|
|
349
|
+
self, path: str, method: Literal["remove"]
|
|
350
|
+
) -> tuple[Callable[..., Awaitable[bool]], str, dict[str, Any]]: ...
|
|
312
351
|
|
|
313
352
|
@overload
|
|
314
|
-
def _get_method(
|
|
353
|
+
def _get_method(
|
|
354
|
+
self, path: str, method: Literal["rmdir"]
|
|
355
|
+
) -> tuple[Callable[..., Awaitable[bool]], str, dict[str, Any]]: ...
|
|
315
356
|
|
|
316
357
|
def _get_method(
|
|
317
358
|
self, path: str, method: Literal["find", "listdir", "exists", "remove", "rmdir"]
|
|
318
|
-
) -> tuple[Callable[..., Any], str, str]:
|
|
359
|
+
) -> tuple[Callable[..., Any], str, dict[str, Any]]:
|
|
319
360
|
# split root
|
|
320
|
-
klass,
|
|
361
|
+
klass, path, config = self._get_class(path)
|
|
321
362
|
|
|
322
363
|
# get find method
|
|
323
|
-
return getattr(klass, method),
|
|
364
|
+
return getattr(klass, method), path, config
|
|
324
365
|
|
|
325
366
|
async def find(self, path: str, pattern: str) -> list[str]:
|
|
326
367
|
"""Find a file in the given path.
|
|
@@ -331,13 +372,17 @@ class VirtualFileSystem:
|
|
|
331
372
|
|
|
332
373
|
Returns:
|
|
333
374
|
List of found files.
|
|
375
|
+
|
|
376
|
+
Raises:
|
|
377
|
+
ValueError: If path has no root.
|
|
378
|
+
UnknownRootError: If the root of path is not configured.
|
|
334
379
|
"""
|
|
335
380
|
|
|
336
381
|
# get method
|
|
337
|
-
find,
|
|
382
|
+
find, path, config = self._get_method(path, "find")
|
|
338
383
|
|
|
339
384
|
# and call it
|
|
340
|
-
return await find(path, pattern, **
|
|
385
|
+
return await find(path, pattern, **config)
|
|
341
386
|
|
|
342
387
|
async def listdir(self, path: str) -> list[str]:
|
|
343
388
|
"""Find a file in the given path.
|
|
@@ -348,13 +393,17 @@ class VirtualFileSystem:
|
|
|
348
393
|
|
|
349
394
|
Returns:
|
|
350
395
|
List of found files.
|
|
396
|
+
|
|
397
|
+
Raises:
|
|
398
|
+
ValueError: If path has no root.
|
|
399
|
+
UnknownRootError: If the root of path is not configured.
|
|
351
400
|
"""
|
|
352
401
|
|
|
353
402
|
# get method
|
|
354
|
-
listdir,
|
|
403
|
+
listdir, path, config = self._get_method(path, "listdir")
|
|
355
404
|
|
|
356
405
|
# and call it
|
|
357
|
-
return await listdir(path, **
|
|
406
|
+
return await listdir(path, **config)
|
|
358
407
|
|
|
359
408
|
async def exists(self, path: str) -> bool:
|
|
360
409
|
"""Checks, whether a given path or file exists.
|
|
@@ -364,13 +413,17 @@ class VirtualFileSystem:
|
|
|
364
413
|
|
|
365
414
|
Returns:
|
|
366
415
|
Whether it exists or not
|
|
416
|
+
|
|
417
|
+
Raises:
|
|
418
|
+
ValueError: If path has no root.
|
|
419
|
+
UnknownRootError: If the root of path is not configured.
|
|
367
420
|
"""
|
|
368
421
|
|
|
369
422
|
# get method
|
|
370
|
-
exists,
|
|
423
|
+
exists, path, config = self._get_method(path, "exists")
|
|
371
424
|
|
|
372
425
|
# and call it
|
|
373
|
-
return await exists(path, **
|
|
426
|
+
return await exists(path, **config)
|
|
374
427
|
|
|
375
428
|
async def remove(self, path: str) -> bool:
|
|
376
429
|
"""Removes file with given path.
|
|
@@ -380,13 +433,17 @@ class VirtualFileSystem:
|
|
|
380
433
|
|
|
381
434
|
Returns:
|
|
382
435
|
Success of deletion.
|
|
436
|
+
|
|
437
|
+
Raises:
|
|
438
|
+
ValueError: If path has no root.
|
|
439
|
+
UnknownRootError: If the root of path is not configured.
|
|
383
440
|
"""
|
|
384
441
|
|
|
385
442
|
# get method
|
|
386
|
-
remove,
|
|
443
|
+
remove, path, config = self._get_method(path, "remove")
|
|
387
444
|
|
|
388
445
|
# and call it
|
|
389
|
-
return await remove(path, **
|
|
446
|
+
return await remove(path, **config)
|
|
390
447
|
|
|
391
448
|
async def rmdir(self, path: str) -> bool:
|
|
392
449
|
"""Removes the (empty) directory with given path.
|
|
@@ -396,13 +453,17 @@ class VirtualFileSystem:
|
|
|
396
453
|
|
|
397
454
|
Returns:
|
|
398
455
|
Success of deletion.
|
|
456
|
+
|
|
457
|
+
Raises:
|
|
458
|
+
ValueError: If path has no root.
|
|
459
|
+
UnknownRootError: If the root of path is not configured.
|
|
399
460
|
"""
|
|
400
461
|
|
|
401
462
|
# get method
|
|
402
|
-
rmdir,
|
|
463
|
+
rmdir, path, config = self._get_method(path, "rmdir")
|
|
403
464
|
|
|
404
465
|
# and call it
|
|
405
|
-
return await rmdir(path, **
|
|
466
|
+
return await rmdir(path, **config)
|
|
406
467
|
|
|
407
468
|
|
|
408
|
-
__all__ = ["VirtualFileSystem", "VFSFile"]
|
|
469
|
+
__all__ = ["VirtualFileSystem", "VFSFile", "UnknownRootError"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|