parascode
Advanced tools
| Metadata-Version: 2.4 | ||
| Name: parascode | ||
| Version: 2.3.2 | ||
| Version: 2.3.3 | ||
| Summary: Complete Python Utility Toolkit with cFonts, Social Media OSINT, and more | ||
@@ -5,0 +5,0 @@ Author: Paras Chourasiya |
| pyproject.toml | ||
| parascode/__init__.py | ||
| parascode/__version__.py | ||
| parascode/cli.py | ||
| parascode/core.py | ||
@@ -6,0 +5,0 @@ parascode.egg-info/PKG-INFO |
+10
-107
@@ -1,111 +0,14 @@ | ||
| """ | ||
| ParasCode - Complete Python Utility Toolkit | ||
| Author: Paras Chourasiya | ||
| GitHub: https://github.com/Aptpy | ||
| """ | ||
| from .__version__ import __version__ | ||
| from .core import ( | ||
| # Main class | ||
| ParasCode, | ||
| # Instances | ||
| pc, | ||
| # Utility functions | ||
| cprint, | ||
| random_string, | ||
| random_number, | ||
| random_user_agent, | ||
| get_client, | ||
| link, | ||
| expire, | ||
| clear, | ||
| banner, | ||
| clear_screen, | ||
| print_colored, | ||
| colored, | ||
| # cFonts functions | ||
| render, | ||
| say, | ||
| show_fonts, | ||
| show_colors, | ||
| show_backgrounds, | ||
| # Social Media Classes | ||
| Instagram, | ||
| Twitter, | ||
| Tiktok, | ||
| Facebook, | ||
| Spotify, | ||
| # Email Class | ||
| Email, | ||
| # Utility Classes | ||
| UserAgent, | ||
| Curl, | ||
| Proxy, | ||
| # Helper functions | ||
| get_country_info, | ||
| GetMid, | ||
| coockie, | ||
| # Session | ||
| r | ||
| from .parascode import ( | ||
| __version__, pc, cprint, random_string, random_number, | ||
| random_user_agent, get_client, clear, banner, colored, | ||
| print_colored, clear_screen, show_fonts, show_colors, | ||
| render, say, run, ParasCode | ||
| ) | ||
| __all__ = [ | ||
| # Version | ||
| "__version__", | ||
| # Main class | ||
| "ParasCode", | ||
| "pc", | ||
| # Utility functions | ||
| "cprint", | ||
| "random_string", | ||
| "random_number", | ||
| "random_user_agent", | ||
| "get_client", | ||
| "link", | ||
| "expire", | ||
| "clear", | ||
| "banner", | ||
| "clear_screen", | ||
| "print_colored", | ||
| "colored", | ||
| # cFonts functions | ||
| "render", | ||
| "say", | ||
| "show_fonts", | ||
| "show_colors", | ||
| "show_backgrounds", | ||
| # Social Media | ||
| "Instagram", | ||
| "Twitter", | ||
| "Tiktok", | ||
| "Facebook", | ||
| "Spotify", | ||
| "Email", | ||
| # Utilities | ||
| "UserAgent", | ||
| "Curl", | ||
| "Proxy", | ||
| # Helpers | ||
| "get_country_info", | ||
| "GetMid", | ||
| "coockie", | ||
| # Session | ||
| "r", | ||
| "__version__", "pc", "cprint", "random_string", | ||
| "random_number", "random_user_agent", "get_client", | ||
| "clear", "banner", "colored", "print_colored", | ||
| "clear_screen", "show_fonts", "show_colors", | ||
| "render", "say", "run", "ParasCode" | ||
| ] |
@@ -1,1 +0,1 @@ | ||
| __version__ = "2.3.2" | ||
| __version__ = "2.3.3" |
+1
-1
| Metadata-Version: 2.4 | ||
| Name: parascode | ||
| Version: 2.3.2 | ||
| Version: 2.3.3 | ||
| Summary: Complete Python Utility Toolkit with cFonts, Social Media OSINT, and more | ||
@@ -5,0 +5,0 @@ Author: Paras Chourasiya |
+1
-1
@@ -7,3 +7,3 @@ [build-system] | ||
| name = "parascode" | ||
| version = "2.3.2" | ||
| version = "2.3.3" | ||
| description = "Complete Python Utility Toolkit with cFonts, Social Media OSINT, and more" | ||
@@ -10,0 +10,0 @@ readme = "README.md" |
-112
| #!/usr/bin/env python3 | ||
| """ | ||
| ParasCode Command Line Interface | ||
| """ | ||
| import argparse | ||
| import sys | ||
| from . import ( | ||
| __version__, pc, say, render, show_fonts, | ||
| show_colors, show_backgrounds, Instagram, Twitter | ||
| ) | ||
| def main(): | ||
| parser = argparse.ArgumentParser( | ||
| description="ParasCode - Python Utility Toolkit", | ||
| formatter_class=argparse.RawDescriptionHelpFormatter, | ||
| epilog=""" | ||
| Examples: | ||
| parascode "Hello World" --font block --colors red,blue | ||
| parascode "Python" --font 3d --gradient red,yellow,green | ||
| parascode --instagram cristiano | ||
| parascode --twitter elonmusk | ||
| parascode --list-fonts | ||
| """ | ||
| ) | ||
| parser.add_argument("text", nargs="?", help="Text to render with cFonts") | ||
| parser.add_argument("-f", "--font", default="block", help="Font name (default: block)") | ||
| parser.add_argument("-c", "--colors", help="Colors (comma separated)") | ||
| parser.add_argument("-g", "--gradient", help="Gradient colors (comma separated)") | ||
| parser.add_argument("-a", "--align", default="left", choices=["left", "center", "right"], help="Text alignment") | ||
| parser.add_argument("-b", "--background", help="Background color") | ||
| parser.add_argument("--instagram", metavar="USERNAME", help="Get Instagram user info") | ||
| parser.add_argument("--twitter", metavar="USERNAME", help="Get Twitter user info") | ||
| parser.add_argument("--check-email", metavar="EMAIL", help="Check if email exists on Instagram") | ||
| parser.add_argument("--list-fonts", action="store_true", help="List all available fonts") | ||
| parser.add_argument("--list-colors", action="store_true", help="List all available colors") | ||
| parser.add_argument("--list-backgrounds", action="store_true", help="List all background colors") | ||
| parser.add_argument("-v", "--version", action="store_true", help="Show version") | ||
| args = parser.parse_args() | ||
| if args.version: | ||
| print(f"ParasCode v{__version__}") | ||
| return | ||
| if args.list_fonts: | ||
| show_fonts() | ||
| return | ||
| if args.list_colors: | ||
| show_colors() | ||
| return | ||
| if args.list_backgrounds: | ||
| show_backgrounds() | ||
| return | ||
| if args.instagram: | ||
| info = Instagram.information(args.instagram) | ||
| if info: | ||
| print(f"\nš± Instagram: @{args.instagram}") | ||
| print(f"š¤ Name: {info.get('name', 'N/A')}") | ||
| print(f"š„ Followers: {info.get('followers', 'N/A')}") | ||
| print(f"š Posts: {info.get('post', 'N/A')}") | ||
| print(f"ā Verified: {info.get('is_verified', False)}") | ||
| print(f"š Private: {info.get('is_private', False)}") | ||
| print(f"š Joined: {info.get('date', 'N/A')}") | ||
| else: | ||
| print(f"ā User @{args.instagram} not found") | ||
| return | ||
| if args.twitter: | ||
| info = Twitter.information(args.twitter) | ||
| if info: | ||
| print(f"\nš¦ Twitter: @{args.twitter}") | ||
| print(f"š¤ Name: {info.get('name', 'N/A')}") | ||
| print(f"š„ Followers: {info.get('followers', 'N/A')}") | ||
| print(f"š Bio: {info.get('bio', 'N/A')}") | ||
| print(f"š Location: {info.get('location', 'N/A')}") | ||
| print(f"ā Verified: {info.get('verified', False)}") | ||
| else: | ||
| print(f"ā User @{args.twitter} not found") | ||
| return | ||
| if args.check_email: | ||
| result = Instagram.CheckEmail(args.check_email) | ||
| if result: | ||
| print(f"ā Email {args.check_email} is registered on Instagram") | ||
| else: | ||
| print(f"ā Email {args.check_email} is NOT registered on Instagram") | ||
| return | ||
| if args.text: | ||
| colors = args.colors.split(",") if args.colors else None | ||
| gradient = args.gradient.split(",") if args.gradient else None | ||
| say( | ||
| args.text, | ||
| font=args.font, | ||
| colors=colors, | ||
| gradient=gradient, | ||
| align=args.align, | ||
| background=args.background or "transparent" | ||
| ) | ||
| else: | ||
| parser.print_help() | ||
| if __name__ == "__main__": | ||
| main() |
Sorry, the diff of this file is too big to display
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
28272
-74.4%12
-7.69%469
-77.28%