{"id":37070895,"url":"https://github.com/chigwell/cryptoschema-extractor","last_synced_at":"2026-01-14T08:16:55.378Z","repository":{"id":329722879,"uuid":"1120508129","full_name":"chigwell/cryptoschema-extractor","owner":"chigwell","description":"This system takes a textual synopsis of a cryptographic scheme and extracts a structured summary that highlights its key components, such as the types of finite fields used, the encryption process, ke","archived":false,"fork":false,"pushed_at":"2025-12-21T11:22:15.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-23T03:06:54.656Z","etag":null,"topics":["catalog","cryptographic-scheme","cryptosystem-analysis","educational-material","encryption-process","feature-extraction","finite-fields","key-generation","mathematical-principles","research-summary","structured-data-format","structured-summary","textual-synopsis","unstructured-text"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/cryptoschema-extractor/","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/chigwell.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-21T11:22:04.000Z","updated_at":"2025-12-21T11:22:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chigwell/cryptoschema-extractor","commit_stats":null,"previous_names":["chigwell/cryptoschema-extractor"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/chigwell/cryptoschema-extractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Fcryptoschema-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Fcryptoschema-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Fcryptoschema-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Fcryptoschema-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chigwell","download_url":"https://codeload.github.com/chigwell/cryptoschema-extractor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Fcryptoschema-extractor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["catalog","cryptographic-scheme","cryptosystem-analysis","educational-material","encryption-process","feature-extraction","finite-fields","key-generation","mathematical-principles","research-summary","structured-data-format","structured-summary","textual-synopsis","unstructured-text"],"created_at":"2026-01-14T08:16:54.717Z","updated_at":"2026-01-14T08:16:55.370Z","avatar_url":"https://github.com/chigwell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cryptoschema-extractor\n[![PyPI version](https://badge.fury.io/py/cryptoschema-extractor.svg)](https://badge.fury.io/py/cryptoschema-extractor)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![Downloads](https://static.pepy.tech/badge/cryptoschema-extractor)](https://pepy.tech/project/cryptoschema-extractor)\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-blue)](https://www.linkedin.com/in/eugene-evstafev-716669181/)\n\n\nA Python package that extracts structured summaries of cryptographic schemes from textual descriptions.\n\n## Overview\n\nThis system takes a textual synopsis of a cryptographic scheme and extracts a structured summary that highlights its key components, such as the types of finite fields used, the encryption process, key generation, and the mathematical principles underlying the cryptosystem. It transforms unstructured textual references into a predictable, organized format suitable for inclusion in catalogs, research summaries, or educational material.\n\n## Installation\n\n```bash\npip install cryptoschema_extractor\n```\n\n## Usage\n\n### Basic Usage\n\n```python\nfrom cryptoschema_extractor import cryptoschema_extractor\n\nresponse = cryptoschema_extractor(user_input=\"Your text here\")\nprint(response)\n```\n\n### Using a Custom LLM\n\nYou can use any LLM compatible with LangChain by passing an instance of it to the `cryptoschema_extractor` function.\n\n#### Example with OpenAI\n\n```python\nfrom langchain_openai import ChatOpenAI\nfrom cryptoschema_extractor import cryptoschema_extractor\n\nllm = ChatOpenAI()\nresponse = cryptoschema_extractor(user_input=\"Your text here\", llm=llm)\nprint(response)\n```\n\n#### Example with Anthropic\n\n```python\nfrom langchain_anthropic import ChatAnthropic\nfrom cryptoschema_extractor import cryptoschema_extractor\n\nllm = ChatAnthropic()\nresponse = cryptoschema_extractor(user_input=\"Your text here\", llm=llm)\nprint(response)\n```\n\n#### Example with Google\n\n```python\nfrom langchain_google_genai import ChatGoogleGenerativeAI\nfrom cryptoschema_extractor import cryptoschema_extractor\n\nllm = ChatGoogleGenerativeAI()\nresponse = cryptoschema_extractor(user_input=\"Your text here\", llm=llm)\nprint(response)\n```\n\n### Using a Custom API Key\n\nIf you want to use a custom API key for LLM7, you can pass it directly or set it as an environment variable.\n\n#### Passing API Key Directly\n\n```python\nfrom cryptoschema_extractor import cryptoschema_extractor\n\nresponse = cryptoschema_extractor(user_input=\"Your text here\", api_key=\"your_api_key\")\nprint(response)\n```\n\n#### Setting API Key via Environment Variable\n\n```bash\nexport LLM7_API_KEY=\"your_api_key\"\n```\n\n```python\nfrom cryptoschema_extractor import cryptoschema_extractor\n\nresponse = cryptoschema_extractor(user_input=\"Your text here\")\nprint(response)\n```\n\n## Parameters\n\n- `user_input` (str): The user input text to process.\n- `llm` (Optional[BaseChatModel]): The LangChain LLM instance to use. If not provided, the default `ChatLLM7` will be used.\n- `api_key` (Optional[str]): The API key for LLM7. If not provided, the environment variable `LLM7_API_KEY` will be used.\n\n## Default LLM\n\nBy default, this package uses `ChatLLM7` from [langchain_llm7](https://pypi.org/project/langchain-llm7/).\n\n## Rate Limits\n\nThe default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you want higher rate limits, you can pass your own API key via the environment variable `LLM7_API_KEY` or directly to the `cryptoschema_extractor` function. You can get a free API key by registering at [LLM7](https://token.llm7.io/).\n\n## Issues\n\nIf you encounter any issues, please report them on the [GitHub issues page](https://github.com/chigwell/cryptoschema-extractor/issues).\n\n## Author\n\n- **Eugene Evstafev**\n- **Email**: hi@eugene.plus\n- **GitHub**: [chigwell](https://github.com/chigwell)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchigwell%2Fcryptoschema-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchigwell%2Fcryptoschema-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchigwell%2Fcryptoschema-extractor/lists"}