Skip to main content

async-irc

An implementation of asyncio.Protocol for IRC

CI - Test CD - Build codecov

PyPI - Version PyPI - Downloads PyPI - Python Version

linting - Ruff types - Mypy

License - MIT

Using the library

  • You can install the library using pip: pip install async-irc

Example

import asyncio

from asyncirc.protocol import IrcProtocol
from asyncirc.server import Server

loop = asyncio.get_event_loop()

servers = [
    Server("irc.example.org", 6697, True),
    Server("irc.example.com", 6667),
]

async def log(conn, message):
    print(message)

async def main():
    conn = IrcProtocol(servers, "BotNick", loop=loop)
    conn.register_cap('userhost-in-names')
    conn.register('*', log)
    await conn.connect()
    await asyncio.sleep(24 * 60 * 60)

try:
    loop.run_until_complete(main())
finally:
    loop.stop()

Release files for async-irc 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for async-irc 0.3.0
File Size Uploaded
async_irc-0.3.0.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for async-irc 0.3.0
File Interpreter ABI Platform
async_irc-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.2 kB

Release files / async_irc-0.3.0.tar.gz

Download URL async_irc-0.3.0.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7dac1e069659cd61000c460998c43c3af68407d8700fa1bf6a04b449d2f2743d
BLAKE2b-256 checksum
How to use checksums
8a447318235330f645380860028c932e678410dc17f50f62b91b5b36d410d7a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2025.

Transparency log

Release files / async_irc-0.3.0-py3-none-any.whl

Download URL async_irc-0.3.0-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed161a76f70222dd992a30879d57fdcf773e3a9a151f6bf1981257bcb0f73341
BLAKE2b-256 checksum
How to use checksums
f8dd7928b1f9132f7b97e6855ad4ded6f61d23118e2ccc0548e5e5f9a897988f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page