{"id":31699192,"url":"https://github.com/junaid433/py-coreutils","last_synced_at":"2026-04-18T01:31:59.262Z","repository":{"id":306988601,"uuid":"1027949151","full_name":"Junaid433/PY-CoreUtils","owner":"Junaid433","description":"The Modern, Cross-Platform Python Rewrite of GNU Coreutils","archived":false,"fork":false,"pushed_at":"2025-08-26T21:06:03.000Z","size":141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T19:17:06.381Z","etag":null,"topics":["cli","command-line","coreutils","cross-platform","developer-tools","gnu","hacktoberfest","linux","open-source","python","scripting","shell","sysadmin","tools","utilities"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Junaid433.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-28T19:27:20.000Z","updated_at":"2025-08-26T21:06:06.000Z","dependencies_parsed_at":"2025-10-08T19:15:48.415Z","dependency_job_id":"b1bfad0d-1489-4883-8766-ffd7858ad775","html_url":"https://github.com/Junaid433/PY-CoreUtils","commit_stats":null,"previous_names":["junaid433/pycoreutils","junaid433/py-coreutils"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Junaid433/PY-CoreUtils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Junaid433%2FPY-CoreUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Junaid433%2FPY-CoreUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Junaid433%2FPY-CoreUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Junaid433%2FPY-CoreUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Junaid433","download_url":"https://codeload.github.com/Junaid433/PY-CoreUtils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Junaid433%2FPY-CoreUtils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"last_error":"SSL_read: 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":["cli","command-line","coreutils","cross-platform","developer-tools","gnu","hacktoberfest","linux","open-source","python","scripting","shell","sysadmin","tools","utilities"],"created_at":"2025-10-08T19:15:34.735Z","updated_at":"2026-04-18T01:31:59.235Z","avatar_url":"https://github.com/Junaid433.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🐍✨ PY-CoreUtils\n\n**The Modern, Cross-Platform Python Port of GNU Coreutils**\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Python Version](https://img.shields.io/badge/python-3.6%2B-blue.svg)](https://www.python.org/)\n[![CI](https://github.com/Junaid433/PY-CoreUtils/actions/workflows/python-tests.yml/badge.svg)](https://github.com/Junaid433/PY-CoreUtils/actions)\n[![Open Issues](https://img.shields.io/github/issues/Junaid433/PY-CoreUtils?color=orange)](https://github.com/Junaid433/PY-CoreUtils/issues)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](CONTRIBUTING.md)\n\n\u003c/div\u003e\n\n---\n\n\u003e **✨ Unix CLI power, Pythonic flexibility. Run coreutils anywhere.**\n\n---\n\n## 🌟 Why PY-CoreUtils?\n\n- 🖥️ **Cross-platform**: Linux, macOS, Windows — no C toolchain needed.\n- 🧩 **Drop-in CLI tools**: Familiar commands, same flags, same output.\n- 🐍 **Pure Python**: No dependencies, hackable, readable, and extendable.\n- 💡 **Great for scripting, teaching, and dev environments**.\n- 🔥 **Modern code, modern vibes**.\n\n---\n\n## 🛠️ Quick Start\n\n```bash\n# Clone and run any tool instantly!\ngit clone https://github.com/Junaid433/PY-CoreUtils.git\ncd PY-CoreUtils\npython src/mkdir.py --help\npython src/rm.py --help\npython src/date.py --help\npython src/nproc.py --help\npython src/hostid.py --help\npython src/hostname.py --help\npython src/id.py --help\npython src/users.py --help\npython src/uptime.py --help\npython src/yes.py --help\n```\n\n---\n\n## 🧑‍💻 Coreutils, Python Style\n\n| Command      | Status |  | Command      | Status |\n| ------------ | ------ |--| ------------ | ------ |\n| `basename`   | ✅     |  | `cat`        | ✅     |\n| `chcon`      | ✅     |  | `chmod`      | ⏳     |\n| `date`       | ✅     |  | `echo`       | ✅     |\n| `hostid`     | ✅     |  | `hostname`   | ✅     |\n| `id`         | ✅     |  | `kill`       | ✅     |\n| `mkdir`      | ✅     |  | `nproc`      | ✅     |\n| `pwd`        | ✅     |  | `rm`         | ✅     |\n| `sleep`      | ✅     |  | `tee`        | ✅     |\n| `touch`      | ✅     |  | `uptime`     | ✅     |\n| `users`      | ✅     |  | `whoami`     | ✅     |\n| `yes`        | ✅     |  | `chgrp`      | ⏳     |\n| `chown`      | ⏳     |  | `chroot`     | ⏳     |\n| `cksum`      | ⏳     |  | `comm`       | ⏳     |\n| `cp`         | ⏳     |  | `csplit`     | ⏳     |\n| `cut`        | ⏳     |  | `dd`         | ⏳     |\n| `df`         | ⏳     |  | `dir`        | ⏳     |\n| `dircolors`  | ⏳     |  | `dirname`    | ⏳     |\n| `du`         | ⏳     |  | `env`        | ⏳     |\n| `expand`     | ⏳     |  | `expr`       | ⏳     |\n| `factor`     | ⏳     |  | `false`      | ⏳     |\n| `fmt`        | ⏳     |  | `fold`       | ⏳     |\n| `groups`     | ⏳     |  | `head`       | ⏳     |\n| `install`    | ⏳     |  | `join`       | ⏳     |\n| `link`       | ⏳     |  | `ln`         | ⏳     |\n| `logname`    | ⏳     |  | `ls`         | ⏳     |\n| `md5sum`     | ⏳     |  | `mkfifo`     | ⏳     |\n| `mknod`      | ⏳     |  | `mktemp`     | ⏳     |\n| `mv`         | ⏳     |  | `nice`       | ⏳     |\n| `nl`         | ⏳     |  | `nohup`      | ⏳     |\n| `numfmt`     | ⏳     |  | `od`         | ⏳     |\n| `paste`      | ⏳     |  | `pathchk`    | ⏳     |\n| `pinky`      | ⏳     |  | `pr`         | ⏳     |\n| `printenv`   | ⏳     |  | `printf`     | ⏳     |\n| `ptx`        | ⏳     |  | `readlink`   | ⏳     |\n| `realpath`   | ⏳     |  | `rmdir`      | ⏳     |\n| `runcon`     | ⏳     |  | `seq`        | ⏳     |\n| `sha1sum`    | ⏳     |  | `sha224sum`  | ⏳     |\n| `sha256sum`  | ⏳     |  | `sha384sum`  | ⏳     |\n| `sha512sum`  | ⏳     |  | `shred`      | ⏳     |\n| `shuf`       | ⏳     |  | `sort`       | ⏳     |\n| `split`      | ⏳     |  | `stat`       | ⏳     |\n| `stdbuf`     | ⏳     |  | `stty`       | ⏳     |\n| `sum`        | ⏳     |  | `sync`       | ⏳     |\n| `tac`        | ⏳     |  | `tail`       | ⏳     |\n| `tee`        | ✅     |  | `test`       | ⏳     |\n| `timeout`    | ⏳     |  | `tr`         | ⏳     |\n| `true`       | ⏳     |  | `tsort`      | ⏳     |\n| `tty`        | ⏳     |  | `uname`      | ⏳     |\n| `unexpand`   | ⏳     |  | `uniq`       | ⏳     |\n| `unlink`     | ⏳     |  | `vdir`       | ⏳     |\n| `wc`         | ⏳     |  | `who`        | ⏳     |\n\n---\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003e🌈 CLI Demos (click to expand)\u003c/b\u003e\u003c/summary\u003e\n\n```bash\n$ python src/rm.py -rf build/\n$ python src/date.py \"\u003e'+%Y-%m-%d %H:%M:%S'\n$ python src/mkdir.py -p src/utils\n$ python src/pwd.py\n$ python src/basename.py /usr/bin/python3\n$ python src/echo.py -e \"Hello\\nWorld!\"\n$ python src/nproc.py --all\n$ python src/nproc.py --ignore=2\n$ python src/sleep.py 2m\n$ python src/kill.py -l\n$ python src/kill.py -s HUP 5678\n$ python src/hostid.py\n$ python src/hostname.py\n$ python src/id.py\n$ python src/users.py\n$ python src/uptime.py\n$ python src/yes.py \"y\" | head -n 5\n```\n\u003c/details\u003e\n\n---\n\n## ✨ What Makes This Cool?\n\n- **Full GNU-style CLI**: All major flags, help/version, error codes.\n- **Logical/Physical path handling**: `pwd` supports -L/-P, symlinks, POSIXLY_CORRECT.\n- **Date/time power**: `date` supports parsing, formatting, reference file, UTC, batch, and more.\n- **Safe \u0026 robust**: `rm` has interactive, force, and recursive modes.\n- **No C, no build, no nonsense**: Just Python.\n- **100% pytest coverage** and [GitHub Actions](https://github.com/Junaid433/PY-CoreUtils/actions) CI.\n\n---\n\n## 📚 [Full Usage, Features \u0026 Architecture →](docs/usage.md)\n\n- [Usage Examples](docs/usage.md)\n- [Features](docs/features.md)\n- [Project Architecture](docs/architecture.md)\n\n---\n\n## 🗺️ Roadmap \u0026 Vision\n\n- [ ] More GNU tools: `ls`, `cp`, `mv`, `cat`, `head`, `tail`, `chmod`, ...\n- [ ] Windows/macOS-specific improvements\n- [ ] More docs, more examples, more tests\n- [ ] Community-driven features (your ideas here!)\n\n---\n\n## 💬 Get Involved!\n\n\u003e **We welcome all contributors—new and experienced!**\n\u003e\n\u003e - [Contributing Guide](CONTRIBUTING.md)\n\u003e - [Code of Conduct](CODE_OF_CONDUCT.md)\n\u003e - [Security Policy](SECURITY.md)\n\u003e - [Open Issues](https://github.com/Junaid433/PY-CoreUtils/issues)\n\u003e - [Discussions](https://github.com/Junaid433/PY-CoreUtils/discussions)\n\nStar ⭐ the repo, share it, and help us build the best Python-powered coreutils!\n\n---\n\n## 💡 Did you know?\n\n\u003e You can use PY-CoreUtils as a teaching tool, a scripting Swiss Army knife, or even as a base for your own Python CLI projects. Fork it, hack it, and make it yours!\n\n---\n\n## 📄 License\n\n[GNU GPL v3 or later](https://www.gnu.org/licenses/gpl-3.0.html)\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n💡 \u003cb\u003eHack, learn, and build with Python-powered coreutils!\u003c/b\u003e\n\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunaid433%2Fpy-coreutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunaid433%2Fpy-coreutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunaid433%2Fpy-coreutils/lists"}