Skip to main content

No project description provided

Project description

PyPI version Supported Python versions Build Status CodeQL Documentation Status

Python Module for Investing Snippets

Pandas extensions and utility classes for stock and investment analysis.

Installation

pip install pyinvestingsnippets

Examples and Documentation

Please see detailed examples under the examples directory and read the documentation here

Develop

First install the required venv and tox

python3 -m venv .venv
source .venv/bin/activate
pip install tox

On osx with Big Sur there is an issue with installing cython! Due to that, you can docker run --rm -v $(PWD):/app --workdir=/app -it --entrypoint=sh python:3.8

Run tox test and lint

tox

Install the package locally

pip install .tox/dist/pyinvestingsnippets-<version>.zip

Run examples

python3 -m venv .venvtest
source .venvtest/bin/activate
pip install -r requirements.txt
pip install -r examples/requirements.txt
python examples/matplotlib_report.py

If on OSX set env var to OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES

Release

On master change the version in pyinvestingsnippets/__init__.py

git commit -am "v<VERSION>"
git tag -a v0.0.3
git push origin --tags
git push -u
tox -e release

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

pyinvestingsnippets-4.0.1.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

pyinvestingsnippets-4.0.1-py3-none-any.whl (33.2 kB view hashes)

Uploaded Python 3

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