Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.

pyine

A simple package for the conversion of tradingview's .pine to python script.

Currently Supports

  • Variable Decleration a = 1
  • Dynamic Value Assignment a = b > c
  • If statements
  • Alert functions (will act as a print statement but will have full support in the future)
  • Comments

Warning The current version (1.1.2) will auto comment any strategy calls so it is advised that a study is used instead.

Usage

Pyine currently supports partial file conversion (good for simple pine script files) and the below indicators (based on their pine script equivelants)

Indicators

  • Simple Moving Average
  • Exponential Moving Average

Converter

from pyine import convert
_ = convert(filename)

Indicators

from pyine.indicators import *
ema = ema(close, period)

Metadata

Release files for pyine 1.1.2

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

Source distribution (sdist)

Source distribution for pyine 1.1.2
File Size Uploaded Provenance Actions
pyine-1.1.2.tar.gz 2.7 kB Without provenance Details for pyine-1.1.2.tar.gz

Release files / pyine-1.1.2.tar.gz

Download URL pyine-1.1.2.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0ec845ef8841e1e02737e746e5d9e1320a920648586a2a80990d8e0e8fe44aaf
BLAKE2b-256 checksum
How to use checksums
53a7dda19c795dbe024dfafef086d5fc1bb0c5647a0494cda4a99d872add828b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

Security for pyine 1.1.2

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