{"id":15520061,"url":"https://github.com/diyclassics/perseus-lookup","last_synced_at":"2025-04-23T03:50:19.561Z","repository":{"id":19896399,"uuid":"23161327","full_name":"diyclassics/perseus-lookup","owner":"diyclassics","description":"Lookup Latin/Greek vocabulary from the command line using Python/Beautiful Soup.","archived":false,"fork":false,"pushed_at":"2024-08-16T20:23:10.000Z","size":1369,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-23T03:50:06.055Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diyclassics.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-20T19:29:52.000Z","updated_at":"2024-08-16T20:23:13.000Z","dependencies_parsed_at":"2024-08-16T21:34:36.702Z","dependency_job_id":"d34e1097-7eb9-4fd6-8eb0-f58d5d69fac6","html_url":"https://github.com/diyclassics/perseus-lookup","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/diyclassics%2Fperseus-lookup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diyclassics%2Fperseus-lookup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diyclassics%2Fperseus-lookup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diyclassics%2Fperseus-lookup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diyclassics","download_url":"https://codeload.github.com/diyclassics/perseus-lookup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366685,"owners_count":21418768,"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-02T10:24:09.662Z","updated_at":"2025-04-23T03:50:19.544Z","avatar_url":"https://github.com/diyclassics.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Perseus-Lookup\nExperimenting with a way to search the Perseus Word Study Tool from the command line using Python and Beautiful Soup. More description in the docstrings for both lookup scripts. Have successfully used this from the command line (using bash) by making the script executable and including an alias for each script in .bash_profile.\n\n## Requirements\n10/3/16: Updated to Python3\n\n(Listed in requirements.txt)\n\n    - Beautiful Soup v. 4.5.1\n    - Requests v. 2.20.0\n\n## Usage\nI was able to use this as a command-line lookup tool (bash) by:\n\n    1. Making latin-lookup.py and greek-lookup.py executable\n    2. Adding the following lines to .bash_profile:\n        - alias latin=\"python /[...YOUR DIRECTORY...]/latin-lookup.py\"\n        - alias greek=\"python /[...YOUR DIRECTORY...]/greek-lookup.py\"\n\nI can now use these scripts from command line as follows:\n\n```\n\u003e latin verba\n\u003e verba \u003e verbum: a word\n```\n```\n\u003e greek logos\n\u003e logos \u003e λόγος: computation, reckoning\n```\n\nLast tested on Mac OS 10.11.6 using Terminal (bash). Feedback, suggestions, etc. for other setups welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiyclassics%2Fperseus-lookup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiyclassics%2Fperseus-lookup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiyclassics%2Fperseus-lookup/lists"}