Skip to main content

A library for reading data from the ishares product family.

Project description

ishareslib

Codecov Quality Workflow Integration Workflow

The ishareslib is a library that simplifies the retrieval of data on the ishares product family in python.

By reverse engineering a clear interface was created to be able to process the data easily. During development, care was taken to reduce the number of requests against the ishares server. In addition, custom adapters for user agent and proxy server can be connected to disguise the traffic.

Installing

pip install ishareslib

Usage

This is how you use this interface in your environment:

import Client
from ishareslib.client

client = Client()
client.get_products()  # This will be a pandas dataframe

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

pip install . .[dev] .[test]

Running the tests

The tests are split into two groups unit tests (without explicit group) and integration test. The unit tests are started with every pull request. The integration tests run time-controlled to detect a change of the ishares interfaces quickly to be able to adapt the library.

How to run unit tests:

pytest -m "not integration"

How to run integration tests:

pytest -m "integration"

The coverage of the tests should always be above 90 percent. Please make sure that your tests are thorough and well thought out.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository

License

This project is licensed under the GNU GENERAL PUBLIC License - see the LICENSE file for details

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ishareslib-0.1.0-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file ishareslib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ishareslib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for ishareslib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 398eeb847c6d2a5fe2b14f33358d980ca08abf61bc2b07edc0ea71abc644d354
MD5 b2a29a7d60d5d9caf9eb4d6c40b6b983
BLAKE2b-256 43aae9d6d8c14a6b8ac3f40a9cc907aa8205dd2a7cb30f57beaee9a4b72de987

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