{"id":43216463,"url":"https://github.com/skytreader/hashpyre","last_synced_at":"2026-02-01T08:09:26.439Z","repository":{"id":5730163,"uuid":"6942005","full_name":"skytreader/hashpyre","owner":"skytreader","description":"Non-Turing-Complete language for automatically inserting hashes to Redis","archived":false,"fork":false,"pushed_at":"2014-06-10T10:31:37.000Z","size":176,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-17T16:05:01.404Z","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/skytreader.png","metadata":{"files":{"readme":"README.markdown","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":"2012-11-30T16:26:27.000Z","updated_at":"2014-06-10T10:31:37.000Z","dependencies_parsed_at":"2022-08-24T21:40:47.613Z","dependency_job_id":null,"html_url":"https://github.com/skytreader/hashpyre","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skytreader/hashpyre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skytreader%2Fhashpyre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skytreader%2Fhashpyre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skytreader%2Fhashpyre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skytreader%2Fhashpyre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skytreader","download_url":"https://codeload.github.com/skytreader/hashpyre/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skytreader%2Fhashpyre/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28973259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T06:46:42.625Z","status":"ssl_error","status_checked_at":"2026-02-01T06:44:56.173Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-02-01T08:09:25.991Z","updated_at":"2026-02-01T08:09:26.434Z","avatar_url":"https://github.com/skytreader.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hashpyre...\n\nA simple \"language\" to insert hashmaps to Redis.\n\n# Usage\n\nInvoke the script with the following arguments:\n\n- **_file_** _required_  \nIndicates the filename of the hashmap inserts. Must be the _last_ string passed as an argument.\n\n- **-host** _required_  \nThe Redis server host IP.\n\n- **-port** _required_  \nThe Redis server host port.\n\n- **-password**  \nThe Redis server password, when applicable.\n\n**Sample Invocation**\n\n    python hashpyre.py -host localhost -port 6379 inserts.txt\n\nTo invoke `hashpyre` on a file named `inserts.txt` to be inserted on the local Redis server at port 6379.\n\n# Insert File Structure\n\nThere are four kinds of lines/statements in an insert file:\n\n- **Map name declaration**  \nA map name is a single word consist of alphanumeric or underscore characters in a line all by itself. This\nis used as the name of the map once inserted to Redis.\n\n- **map()**  \nInserts all the assignment lines _after the last invocation of map()_ as a single hash map in Redis. This\nthrows an error if a new map name has not been declared since the last map() invocation.\n\n- **Assignment lines**  \nMost probably going to be the most common line in an insert file. Sets a key-value pairing for the current hashmap.\nAssignment lines are of the form:\n\n    [KEY] :[VALUE]\n\nWhere key is a single word consist of alphanumeric or underscore characters and value is a string made up of alphanumeric\nand punctuation characters with possible spaces. Note that there may be any number of spaces between the key and colon but\neverything after the colon is considered part of the value.\n\n- **Comments**  \nComments are lines that start with the hash character (`#`). These lines (along with blank lines) are ignored by\nHashpyre.\n\n**Sample Insert File**\n\n    # This is a comment. It will be ignored by Hashpyre.\n    \n    # The following line is a hash name. Though not required,\n    # it is a good idea to declare the hash name right after the\n    # last map() invocation (or, in this case, the start of the file).\n    BOOKS_1\n    # Mappings follow...\n    title :Aesthetic Computing\n    Publisher :MIT Press\n    editor:Paul A. Fishwick\n\tISBN  :9780262562379\n    # Send map BOOKS_1 to Redis\n    map()\n\n# TODO\n- Allow quoted values for the key-value pairings for better whitespace management.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskytreader%2Fhashpyre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskytreader%2Fhashpyre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskytreader%2Fhashpyre/lists"}