{"id":15946589,"url":"https://github.com/kanghyojun/pyleftpad","last_synced_at":"2025-04-03T22:26:44.772Z","repository":{"id":66889309,"uuid":"144592208","full_name":"kanghyojun/pyleftpad","owner":"kanghyojun","description":"Python version left pad","archived":false,"fork":false,"pushed_at":"2018-08-17T17:09:40.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-09T10:29:22.466Z","etag":null,"topics":["leftpad","library","python","utility"],"latest_commit_sha":null,"homepage":null,"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/kanghyojun.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","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":"2018-08-13T14:36:23.000Z","updated_at":"2019-04-08T15:00:15.000Z","dependencies_parsed_at":"2023-03-22T00:04:20.354Z","dependency_job_id":null,"html_url":"https://github.com/kanghyojun/pyleftpad","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanghyojun%2Fpyleftpad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanghyojun%2Fpyleftpad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanghyojun%2Fpyleftpad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanghyojun%2Fpyleftpad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanghyojun","download_url":"https://codeload.github.com/kanghyojun/pyleftpad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247087875,"owners_count":20881478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["leftpad","library","python","utility"],"created_at":"2024-10-07T09:22:30.461Z","updated_at":"2025-04-03T22:26:44.755Z","avatar_url":"https://github.com/kanghyojun.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyleftpad\n=========\n\n[![PyPI version](https://badge.fury.io/py/pyleftpad.svg)](https://badge.fury.io/py/pyleftpad)\n[![Build Status](https://travis-ci.org/admire93/pyleftpad.svg?branch=master)](https://travis-ci.org/admire93/pyleftpad)\n[![Documentation Status](https://readthedocs.org/projects/pyleftpad/badge/?version=latest)](https://pyleftpad.readthedocs.io/en/latest/?badge=latest)\n\nPython version of [left pad][leftpad].\n\n[leftpad]: https://www.npmjs.com/package/left-pad\n\n\n## Install\n\n```bash\n$ pip install pyleftpad\n```\n\n\n## Usage\n\nThere are two way to use pyleftpad. First of all, you can use `leftpad()`\nfunction from `leftpad` module in your Python script.\n\n```python\nfrom leftpad import leftpad\n\ndef main():\n    print(leftpad('hello world', 40))\n\n\nmain()\n```\n\nSecond of all, you can use directly `leftpad` command in your shell.\n\n```bash\n$ leftpad -l 40 \"hello world\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanghyojun%2Fpyleftpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanghyojun%2Fpyleftpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanghyojun%2Fpyleftpad/lists"}