Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Python package providing shortcuts to small tasks like string manipulation, running background tasks, configuring logging, accessing web API etc.
Aries is a Python package providing shortcuts to a wide range of small tasks like access files on the cloud, running background tasks, configuring logging, etc.
Aries includes:
outputs.py
) module for logging and capturing outputs.tasks.py
) module to manage asynchronous/background functions and commands.string.py
) module to provide enhanced String types, as well as FileName, Base64String.excel.py
) module to create, read and modify Microsoft Excel spreadsheets.files.py
) module to handle JSON, Markdown and temporary files with templates.web.py
) module to access web APIs and HTML pages.Aries is developed with Python 3.7. You can install the full package with pip
:
pip3 install Aries-Python
Alternatively, you can also install only the storage package using:
pip3 install Aries-storage
To use this package, import the module/sub-package from Aries
from Aries.tasks import ShellCommand
As an example, here is how to use Aries to write a pandas
DataFrame to a CSV file on Google Cloud Storage:
import pandas as pd
df = pd.DataFrame([1, 3, 5])
uri = "gs://bucket_name/path/to/file.txt"
# Using StorageFile with pandas
with StorageFile.init(uri, 'w') as f:
# f will be a file-like object
df.to_csv(f)
See the documentation for sub-packages for more details.
FAQs
Python package providing shortcuts to small tasks like string manipulation, running background tasks, configuring logging, accessing web API etc.
We found that Aries-Python 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.