Skip to main content

⚙️ CoreEase — Simplify Your Workflow

CoreEase is a robust Python package designed to automate repetitive tasks, manage threads efficiently, and provide easy utilities for system operations. Whether you are handling files, automating browsers, or working with system resources, CoreEase helps you streamline your workflow with powerful, ready-to-use functions.


🚀 What's New in Version 0.3.0

  • 🆕 Compiler Support: Convert your .py scripts into .exe files easily.
  • 🆕 Streamlined Code Formatting: Compact and efficient module structures.
  • 🆕 Enhanced Thread Management: Improved load-buffer animations and task submission.

📌 Key Features

🧵 Thread Management

  • Submit tasks to threads with automatic CPU-based worker allocation.
  • Built-in animated load buffer to indicate progress.
  • Non-blocking and blocking task submission options.

🌐 Browser Automation

  • Start and control web browsers for form filling, button clicking, and link scraping.
  • Headless browsing option for fast, invisible automation.
  • Automatic detection and interaction with login fields and buttons.

📂 File and Directory Operations

  • Perform essential file operations: check existence, create, read, append, and delete.
  • Manage directories: list contents, create nested structures, and remove folders.
  • Simplified path joining for cross-platform compatibility.

💻 Compiler Support (New in v0.3.0)

  • Build .exe files from your .py scripts for easy sharing.
  • Supports multiple compilers with automatic detection and installation prompts.

🖥️ Console and System Utilities

  • Retrieve system information such as CPU count, console size, and current time.
  • Display centered output or enumerated lists directly in the terminal.
  • Execute console commands and clear the terminal easily.

🛠️ Installation

From PyPI:

pip install CoreEase

From GitHub:

pip install git+https://github.com/Casbian/CoreEase.git

📖 Quickstart Guide

🧵 Run Tasks with Threads

from CoreEase.executor import INIT, SUBMIT_WB

def my_task():
    print("Processing task...")

INIT()  
SUBMIT_WB(my_task)

🌐 Automate Browser Actions

from CoreEase.webdriver import BROWSER_START, BROWSER_GOURL, PARS_LINKS, BROWSER_CLOSE

BROWSER_START(hidden=True)  
BROWSER_GOURL("https://example.com")  
http_links, https_links = PARS_LINKS()  
print("HTTP Links:", http_links)  
print("HTTPS Links:", https_links)  
BROWSER_CLOSE()

📂 Manage Files

from CoreEase.explorer import FILE_EXIST, FILE_CREATE, FILE_APPEND

file_name = "data.txt"

if not FILE_EXIST(file_name):
    FILE_CREATE(file_name)

FILE_APPEND(file_name, "Appending new line to the file.")

💻 Compile Python Scripts (New in v0.3.0)

python -m compiler --onefile script.py

🖥️ Get System Information

from CoreEase.system import ENV_CPUCOUNT, TIME_CURRENT

print("CPU Cores:", ENV_CPUCOUNT())  
print("Current Time:", TIME_CURRENT())

📂 File Structure Overview

CoreEase/
├── CoreEase/
│   ├── __init__.py
│   ├── compiler.py
│   ├── executor.py
│   ├── explorer.py
│   ├── output.py
│   ├── system.py
│   └── webdriver.py
├── README.md
├── LICENSE
└── setup.py

💾 Dependencies

CoreEase requires:

  • Python >= 3.7

🧩 Contributing

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository.
  2. Clone it:
    git clone https://github.com/Casbian/CoreEase.git
    
  3. Create a new branch for your feature.
  4. Commit and push your changes.
  5. Submit a pull request.

📜 License

CoreEase is released under the MIT License.

  • You are free to use, modify, and distribute this software.
  • We are not liable for any damages resulting from the use of this software.

Metadata

Release files for CoreEase 0.3.6

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

Source distribution (sdist)

Source distribution for CoreEase 0.3.6
File Size Uploaded
coreease-0.3.6.tar.gz 16.2 kB Details

Built distribution (wheel)

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

Total release size: 44.2 kB

Release files / coreease-0.3.6.tar.gz

Download URL coreease-0.3.6.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c98c5062e6803dc9eb83fc321316718aab6cc9e4e927930bf3c8fc019d580712
BLAKE2b-256 checksum
How to use checksums
82c6be936e41b0411b97eb2a890eacffd4112df4c0848581c8e358007d9d0259
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / CoreEase-0.3.6-py3-none-any.whl

Download URL CoreEase-0.3.6-py3-none-any.whl
Size 27.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2345643ed8d9464785afd1f059bc282c493806bc2d57739c8204659fe7d8ca67
BLAKE2b-256 checksum
How to use checksums
a4a1213ae103fb842e1c66cc215ee5768243eacca9e4449dbb73d27689d6455c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.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