Privacy Idea Struct
A Python package that enables users to provide simple text inputs about innovative, privacy-focused services and receive structured summaries or descriptions of their ideas.
Installation
pip install privacy_idea_struct
Usage
from privacy_idea_struct import privacy_idea_struct
response = privacy_idea_struct(
user_input="A phone company that doesn't collect personal data.",
api_key="your_api_key_here"
)
print(response)
Parameters
user_input(str): The user input text to process.llm(Optional[BaseChatModel]): The LangChain LLM instance to use. If not provided, the defaultChatLLM7will be used.api_key(Optional[str]): The API key for LLM7. If not provided, the environment variableLLM7_API_KEYwill be used.
Using Different LLMs
You can safely pass your own LLM instance if you want to use another LLM. Here are examples for different LLMs:
OpenAI
from langchain_openai import ChatOpenAI
from privacy_idea_struct import privacy_idea_struct
llm = ChatOpenAI()
response = privacy_idea_struct(
user_input="A phone company that doesn't collect personal data.",
llm=llm
)
print(response)
Anthropic
from langchain_anthropic import ChatAnthropic
from privacy_idea_struct import privacy_idea_struct
llm = ChatAnthropic()
response = privacy_idea_struct(
user_input="A phone company that doesn't collect personal data.",
llm=llm
)
print(response)
from langchain_google_genai import ChatGoogleGenerativeAI
from privacy_idea_struct import privacy_idea_struct
llm = ChatGoogleGenerativeAI()
response = privacy_idea_struct(
user_input="A phone company that doesn't collect personal data.",
llm=llm
)
print(response)
Rate Limits
The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you want higher rate limits for LLM7, you can pass your own API key via the environment variable LLM7_API_KEY or directly via the api_key parameter. You can get a free API key by registering at LLM7.
Issues
If you encounter any issues, please report them on the GitHub issues page.
Author
- Eugene Evstafev
- Email: hi@eugene.plus
- GitHub: chigwell
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for privacy-idea-struct 2025.12.21083159
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| privacy_idea_struct-2025.12.21083159.tar.gz | 4.1 kB | Without provenance | Details for privacy_idea_struct-2025.12.21083159.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| privacy_idea_struct-2025.12.21083159-py3-none-any.whl | Python 3 | none | any | Details for privacy_idea_struct-2025.12.21083159-py3-none-any.whl |
Total release size: 8.8 kB
Release files / privacy_idea_struct-2025.12.21083159.tar.gz
| Download URL | privacy_idea_struct-2025.12.21083159.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36e91d67940b389c6b2dd2b4c42c1038627219760cdb98a42831c5a5935a8340
|
|
BLAKE2b-256 checksum How to use checksums |
ddd4e797856435f19215a956f00da0f73caa6a1d9992f6df7a569df00a370640
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / privacy_idea_struct-2025.12.21083159-py3-none-any.whl
| Download URL | privacy_idea_struct-2025.12.21083159-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c495195c981584ee96a36ff793d7db30d221c492277ba956da0b259fef1479d9
|
|
BLAKE2b-256 checksum How to use checksums |
232300c3ea70a013c42c0f2b8af592dcb21cb4bf687358f84026d283679d5b10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for privacy-idea-struct 2025.12.21083159
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.