Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProfitEngine Python Client

Official Python client for the ProfitEngine API -- 32+ developer tools in a single library.

Installation

pip install profitengine

Quick Start

from profitengine import ProfitEngine

client = ProfitEngine(api_key="your-key-here")

# Generate a QR code
qr = client.generate_qr("https://example.com")
qr.data  # -> bytes (PNG)

# Validate an email address
result = client.validate_email("user@example.com")
result.data  # -> {"valid": True, "domain": "example.com", ...}

# Shorten a URL
short = client.shorten_url("https://example.com/long-url")
short.data  # -> {"short_url": "https://profitengine-api.com/s/abc123", ...}

# Generate a UUID
uid = client.uuid(4)
uid.data  # -> {"uuid": "550e8400-e29b-41d4-a716-446655440000", ...}

Features

  • QR code generation (PNG bytes or data URL)
  • Email validation
  • URL shortening
  • Page metadata extraction
  • UUID generation (v4, v5, v7)
  • Hashing (MD5, SHA1, SHA256, SHA512)
  • Base64 encode/decode
  • Color information and conversion
  • Timestamp conversion
  • Text statistics and word count
  • Slugify
  • MIME type lookup
  • HTTP status code info
  • Lorem ipsum text generation
  • Cryptocurrency price lookup
  • Password strength checking
  • URI encode/decode
  • Time between dates calculation
  • Number formatting
  • Currency conversion
  • HTTP headers parsing
  • URL parsing
  • Country information
  • Emoji information
  • User agent parsing
  • Cron expression parser
  • Random string generation
  • Markdown to HTML conversion
  • JSON formatting, validation, and minification
  • Type hints and full docstrings
  • Context manager support
  • Custom exceptions for auth, rate limits, validation
  • Session reuse for performance

Get API Key

https://rapidapi.com/Midas7742/api/profitengine-api

Links

License

MIT

Releases

Packages

Contributors

Languages