Skip to main content

BabyPy: Simplified Python Programming for Everyone

BabyPy is a user-friendly Python library that simplifies complex programming tasks, making it easier for beginners and experienced developers alike to create powerful applications quickly.

🌟 Features

BabyPy offers a wide range of functionalities across various domains:

🖥️ Basic Operations

  • Print messages (say)
  • Get user input (ask)
  • Convert text to numbers (make_number)
  • Create and manipulate lists (make_list, sort_stuff, mix_up, remove_copies)
  • Work with strings (join_words, split_big_word, say_loudly, say_quietly)

🧮 Math and Statistics

  • Basic arithmetic (add_up, find_middle)
  • Generate number sequences (count_from_to)
  • Round numbers (make_rounder)
  • Advanced math (factorial, is_prime, fibonacci)
  • Calculate percentages (calculate_percentage)

📅 Date and Time

  • Get current date and time (get_today, get_now)
  • Format dates (format_date)
  • Calculate date differences (date_difference)
  • Add days to a date (add_days_to_date)

📁 File Operations

  • Read and write files (read_file, write_file, add_to_file)
  • List directory contents (list_files)
  • Create and delete directories (make_directory)
  • Rename files (rename_file)
  • Get file size (get_file_size)

🔢 Data Structures

  • Dictionaries (make_box)
  • Stacks and Queues (Stack, Queue, PriorityQueue)

📊 Data Analysis and Visualization

  • Create and manipulate DataFrames (make_table, read_csv, save_csv)
  • Generate plots (make_picture, make_bar_chart, make_scatter_plot)
  • Create heatmaps and violin plots (make_heatmap, make_violin_plot)

🎮 Game Development

  • Initialize game windows (start_game)
  • Draw shapes and images (draw_circle, draw_rectangle, draw_image)
  • Handle game events (get_key_pressed)
  • Play sounds (make_sound, play_sound)
  • Create sprites and detect collisions (create_sprite, detect_collision)

🌐 Web Development and Scraping

  • Send HTTP requests (get_webpage, download_file)
  • Parse HTML (parse_html, find_all_tags)
  • Run a web server (run_web_server)
  • Scrape dynamic content (scrape_dynamic_content)

💾 Database Operations

  • Connect to SQLite databases (connect_to_db, run_query)

📡 Network Operations

  • Get IP addresses (get_ip_address, get_public_ip)
  • Ping addresses (ping_address)
  • Check open ports (is_port_open)

🔐 Encryption and Security

  • Generate hashes (make_hash)
  • Encrypt and decrypt messages (encrypt_message, decrypt_message, encrypt_message_secure, decrypt_message_secure)

🎛️ System Operations

  • Get system information (get_system_info)
  • Run system commands (run_command)

🔊 Audio Processing

  • Record and play audio (record_audio, play_audio)

🤖 Machine Learning

  • Perform simple linear regression (simple_linear_regression)

📝 Natural Language Processing

  • Tokenize text (tokenize_text)
  • Remove stopwords (remove_stopwords)
  • Stem words (stem_words)

🖼️ Image Processing

  • Open, save, and manipulate images (open_image, save_image, resize_image, rotate_image)
  • Apply filters (apply_filter)
  • Crop images (crop_image)

📷 Computer Vision

  • Capture images from camera (capture_image)

🗺️ Geocoding

  • Get coordinates for addresses (get_coordinates)

🗣️ Text-to-Speech

  • Convert text to speech (text_to_speech)

📱 QR Code Generation

  • Create QR codes (create_qr_code)

📄 PDF Manipulation

  • Merge PDF files (merge_pdfs)

🗜️ Data Compression

  • Compress and decompress data (compress_data, decompress_data)

🚀 Getting Started

  1. Install BabyPy:

    pip install babypy
    
  2. Import BabyPy in your Python script:

    import babypy as easy
    
  3. Start using BabyPy's simplified functions:

    easy.say("Hello, World!")
    name = easy.ask("What's your name?")
    easy.say(f"Nice to meet you, {easy.say_loudly(name)}!")
    

📚 Documentation

For detailed documentation on all available functions and their usage, please see our Wiki.

📄 License

BabyPy is released under the MIT License. See the LICENSE file for details.

🙏 Acknowledgements

BabyPy was inspired by the need to make Python programming more accessible to beginners while providing powerful tools for experienced developers.


Made with ❤️ by [Jagath/No-Book-Lad]

Metadata

Release files for babypy 0.1.0

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

Source distribution (sdist)

Source distribution for babypy 0.1.0
File Size Uploaded
babypy-0.1.0.tar.gz 13.8 kB Details

Built distribution (wheel)

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

Total release size: 25.6 kB

Release files / babypy-0.1.0.tar.gz

Download URL babypy-0.1.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
38cf495974464f06daeda24ba33c8000abb70fe1efcc3d3f29319070c76e16af
BLAKE2b-256 checksum
How to use checksums
6f3f89ba135c90dc092e91e8dd3333fcfb192598c4a7629dc4d646da13ef5d09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / babypy-0.1.0-py3-none-any.whl

Download URL babypy-0.1.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d34b5623419bcc98a2e4c387676255bdec9324229f3e30ad0992f7201d27f3b1
BLAKE2b-256 checksum
How to use checksums
77f74543bdd9fa09c828dc25eb0337b339ebeff1667ab94627f000fa471a1446
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

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