Coder Social home page Coder Social logo

l-n-s / i2plib Goto Github PK

View Code? Open in Web Editor NEW
30.0 4.0 9.0 102 KB

๐Ÿ i2plib: A modern asynchronous library for building I2P applications

Home Page: https://i2plib.readthedocs.io/en/latest/

License: MIT License

Python 100.00%
i2p python asyncio

i2plib's People

Contributors

42b avatar l-n-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

i2plib's Issues

Doesn't work on python 3.11 version

when running any code with this library, this error appears.
when running the wget example:

Traceback (most recent call last):
  File "/home/justnyan/MyProject/JUNQ-protocol-python/test/i2p.py", line 36, in <module>
    loop.run_until_complete(wget(i2plib.get_sam_address(), loop, url))
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/justnyan/MyProject/JUNQ-protocol-python/test/i2p.py", line 12, in wget
    async with i2plib.Session(session_name, sam_address=sam_address, loop=loop):
  File "/usr/local/lib/python3.11/dist-packages/i2plib-0.0.14-py3.11.egg/i2plib/aiosam.py", line 198, in __aenter__
  File "/usr/local/lib/python3.11/dist-packages/i2plib-0.0.14-py3.11.egg/i2plib/aiosam.py", line 106, in create_session
  File "/usr/local/lib/python3.11/dist-packages/i2plib-0.0.14-py3.11.egg/i2plib/aiosam.py", line 28, in get_sam_socket
  File "/usr/lib/python3.11/asyncio/streams.py", line 48, in open_connection
    transport, _ = await loop.create_connection(
                         ^^^^^^^^^^^^^^^^^^^^^^^
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'loop'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.