
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
A Python library to get bus times from the Bus Nearby API https://www.busnearby.co.il/
You can install the library from PyPI:
pip install busnearby
Alternatively, you can install it directly from the source:
git clone https://github.com/t0mer/py-busnearby.git
cd bus_times
pip install .
Here are some examples of how to use the library:
To get bus times for a specific station and bus lines, you can use the get_bus_times function.
from busnearby import BusNearBy
import asyncio
bus = BusNearBy()
async def main():
station = "34501"
bus_lines = "609,636,10,15"
try:
result = await bus.get_bus_times(station, bus_lines)
print(result)
except ValueError as e:
print(f"Error: {e}")
except RuntimeError as e:
print(f"Error: {e}")
asyncio.run(main())
{
"stationName": "שדרות וייצמן/עקיבא",
"time": "2024-07-22 13:10:43.974935",
"buses": [
{
"lineNumber": "10",
"arrivalSeconds": 644
},
{
"lineNumber": "15",
"arrivalSeconds": 1501
},
{
"lineNumber": "609",
"arrivalSeconds": 2210
},
{
"lineNumber": "636",
"arrivalSeconds": 3532
},
{
"lineNumber": "636",
"arrivalSeconds": 6728
}
]
}
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
FAQs
A library to get bus times from the Bus Nearby API
We found that busnearby 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.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.