sparclclient 1.2.7b1__py2.py3-none-any.whl → 1.2.7b2__py2.py3-none-any.whl

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.
sparcl/__init__.py CHANGED
@@ -36,4 +36,4 @@ __all__ = ["client", "align_records"]
36
36
  #__version__ = "1.2.4"
37
37
  #__version__ = "1.2.5"
38
38
  #__version__ = "1.2.6"
39
- __version__ = "1.2.7b1"
39
+ __version__ = "1.2.7b2"
sparcl/client.py CHANGED
@@ -172,7 +172,7 @@ class SparclClient: # was SparclApi()
172
172
 
173
173
  """
174
174
 
175
- KNOWN_GOOD_API_VERSION = 12.0 # @@@ Change when Server version incremented
175
+ KNOWN_GOOD_API_VERSION = 13.0 # @@@ Change when Server version incremented
176
176
 
177
177
  def __init__(
178
178
  self,
@@ -189,7 +189,7 @@ class SparclClient: # was SparclApi()
189
189
  self.session = session
190
190
  self.session.auth = None
191
191
  self.rooturl = url.rstrip("/") # eg. "http://localhost:8050"
192
- self.apiurl = f"{self.rooturl}/sparc"
192
+ self.apiurl = f"{self.rooturl}/api"
193
193
  self.apiversion = None
194
194
  self.token = None
195
195
  self.refresh_token = None
@@ -532,7 +532,7 @@ class SparclClient: # was SparclApi()
532
532
  Example:
533
533
  >>> client = SparclClient(announcement=False)
534
534
  >>> client.version
535
- 12.0
535
+ 13.0
536
536
  """
537
537
 
538
538
  if self.apiversion is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sparclclient
3
- Version: 1.2.7b1
3
+ Version: 1.2.7b2
4
4
  Summary: A client for getting spectra and meta-data from NOIRLab.
5
5
  Author-email: "S. Pothier" <datalab-spectro@noirlab.edu>
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  sparcl/Results.py,sha256=vnACjm8sp7MrsJ_5LTuKMuyRWqeBJxOxQM302cHmAlk,9159
2
- sparcl/__init__.py,sha256=Q1yzegsPH1nPWbN9a9AlmYJQMgZtmf-Ymt-FZ5uh1I0,1147
3
- sparcl/client.py,sha256=Kv4wPUNIwAsRkzA0CMgCndKByKf9uyWaXfIyyC4RTqA,40015
2
+ sparcl/__init__.py,sha256=-IwJKgtr3z1yPglpQ6virSDCUuzxfM6FpuakJkZhrkk,1147
3
+ sparcl/client.py,sha256=C9vYeHqZvl0lzVw1BRJeGCv5zk2W2XH1aLsFtBYeYk4,40013
4
4
  sparcl/conf.py,sha256=GFNDelaiVIAkjNjvFlG7HAlPpU39nqZmTPohQGmOcgI,928
5
5
  sparcl/exceptions.py,sha256=sznmOMGENHvxutSXlRVWqi87bR2Qiebka7LyR3mAII0,4244
6
6
  sparcl/fields.py,sha256=NZUBqDidpbXfeX5F4b306F323xZY2CRIx8eVv-HWTVU,5127
@@ -15,7 +15,7 @@ sparcl/benchmarks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
15
15
  sparcl/benchmarks/benchmarks.py,sha256=OmlSdnAPLmcvGXsr-HzGyfAAcnoqlO0JQ4EIA7JGhZc,9424
16
16
  sparcl/benchmarks/sparcl_benchmarking.ipynb,sha256=gwof2hqM9Qb49qzRX-mky7WNqXZCMSB7ry8bX8dImxc,17559
17
17
  sparcl/notebooks/sparcl-examples.ipynb,sha256=gEwMKI1x7A1YsVeCsQn1QoMO0ZuIhMUAu3qedTiQ7hM,169268
18
- sparclclient-1.2.7b1.dist-info/LICENSE,sha256=y10EluGMCzGs9X4oYCYyix3l6u-lawB_vlGR8qe442Q,1576
19
- sparclclient-1.2.7b1.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
20
- sparclclient-1.2.7b1.dist-info/METADATA,sha256=PGbwbr4YpUV0GyMIG79I7kkFUtiniEHNo_tx1gt5OvA,680
21
- sparclclient-1.2.7b1.dist-info/RECORD,,
18
+ sparclclient-1.2.7b2.dist-info/LICENSE,sha256=y10EluGMCzGs9X4oYCYyix3l6u-lawB_vlGR8qe442Q,1576
19
+ sparclclient-1.2.7b2.dist-info/WHEEL,sha256=ssQ84EZ5gH1pCOujd3iW7HClo_O_aDaClUbX4B8bjKY,100
20
+ sparclclient-1.2.7b2.dist-info/METADATA,sha256=WfRU8btHLfl3wHaCLgRUdWHrj-wAMtgVbfMZ_UhbBW8,680
21
+ sparclclient-1.2.7b2.dist-info/RECORD,,