Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
ScriptMan is a versatile Python package that simplifies script management tasks, offering a wide range of utilities for various scripting needs. Whether you're dealing with data, databases, command-line interfaces, web automation, or just aiming for better script organization, ScriptMan has you covered. With features like cleanup handling, database interaction, file management, logging, and more, ScriptMan is your go-to tool for efficient and well-organized scripting in Python.
ScriptMan is a Python package that provides a comprehensive set of tools and utilities for managing Python scripts. Whether you're working with data, databases, command-line interfaces, web automation, or just need better script organization, ScriptMan has you covered.
You can install ScriptMan using pip:
pip install scriptman
import scriptman
# Example: Run a script
scriptman.ScriptsHandler().run_script('my_script.py')
To set up ScriptMan for your project, you should call the following method from the Settings
class upon start:
from scriptman import Settings
Settings.init(
root_dir='your_project_directory',
logging=True, # Enable logging (default is True)
debugging=False, # Enable debugging mode (default is False)
)
Calling this method will set up ScriptMan's app files in your project directory under the app folder. It will create various folders:
downloads
: Used for downloads (e.g., Downloads made by Selenium).helpers
: Used for any extra modules you want to reuse in your code (e.g., API Classes).scripts
: Where your scripts should reside.Logs
: Where the log files will be saved.For detailed documentation and examples, please refer to the package documentation.
# Import ScriptMan modules
import scriptman
# Create a ScriptsHandler instance
script_handler = scriptman.ScriptsHandler()
# Run a Python script
script_handler.run_script('my_script.py')
We welcome contributions! Please feel free to submit issues and pull requests to help improve this package.
This package is distributed under the MIT License.
FAQs
ScriptMan is a versatile Python package that simplifies script management tasks, offering a wide range of utilities for various scripting needs. Whether you're dealing with data, databases, command-line interfaces, web automation, or just aiming for better script organization, ScriptMan has you covered. With features like cleanup handling, database interaction, file management, logging, and more, ScriptMan is your go-to tool for efficient and well-organized scripting in Python.
We found that scriptman demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.