{"id":16417658,"url":"https://github.com/chillaranand/pyflash","last_synced_at":"2025-10-26T20:31:11.074Z","repository":{"id":13571075,"uuid":"72196753","full_name":"ChillarAnand/pyflash","owner":"ChillarAnand","description":"Get flash like superpowers by automating everyday tasks!","archived":false,"fork":false,"pushed_at":"2022-05-12T03:08:24.000Z","size":82,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-29T01:43:33.960Z","etag":null,"topics":["automation","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChillarAnand.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-28T10:05:30.000Z","updated_at":"2022-05-05T13:01:32.000Z","dependencies_parsed_at":"2022-08-08T11:30:13.700Z","dependency_job_id":null,"html_url":"https://github.com/ChillarAnand/pyflash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChillarAnand%2Fpyflash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChillarAnand%2Fpyflash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChillarAnand%2Fpyflash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChillarAnand%2Fpyflash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChillarAnand","download_url":"https://codeload.github.com/ChillarAnand/pyflash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219862222,"owners_count":16555958,"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":["automation","python"],"created_at":"2024-10-11T07:11:49.315Z","updated_at":"2025-10-26T20:31:10.767Z","avatar_url":"https://github.com/ChillarAnand.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyflash\n=======\n\nGet flash like super powers by automating everyday tasks!\n\n\n\nInstall\n========\n\n.. code-block:: shell\n\n    $ pip install pyflash\n\n\nQuickstart\n==========\n\n.. code-block:: shell\n\n    $ pyflash --help\n    $ python -m pyflash --help\n\n\nCommands\n=========\n\n\npython-version-readiness\n--------------------------\n\nThis command is useful to detect the python version readiness when compared to top 5000 most downloaded PyPI packages.\n\n.. code-block:: shell\n\n    # Command to download and install top 300 packages for the given python version and generate a log file\n    $ flash python-version-readiness --python /usr/local/bin/python3.10 --number 300\n\n\n    # Show top 10 lines of the log file\n    $ head -n 11 pvr.python3.10.log\n    [\n      {\n         \"download_count\": 267740673,\n         \"project\": \"boto3\",\n         \"is_ready\": true\n      },\n      {\n        \"download_count\": 203850147,\n        \"project\": \"botocore\",\n        \"is_ready\": true\n      },\n\n\n    # Show packages that are failed to install\n    $ grep false -C 1 pvr.python3.10.log\n        \"project\": \"pyodbc\",\n        \"is_ready\": false\n      },\n      --\n        \"project\": \"tensorflow\",\n        \"is_ready\": false\n      },\n      --\n        \"project\": \"backports-zoneinfo\",\n        \"is_ready\": false\n      },\n      --\n\n\notp\n----\n\nThis command is used to generate OTP for 2 factor authentication.\n\nSetup a file called `~/.pyflash.ini` and then run `otp` command.\n\n\n.. code-block:: shell\n\n    $ cat ~/.pyflash.ini\n    [otp]\n    gmail = secret_key_of_gmail\n    vault = secret_key_of_vault\n\n    $ python -m pyflash otp\n    gmail: 282910\n    vault: 420529\n\n\nNote\n------\n\nflash needs several third party packages depending on the command being used. Packages which are available on PyPi will get installed as a requirements. sortphotos_, ocropy_ are not available on PyPi. You have to download them and add them to your python path.\n\n.. _sortphotos: https://github.com/andrewning/sortphotos\n.. _ocropy: https://github.com/tmbdev/ocropy\n\n\n\nHelp\n======\n\n.. code-block:: shell\n\n    Usage: python -m pyflash [OPTIONS] COMMAND [ARGS]...\n\n    Options:\n      --help  Show this message and exit.\n\n    Commands:\n      adb-connect               Scan network and connect to adb via network.\n      download-book             Search and download book by name\n      download-imd-data         Download IMD data for given range.\n      download-subtitles        Download subtitles for videos in a directory.\n      fix-build                 Fix a failing CI build.\n      fix-imports               Fix imports in a python project.\n      ipa-install               Resign \u0026 install iOS apps.\n      nsedb                     Create/Sync NSE stocks OHLC data.\n      ocr                       Run given OCR engine on given image.\n      organize-books            Organize books in a specified directory.\n      organize-downloads        Organize downloaded files.\n      organize-photos           Organize photos by date.\n      otp                       Show OTP\n      pg-stats                  Show stats for postgres database.\n      procfile                  Start processes in Procfile\n      python-version-readiness  Show version readiness of top python packages.\n      rate-movies               Show IMDb/RT ratings for movies and series.\n      rent-receipts             Generate monthly rent receipts for a given FY.\n      send-to-kindle            Send books to kindle via Dropbox/IFTTT.\n      split-pdf                 Split pdf horizontally/vertically.\n      validate-aadhaar          Check if given AADHAAR number is valid or not.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchillaranand%2Fpyflash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchillaranand%2Fpyflash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchillaranand%2Fpyflash/lists"}