Skip to main content

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

Metadata

Release files for pyinvestingsnippets 4.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyinvestingsnippets 4.0.1
File Size Uploaded Provenance
pyinvestingsnippets-4.0.1.tar.gz 14.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyinvestingsnippets 4.0.1
File Interpreter ABI Platform
pyinvestingsnippets-4.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 47.6 kB

Release files / pyinvestingsnippets-4.0.1.tar.gz

Download URL pyinvestingsnippets-4.0.1.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1017b5bdb8d965bbf2dffb490f0f1cf5618b9591ba5fb818170099f6d472de91
BLAKE2b-256 checksum
How to use checksums
2e4ba18651bdb54b4fbc871f1940ffb818c3fa7e73711662e182866f78a28162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.11

Release files / pyinvestingsnippets-4.0.1-py3-none-any.whl

Download URL pyinvestingsnippets-4.0.1-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e64124de9e0c716729fd9def211e990a4ac7b98fe78d8d92791b38380e8863cd
BLAKE2b-256 checksum
How to use checksums
a678b591679057cf19c6cd6b43ebe66319521ecc66bbb5f4369f6e9ca953f77e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.11

Security for pyinvestingsnippets 4.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page