Skip to main content

shameni

The official Presage Python wrapper, a straightforward cryptocurrency prediction service.

Powered by CoinGecko and Presage API.

DISCLAIMER: All data generated by Presage and/or Shameni does not indicate real cryptocurrency prices and does not constitute to an expert financial advice. Do your own research and only take financial advice from a certified financial expert. This website and the information contained herein is not intended to be a source of any financial advice with respect to the material presented, and the information and/or documents contained in this website do not constitute investment advice.

Usage

Installation

pip install --upgrade shameni

Import Package

from shameni import Gaze

Initialization

# simple initialization
crypto = Gaze()

# cache data to file
crypto = Gaze("predictions.json")

Check connection

if crypto.ping():
    print("Live!")

Supported tokens

for token in crypto.supported():
    print(token)

Actual Price Returns the actual cryptocurrency price

price = crypto.price("bitcoin")

Weighted Average Returns the periodic WAVGs

# days = 1, 3, 7, 15, 30, 60, 90
wavg = crypto.wavg("bitcoin", 3)

Request Requests for next-day prediction.

crypto.request("bitcoin")

Prediction Returns the available next-day prediction.

    tomorrow = crypto.tomorrow("bitcoin")
    if tomorrow > 0:
        print(f" - Tomorrow: {tomorrow:,.2f} USD")

Distance Returns the historical distance between the atcual price and predictions.

gap = crypto.distance("bitcoin")
if gap > 0:
    print(f" - Distance: {gap:,.6f}")

Metadata

Release files for shameni 1.1.0

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

Source distribution (sdist)

Source distribution for shameni 1.1.0
File Size Uploaded Provenance Actions
shameni-1.1.0.tar.gz 7.0 kB Without provenance Details for shameni-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 11.3 kB

Release files / shameni-1.1.0.tar.gz

Download URL shameni-1.1.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
67cbeb4ad0811b5d7b97cf0b61517d1f8f17bab6a3b16ee02a230f8497c22325
BLAKE2b-256 checksum
How to use checksums
7d8972c77d2a2a9ee9271526af9629bf818b00d3416668acd9092c2545105ef4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / shameni-1.1.0-py3-none-any.whl

Download URL shameni-1.1.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccc22bb67af45f30436b0d56354681f913cd666537fa2d5539ca2da7aa22d094
BLAKE2b-256 checksum
How to use checksums
3ee9a2449e38bb385048f37a3975ea293297824836003a9519f3b0979447f4da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Security for shameni 1.1.0

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