Skip to main content

Help building app using Index Integer Date format IID

Project description

PyPI: IID42

PyPi: https://pypi.org/project/iid42

IID, short for Index Integer Date, is a 4/8/12/16-byte format designed for seamless communication across various network systems, including UDP, WebSocket, and Mirror.

By standardizing the code and API to work exclusively with integer values:

  • It enables the creation of action index tables.
  • It supports the development of specialized tools for specific tasks, allowing IID to facilitate remote actions effectively.

The IID format was developed to streamline QA testing across multiple devices and computers with precise timing coordination.

Key Features of IID:

  1. Index on your own server: Identifies the target device.
  2. Index on a shared server: Identifies the user.
  3. Value: Represents the transported integer value.
  4. Date: Encoded in a specific ulong format:
    • 01.....TICK: Sent using NTP time.
    • 02.....TICK: Intended for execution at a designated NTP time.
    • .......TICK: Sent from an unknown source time but uses DateTime.Now in UTC since 1970.

If you need assistance or are interested in contributing to this project, feel free to reach out.
Since 2024, all my tools have been built around this principle.


/*
 * ----------------------------------------------------------------------------
 * "PIZZA LICENSE":
 * https://github.com/EloiStree wrote this file.
 * As long as you retain this notice, you
 * can do whatever you want with this code.
 * If you think my code saved you time,
 * consider sending me a 🍺 or a 🍕 at:
 *  - https://buymeacoffee.com/apintio
 * 
 * You can also support my work by building your own DIY input device
 * using these Amazon links:
 * - https://github.com/EloiStree/HelloInput
 *
 * May the code be with you.
 *
 * Updated version: https://github.com/EloiStree/License
 * ----------------------------------------------------------------------------
 */


Creating a Python Package

Tutorial:

This is my first Python package. Here’s how to build one.

Steps to Create a Pip Package:

  1. Install or upgrade the build tool:

    pip install --upgrade build
    
  2. Navigate to your project’s root directory:

    cd "GIT_PROJECT_ROOT"
    
  3. Build the package:

    python -m build
    
  4. A .whl file will be created. You can install it using pip:

    pip install iid-2025.1.8-py3-none-any.whl
    

Example Workflow:

python -m build
pip uninstall iid -y
python -m build
pip install dist/iid42-2025.1.8-py3-none-any.whl
python

Example Usage:

import iid
iid.say_hello()
pip install --upgrade twine
python -m twine upload dist/*

Use https://test.pypi.org for training.
https://youtu.be/9Ii34WheBOA?t=699

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

iid42-2025.1.8.3.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

iid42-2025.1.8.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file iid42-2025.1.8.3.tar.gz.

File metadata

  • Download URL: iid42-2025.1.8.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for iid42-2025.1.8.3.tar.gz
Algorithm Hash digest
SHA256 899d4984818448deff2f82c1482030a52abaececcd5864a2e58ecdda98dd4344
MD5 d5131293d67ee6f87be9d4ebbd387040
BLAKE2b-256 0e5a842cb92773efc91a82fd9f7a6378320be985504b8b061bbe08eba8820509

See more details on using hashes here.

File details

Details for the file iid42-2025.1.8.3-py3-none-any.whl.

File metadata

  • Download URL: iid42-2025.1.8.3-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for iid42-2025.1.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d88e9f084f06b9cad1e4f48c6ed8bf784c537ed7e50e996b7311193848a1684a
MD5 84661599f1e6ff4750dcc70d53df1a38
BLAKE2b-256 4c4e264136d808de4448bc2b6af5b21d931a4b7686c11da7c0259a42d0b55c2b

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