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.2.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.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sophisthse-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 83f1db35a7fc0412dc051e845f2b57093a573c64b1c60a0541158e57b28244c1
MD5 194f5fadd41ae6352c6505a5482aacb8
BLAKE2b-256 3b1cd0f160bc530c951277e80950199a849f9017ba19d20be7d0f3f4de83b26e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sophisthse-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5677ad84c17f50be4b9e97add56e82a0b1c795893098445e8fc41196459a96f5
MD5 8fda70112f6d85e8a533aabb95f0c9b5
BLAKE2b-256 a87372e502653519765b3be4d77cf952a5187d4a8806365cb64388ce3f6accb3

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