Skip to main content

SophistHSE package provides methods to access timeseries data from sophist.hse.ru using Python.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

pysophisthse

SophistHSE library ported to Python

Usage

Get available tables

from sophisthse import sophisthse

sp = sophisthse()
tables = sp.list_tables()
print(tables.head())
                 date            name
0 2020-05-27 15:46:00  AGR_M_I - Copy
1 2024-08-08 09:10:00         AGR_M_I
2 2024-08-08 09:10:00         AGR_Q_I
3 2024-02-11 19:10:00      AGR_Y_DIRI
4 2024-07-26 20:04:00          APCI3N

Get specific table

sp = sophisthse(to_timestamp=True, verbose=False)
df = sp.get_table("AGR_M_I")
print(df.tail())
                              AGR_M_DIRI AGR_M_DIRI_SA
T                                                     
2024-02-29 23:59:59.999999999       1100          3533
2024-03-31 23:59:59.999999999       1696          3557
2024-04-30 23:59:59.999999999       1903          3572
2024-05-31 23:59:59.999999999       2084          3580
2024-06-30 23:59:59.999999999       2132          3585

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sophisthse-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sophisthse-0.0.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file sophisthse-0.0.4.tar.gz.

File metadata

  • Download URL: sophisthse-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for sophisthse-0.0.4.tar.gz
Algorithm Hash digest
SHA256 873f62678641308f67ad9156152dc9313dc365a5a26115a7a5ee7118809fc4ec
MD5 439aab71c2d031e7262202a3420abc99
BLAKE2b-256 54bc63a32c30f6ab639c9e79c7d0ee155b267f8ac1a7018833e720d5805cd1e8

See more details on using hashes here.

File details

Details for the file sophisthse-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: sophisthse-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for sophisthse-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 00786f1b02744c277317c9bc6f56f9bfe51eb1d3898bdc05b0374a843f8c9b24
MD5 fc45e7cb13c8d0ef75a4b0cc8fdf934f
BLAKE2b-256 a1bf77c2c00e15d56ce1b0d19a538497799608758e7d70bd9d216c188573c845

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page