
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
LLM-based CSV parsing for Process Mining purposes. It is compatible with advanced LLMs exposing the OpenAI's API.
pip install -U csv_pm_llm_parsing
Please provide the openai_api_url, openai_api_key, and openai_model as in the examples below.
Alternatively, they could be set up in the system environment variables OPENAI_API_URL, OPENAI_API_KEY, and OPENAI_MODEL.
Examples settings:
Example code:
import csv_pm_llm_parsing
csv_path = "testfiles/sep_detection/01_comma_doublequote.csv"
format = csv_pm_llm_parsing.detect_sep_and_quote(csv_path, input_encoding="utf-8", openai_api_url="https://api.openai.com/v1", openai_api_key="sk-", openai_model="gpt-4o", return_detected_sep=True)
print(format)
Example code:
import pandas as pd
import csv_pm_llm_parsing
csv_path = "testfiles/cid_acti_timest/01.csv"
dataframe = pd.read_csv(csv_path)
main_columns = csv_pm_llm_parsing.detect_caseid_activity_timestamp(dataframe, openai_api_url="https://api.openai.com/v1", openai_api_key="sk-", openai_model="gpt-4o", return_suggestions=True)
print(main_columns)
Example code:
import pandas as pd
import csv_pm_llm_parsing
csv_path = "testfiles/timest_format/05_rfc1123.csv"
dataframe = pd.read_csv(csv_path)
timest_column = "time:timestamp"
timest_format = csv_pm_llm_parsing.detect_timest_format(dataframe, timest_column=timest_column, openai_api_url="https://api.openai.com/v1", openai_api_key="sk-", openai_model="gpt-4o", return_timest_format=True)
print(timest_format)
dataframe[timest_column] = pd.to_datetime(dataframe[timest_column], format=timest_format)
dataframe.info()
Example code:
import csv_pm_llm_parsing
csv_path = "testfiles/overall/01.csv"
dataframe = csv_pm_llm_parsing.full_parse_csv_for_pm(csv_path, openai_api_url="https://api.openai.com/v1", openai_api_key="sk-", openai_model="gpt-4o")
dataframe.info()
print(dataframe)
FAQs
LLM-based CSV parsing for Process Mining purposes
We found that csv-pm-llm-parsing 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.