A Python package to standardize my workflows and simplify repetitive tasks.
Project description
โ๏ธ 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coreease-0.3.2.tar.gz.
File metadata
- Download URL: coreease-0.3.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d633bcd195197d356ac0bbf955a1c9f81066651405fd1d3e56e577e29d1f320
|
|
| MD5 |
a541c5ad769faeeff8cb6c38e9143c7b
|
|
| BLAKE2b-256 |
ed2b99cd5587723c7cb3e6a1f08e8aef7766e801a59c6f1237c3220c9221bff4
|
File details
Details for the file CoreEase-0.3.2-py3-none-any.whl.
File metadata
- Download URL: CoreEase-0.3.2-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb63cb1b71a06bf732c2c30d62e653670dda3a3758181e09d27bac5ad3095498
|
|
| MD5 |
bca7ac8a20ffef5813b1c2a75a495f8b
|
|
| BLAKE2b-256 |
5da4c74da41236ec62743ea3bf002576c108b05b4dde97eb1a7ddf6f6ca736b8
|