Skip to main content

📸 InPySta (v1.0.4)

A lightweight, highly custom Python library that simulates an Instagram database engine. Built for fun, experimentation, and mock backend practice!

Latest Update

Made InPySta faster by using O(1) instead of O(n)! Added better explanations.


🚀 What is InPySta?

InPySta is a simple simulation engine for managing user profiles, tracking followers/following networks, handling minor account requirements (parental settings), and editing database entries on the fly.

This is a fun project built to experiment with class architectures and command-line interfaces.


🛠️ Installation

You can install InPySta directly via the terminal using pip:

pip install inpysta

💻 Quick Start Guide

Get your engine up and running in just a few lines of code:

from inpysta import MockEngineMain

# 1. Initialize the engine core
engine = MockEngineMain("MyInstagramMock")

# 2. Create profile accounts
user1 = engine.CreateUser("coolboy10", 19)
user2 = engine.CreateUser("admin_user", 15) # Prompts parental warning alert

# 3. View the system database state
engine.ViewUsers()

🕹️ Available API Commands

🏗️ Engine Management (MockEngineMain)

  • CreateUser(username: str, userage: int)
    Registers a unique user profile inside the engine global database. Returns the account object configuration.
  • DeleteUser(user_object)
    Removes a registered profile reference clean out of the database array.
  • ViewUsers()
    Outputs a structured list tracking all active profiles registered on the instance.
  • PrintInfo(username: str)
    Displays a visually formatted card containing statistics, counts, age verification, and tracking lists for a specific username.
  • EditInfo(username: str)
    Launches an interactive dashboard allowing you to change profile variables like username or age natively from console prompts.
  • SetParentalUser(username: str)
    Enables linking an minor account (under 18) to an established adult guardian account inside the platform database.

👤 Profile Interaction (UserProfileAccount)

When you save a user object via my_user = engine.CreateUser(...), you unlock individual account operations:

  • my_user._follow(target_username: str)
    Processes a safe, bidirectional relationship link. Appends the destination user to your follows tracking array and adds you to their followers log.
  • my_user._unfollow(target_username: str)
    Removes the mutual network ties between the current profile and the target user.

🛡️ License & Acknowledgement

This library is open-source. To use it in your own external projects or modifications, please add clear credit and acknowledgement back to InPySta.

© 2026 InPySta Dev Studio. authored by Elijah J..

Release files for inpysta 1.0.4

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

Source distribution (sdist)

Source distribution for inpysta 1.0.4
File Size Uploaded
inpysta-1.0.4.tar.gz 5.4 kB Details

Built distribution (wheel)

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

Total release size: 11.2 kB

Release files / inpysta-1.0.4.tar.gz

Download URL inpysta-1.0.4.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b0e906aa17ff3634bb309902143b9a93d4a068b0b8574b55b68055ffd309f9e4
BLAKE2b-256 checksum
How to use checksums
9530799184e929610288bbe355fc3ad6f385c09cc695255b689feca8d7093cb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / inpysta-1.0.4-py3-none-any.whl

Download URL inpysta-1.0.4-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29ceb42a2320333e51bd746fc09e2c19944f5f259c89a7adcc00d84c613669f0
BLAKE2b-256 checksum
How to use checksums
0ef1526f79f0c2e4a1c753456eaef70d0400f223f899d42d11c7658a00430df2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release history Release notifications | RSS feed

1.0.5

2 release files

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

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