{"id":17137432,"url":"https://github.com/easingthemes/physical2logical","last_synced_at":"2025-03-24T07:16:23.418Z","repository":{"id":65365433,"uuid":"590167976","full_name":"easingthemes/physical2logical","owner":"easingthemes","description":"Convert CSS physical properties to logical","archived":false,"fork":false,"pushed_at":"2023-01-21T18:02:28.000Z","size":1274,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-16T21:23:09.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easingthemes.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":"2023-01-17T19:56:14.000Z","updated_at":"2023-02-01T20:17:09.000Z","dependencies_parsed_at":"2023-02-12T12:00:57.977Z","dependency_job_id":null,"html_url":"https://github.com/easingthemes/physical2logical","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Fphysical2logical","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Fphysical2logical/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Fphysical2logical/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easingthemes%2Fphysical2logical/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easingthemes","download_url":"https://codeload.github.com/easingthemes/physical2logical/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245224582,"owners_count":20580367,"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":[],"created_at":"2024-10-14T20:07:01.382Z","updated_at":"2025-03-24T07:16:23.328Z","avatar_url":"https://github.com/easingthemes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# physical2logical\n\nConvert CSS physical properties to logical.\n\nConverts margins, padding, and borders to logical values, allowing RTL and vertical languages to show correctly.\n\n## Install\n\n```commandline\npip install physical2logical\n```\n\n## Usage\n\n```commandline\nusage: css2logical [-h] [-r | --recursive | --no-recursive] [-u | --update | --no-update] [-a | --analyze | --no-analyze] [-f FILENAME]  [-l LOG] [-p PATTERN] source\n\nConvert CSS physical properties to logical\n\npositional arguments:\n  source                Path to source directory or one file. Required\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -r, --recursive, --no-recursive\n                        Recursive process of all files from source directory. (default: True)\n  -u, --update, --no-update\n                        Update files. (default: False)\n  -a, --analyze, --no-analyze\n                        Dry Run - Create a report with all changes (without actual source file changes). (default: False)\n  -f FILENAME, --filename FILENAME\n                        Path to file where to save reports (used only with -a | --analyze flag). (default: \"./report.html\")\n  -l LOG, --log LOG     Log Level: All: 0, Debug: 10, Info: 20, Warning: 30, Error: 40 (default: 0)\n  -p PATTERN, --pattern PATTERN\n                        Comma separated list of glob patterns (default: '*.scss, *.css')\n\n\n```\n\nBased on https://gist.github.com/nyurik/d438cb56a9059a0660ce4176ef94576f\n\n## Report\n\n![report.png](report.png)\n\n## Example\n\n```commandline\ncss2logical -u ./src/scss/\n```\n\n![logs.png](logs.png)\n\n![physical2logical-all-files.png](physical2logical-all-files.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingthemes%2Fphysical2logical","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasingthemes%2Fphysical2logical","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasingthemes%2Fphysical2logical/lists"}