
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.
pip install deylami-calendar
Get current datetime in deylami
from deylami_calendar import DeylamiDatetime
print(DeylamiDatetime.now())
Convert Gregorian datetime to Deylami
from datetime import datetime
from deylami_calendar import DeylamiDatetime
gregorian_datetime = datetime(2018, 2, 1)
deylami_datetime = DeylamiDatetime(gregorian_datetime)
Convert Deylami to Gregorian datetime
from deylami_calendar import DeylamiDatetime
deylami_datetime = DeylamiDatetime(1591, 6, 28)
gregorian_datetime = deylami_datetime.to_datetime()
Read attributes
from deylami_calendar import DeylamiDatetime
d = DeylamiDatetime().now()
print(
d.year,
d.month,
d.day,
d.hour,
d.minute,
d.second
)
Set time-zone
import pytz
from deylami_calendar import DeylamiDatetime
d = DeylamiDatetime(tzinfo=pytz.timezone('Asia/Tehran')).now()
print(d)
FAQs
Deylami (Gilaki) calendar for python
We found that deylami-calendar 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.