Skip to main content

Programmaticaly interact with the yiedl machine learning competition

Project description

Submission Script

Please refer to quickstart.ipynb as the main guide on submitting predictions programmatically.

Getting Set Up

Python Version Requirement: >= 3.11

Install Yiedl submission client.

pip install yiedl-ai

In the first code cell of quickstart.ipynb, you will need to fill in 3 fields.

  1. jwt. This is your personal pinata access key.
    1. Head over to https://pinata.cloud and sign up for an account.
    2. Log in to your account.
    3. Click on your account avatar on the top right and select API Keys.
    4. Click on + New Key.
    5. Under API Endpoint Access, select Pinning, turn on pinFileToIPFS.
    6. Give a name to your api key under Key Name. This can be any string of characters.
    7. Leave all other fields as default.
    8. Copy the entire string in the JWT field and paste it somewhere safe.
      1. (The string should look something like "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.ey.......")
  2. address. This is your wallet address. It should be a hex string beginning with "0x" followed by 40 characters.
  3. pk. This is the private key to your wallet address.
    1. You can find this under Metamask > 3-dot menu on the top right > Account details > Export Private Key.

Files stored on Pinata.

Please do not unpin or delete your files that are stored on Pinata until at least the opening of the next challenge.

! Please keep your Private Key safe !

Stolen private keys lead to loss of funds from your blockchain wallet.

Please take necessary steps to make sure your private key string is never exposed.

This can include storing the key as a password-protected local environment variable, as well as keeping your computer safe from prying eyes or malware.

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

yiedl_ai-0.2.3.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yiedl_ai-0.2.3-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file yiedl_ai-0.2.3.tar.gz.

File metadata

  • Download URL: yiedl_ai-0.2.3.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for yiedl_ai-0.2.3.tar.gz
Algorithm Hash digest
SHA256 326a836b8de6a5610ff479df8e7cca47fceb09b2a8a0449d58b258cad3c9f0fe
MD5 289628505351cb8e3b67eff67de0de5f
BLAKE2b-256 dabebee38a04246d93b669f2fe2a4ab0a49fb6dba5611b9e0d8be3cbdba5c2e7

See more details on using hashes here.

File details

Details for the file yiedl_ai-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: yiedl_ai-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for yiedl_ai-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fd6a6205bb7f9be6527f660c5c08f288719ec32c4adca51ee7022d8405c56b15
MD5 a1700ad91ec5b6c9200dba538a36295a
BLAKE2b-256 0b6d359eee0f54b2e4f7978de55e2b5c0f8b6218e9126a14dc25e5b6c994fcfe

See more details on using hashes here.

Supported by

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