Skip to main content

A library prepare the dependences for tushare library

Project description

tushare-deps

https://img.shields.io/pypi/v/tushare-deps.svg https://img.shields.io/travis/starofrainnight/tushare-deps.svg https://ci.appveyor.com/api/projects/status/github/starofrainnight/tushare-deps?svg=true

A library prepare the dependences for tushare library

Preface

tushare is an utility for crawling historical and Real-time Quotes data of China stocks. It’s great but not setting install dependences correctly. We will found only tushare installed but without any dependences installed if we try install tushare in a virtualenv environment by pip in python3.6 on Ubuntu 18.04.

That’s so annoying to install those libraries manually.

Yes, fix this problem in tushare is more simple than just create a new library, but there have some PRs (#452, #264) related not been pay attention for a long time …

Usage

Just place ‘tushare-deps’ to your install_requires list in setup(), and remove ‘tushare’ depends, see sample below

from setuptools import setup, find_packages

install_requires = [
    'tushare-deps',
]

setup(
    name='testlib',
    version='0.0.1',
    description="Just for test",
    long_description=long_description,
    author="Hong-She Liang",
    author_email='starofrainnight@gmail.com',
    url='https://github.com/starofrainnight/testlib',
    packages=find_packages(),
    include_package_data=True,
    install_requires=install_requires,
    license="Apache Software License",
    zip_safe=False,
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
)

Credits

This package was created with Cookiecutter and the PyPackageTemplate project template.

History

0.0.3 (2018-06-11)

  • First release on PyPI.

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

tushare-deps-0.0.5.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file tushare-deps-0.0.5.tar.gz.

File metadata

File hashes

Hashes for tushare-deps-0.0.5.tar.gz
Algorithm Hash digest
SHA256 039c474b6eae7ebc7a3d09489540e89cc389c1f80b9711b96373a744c53d20d0
MD5 8d7d8e02cce1ab8e1ade7c4641681c58
BLAKE2b-256 6a64ad0f1845a41a8efbf22deeea8ff02839498a4a1b71b91e40bfabb3f044c0

See more details on using hashes here.

Supported by

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