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.3.tar.gz (3.1 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.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sophisthse-0.0.3.tar.gz
  • Upload date:
  • Size: 3.1 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.3.tar.gz
Algorithm Hash digest
SHA256 8e7f4045d94de9e7964cce8c3fd89262dfb6b883152b3122ab51b0098b2fb34f
MD5 2dd0d94fcd51d0535a769b95c9131ac5
BLAKE2b-256 c82b604840dade16df9f1a8ef7474581e7010d8f982e3da74d7e476fd4dbaeb8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sophisthse-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b2a09c7666a1a8596c2ad4ce17441bdf42877c652aebe8da25840157bb2b9dd7
MD5 e658cf9aa7ea9152d074e9071763d4a5
BLAKE2b-256 2a25aaebc2f2969201fbd7811e60a76becab599aa9560948be45e232282f096a

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