Skip to main content

This package has been discontinued following the shutdown of [sophist.hse.ru](https://sophist.hse.ru/hse/nindex.shtml). 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

Python package Upload Python Package

sophisthse

sophisthse is a Python library that is a port of the sophisthse R package. This library allows you to download timeseries of macroeconomic statistics of the Russian Federation from sophist.hse.ru. The data is provided by HSE (Higher School of Economics), which is a leading national research university with expertise in STEM, socio-economic and humanitarian areas, as well as creative industries.

Installation

pip3 install sophisthse

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())
                               HHI_M_DIRI  HHI_M_DIRI_SA    HHI_M
T                                                                
2018-09-30 23:59:59.999999999       184.1          187.5  31698.0
2018-10-31 23:59:59.999999999       190.9          187.9  32962.0
2018-11-30 23:59:59.999999999       183.3          188.6  32282.0
2018-12-31 23:59:59.999999999       279.1          189.6  47673.0
2019-01-31 23:59:59.999999999       139.6          190.7  24496.0

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.1.2.tar.gz (4.9 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.1.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sophisthse-0.1.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sophisthse-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1506f691380ac2fb4dec2a030426521fc53511c9b853c21b25de960ee429cb61
MD5 13461cf3fbfcba2786849d4678805937
BLAKE2b-256 75331b861f04f8e96e6f10c23116a6ae84b2adf8cda9ba970335aca6465da6ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sophisthse-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sophisthse-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aeaa3b7b96d10dcfb035f669f51a8ab9ba2299e24ee05f8c62d51e27fb676750
MD5 05b16faef3676613c465a08aeded8dc9
BLAKE2b-256 d528445905d9025a3ac3acb5f1810d67ac9fe6ebf50f5a2c08a070ba7db9a4ab

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