{"id":40675727,"url":"https://github.com/pgiri/pycos","last_synced_at":"2026-01-21T09:39:56.871Z","repository":{"id":147630710,"uuid":"91977091","full_name":"pgiri/pycos","owner":"pgiri","description":" Concurrent, Asynchronous, Distributed, Communicating Tasks with Python","archived":false,"fork":false,"pushed_at":"2024-06-28T04:54:11.000Z","size":1680,"stargazers_count":49,"open_issues_count":14,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-11-27T17:15:13.151Z","etag":null,"topics":["asynchronous-programming","cluster-computing","concurrent-programming","distributed-computing","message-passing","python"],"latest_commit_sha":null,"homepage":"https://pycos.org","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pgiri.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-21T17:58:23.000Z","updated_at":"2025-10-09T14:06:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9de0e76-c187-47e1-b54f-3c643e89aee3","html_url":"https://github.com/pgiri/pycos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pgiri/pycos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgiri%2Fpycos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgiri%2Fpycos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgiri%2Fpycos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgiri%2Fpycos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgiri","download_url":"https://codeload.github.com/pgiri/pycos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgiri%2Fpycos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28631504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asynchronous-programming","cluster-computing","concurrent-programming","distributed-computing","message-passing","python"],"created_at":"2026-01-21T09:39:56.296Z","updated_at":"2026-01-21T09:39:56.858Z","avatar_url":"https://github.com/pgiri.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pycos\n######\n\n    .. note:: Full documentation for pycos is now available at `pycos.org\n              \u003chttps://pycos.org\u003e`_.\n\n`pycos \u003chttps://pycos.org\u003e`_ is a Python framework for asynchronous, concurrent, network /\ndistributed programming, distributed computing with *very* light weight tasks and message passing.\n\nUnlike with other asynchronous frameworks, programs developed with pycos have\n**same logic and structure** as programs with threads, except for a few\nsyntactic changes - mostly using *yield* with asynchronous completions that give\ncontrol to pycos's scheduler, which interleaves executions of tasks, similar to\nthe way an operating system executes multiple processes. In addition, pycos has\nmany additional features, including message passing for communication,\ndistributed computing/programming etc.\n\nUnlike threads, creating tasks with pycos is very efficient. Moreover, with\npycos context switch occurs only when tasks use *yield* (typically with an\nasychronous call), so there is no need for locking and there is no overhead of\nunnecessary context switches.\n\npycos works with Python versions 2.7+ and 3.1+ on Linux, Mac OS X and Windows; it may\nwork on other platforms (e.g., FreeBSD and other BSD variants) too.\n\nFeatures\n--------\n\n* No callbacks or event loops! No need to lock critical sections either,\n\n* Efficient polling mechanisms epoll, kqueue, /dev/poll, Windows\n  I/O Completion Ports (IOCP) for high performance and\n  scalability,\n\n* Asynchronous (non-blocking) sockets and pipes, for concurrent\n  processing of I/O,\n\n* SSL for security,\n\n* Asynchronous locking primitives similar to Python threading module,\n\n* Asynchronous timers and timeouts,\n\n* `Message passing \u003chttp://en.wikipedia.org/wiki/Message_passing\u003e`_\n  for (local and remote) tasks to exchange messages one-to-one\n  with `Message Queue Pattern\n  \u003chttp://en.wikipedia.org/wiki/Message_queue\u003e`_ or through\n  broadcasting channels with `Publish-Subscribe Pattern\n  \u003chttp://en.wikipedia.org/wiki/Publish/subscribe\u003e`_,\n\n* `Location transparency\n  \u003chttp://en.wikipedia.org/wiki/Location_transparency\u003e`_ with naming\n  and locating (local and remote) resources,\n\n* Remote Pico Service (RPS) for defining services that remote clients can run as tasks\n  (with possibly message passing to communicate).\n\n* Distributing computation components (code and data) for execution of\n  distributed communicating processes, for wide range of use cases, covering\n  `SIMD, MISD, MIMD \u003chttps://en.wikipedia.org/wiki/Flynn%27s_taxonomy\u003e`_ system\n  architectures at the process level, `web interface\n  \u003chttps://pycos.org/dispycos.html#client-browser-interface\u003e`_ to\n  monitor cluster/application status/performance; `in-memory processing\n  \u003chttps://en.wikipedia.org/wiki/In-memory_processing\u003e`_, data streaming,\n  real-time (live) analytics and cloud computing are supported as well,\n\n* Monitoring and restarting of (local or remote) tasks, for fault detection\n  and fault-tolerance,\n\n* Hot-swapping of task functions, for dynamic system reconfiguration.\n\n* Thread pools with asynchronous task completions, for executing (external)\n  synchronous tasks, such as reading standard input.\n\nDependencies\n------------\n\npycos is implemented with standard modules in Python.\n\nIf `psutil \u003chttps://pypi.python.org/pypi/psutil\u003e`_ is available on nodes, node\navailability status (CPU, memory and disk) is sent in status messages, and shown\nin web browser so node/application performance can be monitored.\n\nUnder Windows efficient polling notifier I/O Completion Ports (IOCP) is\nsupported only if `pywin32 \u003chttps://github.com/mhammond/pywin32\u003e`_ is available;\notherwise, inefficient *select* notifier is used.\n\nInstallation\n------------\nTo install pycos, run::\n\n   python -m pip install pycos\n\nAuthors\n-------\n* Giridhar Pemmasani\n\nLinks\n-----\n* Documentation is at `pycos.org`_.\n* `GitHub (Code Repository) \u003chttps://github.com/pgiri/pycos\u003e`_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgiri%2Fpycos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgiri%2Fpycos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgiri%2Fpycos/lists"}