File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "description" : " Python client for HAPI" ,
33 "license" : " other-open" ,
44 "title" : " hapi-server/client-python:" ,
5- "version" : " 0.2.8b2 " ,
5+ "version" : " 0.2.8 " ,
66 "upload_type" : " software" ,
77 "publication_date" : " 2021-10-06" ,
88 "creators" : [
Original file line number Diff line number Diff line change @@ -118,3 +118,5 @@ v0.2.8b1:
118118 2026-05-19 -- Better response error messages
119119v0.2.8b2:
120120 2026-05-20 -- Refactor
121+ v0.2.8:
122+ 2026-06-04 -- Compat. fixes for hapiplot package.
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ PYTHONVERS=python3.14 python3.13 python3.12 python3.11 python3.10 python3.9 pyth
5050
5151# VERSION is updated in "make version-update" step and derived
5252# from CHANGES.txt. Do not edit.
53- VERSION =0.2.8b2
53+ VERSION =0.2.8
5454SHELL: = /bin/bash
5555
5656LONG_TESTS =false
Original file line number Diff line number Diff line change 11# Allow "from hapiclient import hapi"
22from hapiclient .hapi import hapi
33
4+ # Allow "from hapiclient import request2path"
5+ from hapiclient .hapi import request2path
6+
47# Allow "from hapiclient import hapitime2datetime"
58from hapiclient .hapitime import hapitime2datetime
69
1013# Allow "from hapiclient import HAPIError"
1114from hapiclient .util import HAPIError
1215
13- __version__ = '0.2.8b2 '
16+ __version__ = '0.2.8 '
1417
1518import sys
1619import platform
Original file line number Diff line number Diff line change 66from hapiclient .info import info
77from hapiclient .data import data
88
9+ # Backward compatibility: older code imports request2path from hapiclient.hapi
10+ from hapiclient .cache import request2path
11+
912
1013
1114def hapiopts ():
@@ -42,7 +45,7 @@ def hapiopts():
4245def hapi (* args , ** kwargs ):
4346 """Request data from a HAPI server.
4447
45- Version: 0.2.8b2
48+ Version: 0.2.8
4649
4750
4851 Examples
Original file line number Diff line number Diff line change @@ -40,11 +40,12 @@ def configure_logging(opts):
4040 setattr (_logger , _INTERNAL_LEVEL_ATTR , _logging .WARNING )
4141
4242
43- def log (msg ):
44- """Log message using the 'hapiclient' logger."""
43+ def log (msg , opts = None ):
44+ """Log message using the 'hapiclient' logger.
45+ """
4546
47+ # opts is not used but kept for backward compatibility
4648 import sys
4749
4850 pre = sys ._getframe (1 ).f_code .co_name + '(): '
49-
5051 _logger .info ("hapiclient." + pre + msg )
Original file line number Diff line number Diff line change 3232# version is modified by misc/version.py (executed from Makefile). Do not edit.
3333setup (
3434 name = 'hapiclient' ,
35- version = '0.2.8b2 ' ,
35+ version = '0.2.8 ' ,
3636 author = 'Bob Weigel' ,
3737 author_email = 'rweigel@gmu.edu' ,
3838 packages = find_packages (),
You can’t perform that action at this time.
0 commit comments