
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Python client for HAFAS public transport APIs.
The python package is generated from Hafas Client in F# with fable-py, a tool that translates F# source files to Python (currently a prerelease).
Related:
Retrieve journeys:
import asyncio
import sys
from fshafas.fable_modules.fs_hafas_profiles_python.db.profile import profile
from fshafas.hafas_client import HafasClient
async def main(argv) -> int:
with HafasClient(profile) as client:
journeys = await client.journeys(argv[0], argv[1])
for j in journeys.journeys:
for l in j.legs:
print(l.origin.name, l.destination.name, l.departure)
return 0
if __name__ == "__main__":
asyncio.run(main(sys.argv[1:]))
The class HafasClient
corresponds to the Javascript HafasClient interface.
FAQs
python client for HAFAS public transport APIs
We found that fshafas 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.