{"id":18709104,"url":"https://github.com/jojoee/strblackout","last_synced_at":"2025-11-09T11:30:23.864Z","repository":{"id":57471718,"uuid":"406322220","full_name":"jojoee/strblackout","owner":"jojoee","description":"String replacement or Blackout text with *** e.g. 08*****123","archived":false,"fork":false,"pushed_at":"2021-09-14T12:53:31.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T14:53:40.971Z","etag":null,"topics":["blackout","string"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/strblackout/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jojoee.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-14T10:28:40.000Z","updated_at":"2022-04-30T05:20:43.000Z","dependencies_parsed_at":"2022-08-30T13:50:44.606Z","dependency_job_id":null,"html_url":"https://github.com/jojoee/strblackout","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fstrblackout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fstrblackout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fstrblackout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jojoee%2Fstrblackout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jojoee","download_url":"https://codeload.github.com/jojoee/strblackout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239571579,"owners_count":19661165,"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":["blackout","string"],"created_at":"2024-11-07T12:26:18.221Z","updated_at":"2025-11-09T11:30:23.826Z","avatar_url":"https://github.com/jojoee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# strblackout\n\n[![CI and CD](https://github.com/jojoee/strblackout/actions/workflows/continuous-integration.yml/badge.svg?branch=master)](https://github.com/jojoee/strblackout/actions/workflows/continuous-integration.yml)\n[![PyPI version fury.io](https://badge.fury.io/py/strblackout.svg)](https://pypi.python.org/pypi/strblackout/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![codecov](https://codecov.io/gh/jojoee/strblackout/branch/master/graph/badge.svg)](https://codecov.io/gh/jojoee/strblackout)\n\nString replacement or Blackout text with *** e.g. 08*****123\n\n## Installation\n\n```\npip install strblackout\n```\n\n## Usage\n\n```python\nfrom strblackout import blackout\n\nblackout(\"123456789\") == \"123456789\"\nblackout(\"123456789\", left=5) == \"*****6789\"\nblackout(\"123456789\", right=3) == \"123456***\"\nblackout(\"123456789\", left=3, replacement=\"x\") == \"xxx456789\"\nblackout(\"123\", left=10, right=20) == \"***\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fstrblackout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjojoee%2Fstrblackout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojoee%2Fstrblackout/lists"}