⚙️ 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
.pyscripts into.exefiles 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
.exefiles from your.pyscripts 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:
- Fork the repository.
- Clone it:
git clone https://github.com/Casbian/CoreEase.git
- Create a new branch for your feature.
- Commit and push your changes.
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| coreease-0.3.6.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|