Current collected state Current
Observed since 21 Oct, 11:44 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aiocmdline
Python class to build async-compatible line-oriented command interpreter
Python has a builtin module that provides a line-oriented command interpreter. However, the builtin module is difficult to use with async Python code. This module provides a ready-to-use class that simplifies the implementation of regular and async commands.
class MyCmdline(AIOCmdline):
def do_quit(self):
self.stop_cmdloop()
async def do_sleep(self, arg):
await asyncio.sleep(int(arg))
print("sleep done")
mycmdline = MyCmdline(prompt="mycmd> ", history=True)
mycmdline.cmdloop()
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
aioreadlineEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.0",
"evaluation": "NOT_EVALUATED"
} | aioreadline | runtime |
bdist_wheel · 4.49 KB · Python py3
sdist · 3.44 KB · Python source
Observed since 21 Oct, 11:44 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:3f13813a8564b789e62aa02d26041b9247f0e2295767d3a508a3f63ea7be1917