Skip to main content

A simplified Python library for beginners

Project description

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]

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

babypy-0.1.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

babypy-0.1.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file babypy-0.1.0.tar.gz.

File metadata

  • Download URL: babypy-0.1.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for babypy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 38cf495974464f06daeda24ba33c8000abb70fe1efcc3d3f29319070c76e16af
MD5 68e1f38444beaff6852fc3042a9f00f7
BLAKE2b-256 6f3f89ba135c90dc092e91e8dd3333fcfb192598c4a7629dc4d646da13ef5d09

See more details on using hashes here.

File details

Details for the file babypy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: babypy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for babypy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d34b5623419bcc98a2e4c387676255bdec9324229f3e30ad0992f7201d27f3b1
MD5 5803c32a9b0e02017ed7e729224161b0
BLAKE2b-256 77f74543bdd9fa09c828dc25eb0337b339ebeff1667ab94627f000fa471a1446

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