private_concept
A Python package for processing and structuring innovative, privacy-focused service ideas into clear, concise summaries using pattern matching and large language models (LLMs).
📌 Overview
private_concept helps users document privacy-focused concepts (e.g., a phone service that doesn’t collect personal data) by converting raw text inputs into structured, well-formatted summaries. It leverages LLM7 (by default) or any LangChain-compatible LLM to extract and refine key details, ensuring clarity and consistency.
🚀 Installation
Install via pip:
pip install private_concept
🔧 Usage
Basic Usage (Default LLM: LLM7)
from private_concept import private_concept
response = private_concept(
user_input="A phone company that never collects user data, ensuring full privacy."
)
print(response)
Custom LLM Integration
You can replace the default LLM with any LangChain-compatible model (e.g., OpenAI, Anthropic, Google Generative AI):
Using OpenAI
from langchain_openai import ChatOpenAI
from private_concept import private_concept
llm = ChatOpenAI()
response = private_concept(user_input="My privacy-first app idea...", llm=llm)
Using Anthropic
from langchain_anthropic import ChatAnthropic
from private_concept import private_concept
llm = ChatAnthropic()
response = private_concept(user_input="A service that anonymizes all user interactions.", llm=llm)
Using Google Generative AI
from langchain_google_genai import ChatGoogleGenerativeAI
from private_concept import private_concept
llm = ChatGoogleGenerativeAI()
response = private_concept(user_input="A decentralized messaging platform.", llm=llm)
🔑 API Key Configuration
- Default: Uses
LLM7_API_KEYfrom environment variables. - Manual Override: Pass the key directly:
from private_concept import private_concept response = private_concept(user_input="...", api_key="your_llm7_api_key")
- Get a Free Key: Register at LLM7
📝 Parameters
| Parameter | Type | Description |
|---|---|---|
user_input |
str |
Raw text describing the privacy-focused concept. |
api_key |
Optional[str] |
LLM7 API key (defaults to LLM7_API_KEY env var). |
llm |
Optional[BaseChatModel] |
Custom LangChain LLM (e.g., ChatOpenAI, ChatAnthropic). |
📊 Default LLM: LLM7
The package defaults to LLM7 (via langchain_llm7), a lightweight and efficient LLM. Free-tier rate limits are sufficient for most use cases. For higher limits, use your own API key.
🔄 Pattern Matching
The package enforces structured output via regex patterns, ensuring responses are consistent and easy to parse.
📜 License
MIT License. See LICENSE for details.
📢 Support & Issues
For bugs or feature requests, open an issue on GitHub.
👤 Author
Eugene Evstafev (LinkedIn) | hi@euegne.plus
Metadata
Release files for private-concept 2025.12.21082713
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 |
|---|---|---|---|---|
| private_concept-2025.12.21082713.tar.gz | 4.4 kB | Without provenance | Details for private_concept-2025.12.21082713.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| private_concept-2025.12.21082713-py3-none-any.whl | Python 3 | none | any | Details for private_concept-2025.12.21082713-py3-none-any.whl |
Total release size: 9.4 kB
Release files / private_concept-2025.12.21082713.tar.gz
| Download URL | private_concept-2025.12.21082713.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
351b57740f2dc81581f8378149498c6424836ae657cbe63f5f21e99214bff6ca
|
|
BLAKE2b-256 checksum How to use checksums |
7583137909a41522dda0a8bddff3d40d2e6032e2dbeae3c7151ac36e97d9d95d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / private_concept-2025.12.21082713-py3-none-any.whl
| Download URL | private_concept-2025.12.21082713-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20a1a04f9faea33ed498e288bb5d040183d450ab206e59196a505ba3811b5371
|
|
BLAKE2b-256 checksum How to use checksums |
bacd27aedd6b388962d705fd712d5502956dfab708784958cbff51b9a955bf0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for private-concept 2025.12.21082713
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.