Observed since 21 Oct, 11:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
An AIM client library for python.
This project implements an AIM (AOL Instant Messenger) client using the OSCAR protocol. The code facilitates connecting to the AIM service, sending and receiving instant messages, and provides the groundwork for further functionality.
pip install aimpyfly
This script demonstrates how to connect to the AIM server, log in with your credentials, send a message to another user, and receive incoming messages.
import asyncio
import logging
from aimpyfly import aim_client
# Define a callback for handling incoming messages
async def message_received(sender, message):
print(f"New message received from {sender}: {message}")
async def main():
# Initialize the AIM client with your credentials and server details
client = aim_client.AIMClient(server="<server>", port=5190, username="<screenname>", password="<password>", loglevel=logging.<LEVEL>)
# Set the callback to handle incoming messages
client.set_message_callback(message_received)
# Connect to the AIM server
await client.connect()
# Send a message to another AIM user
await client.send_message("ukozi", "Hello! This message was sent using the AIM Python client.")
# Keep the client running to handle and process incoming messages
await client.process_incoming_packets()
if __name__ == "__main__":
asyncio.run(main())
What This Does:
I'm actively working on extending this client to support additional features:
I encourage contributions to help build out this functionality!
The code includes detailed logging, which can be useful for debugging and understanding the network communication between the client and the AIM servers. Log messages include information about sent and received FLAP and SNAC packets. To set logging verbosity, pass loglevel=logging.<LEVEL> when creating an instance of AIMClient.
Special thanks to:
If you'd like to submit your own improvements:
This project is licensed under the MIT License.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 27 Sept 2024 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:24 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:46de0e4833df399cc8be3db0aa464c66b4df4857ac51bf15a0e6e9d8db5eab32