pycdc
Please Your Customer Direct Connect — a library to search the web and get gift ideas for CRM client appreciation.
Installation
pip install pycdc
Usage
from pycdc import GiftFinder, CustomerProfile, Occasion, Budget
finder = GiftFinder()
# Simple search
ideas = finder.find(occasion=Occasion.RENEWAL, budget=Budget.STANDARD)
# Customer-aware recommendations
customer = CustomerProfile(
name="Sarah Chen",
company="Acme Corp",
deal_value=50_000,
interests=["coffee", "hiking", "tech"],
relationship_length_months=18,
)
recs = finder.recommend(customer, Occasion.ANNIVERSARY)
for r in recs:
print(f"{r.name} ({r.price_range}) — {r.personalization_tip}")
# Full gift strategy
print(finder.summary_for(customer))
CLI
pycdc search "tech" --budget premium
pycdc search --occasion holiday --budget modest --json
pycdc recommend --name "Sarah Chen" --company "Acme" --deal-value 50000 --interests coffee hiking
pycdc occasions
pycdc budgets
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pycdc-0.1.0.tar.gz
(7.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pycdc-0.1.0-py3-none-any.whl
(9.5 kB
view details)
File details
Details for the file pycdc-0.1.0.tar.gz.
File metadata
- Download URL: pycdc-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9848161201e5c2a7d6cf6b84f8ad716f23f93606c6830f1f276c8d6e843b7136
|
|
| MD5 |
33dc0b5d4b31fe851d6b14319b80ff8d
|
|
| BLAKE2b-256 |
479ff4fc952991c8825fd8c8bbe337e0dfc3bf47cce7c2d9a4bf9953b99c54ee
|
File details
Details for the file pycdc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pycdc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43b75be9c6d983b93d2a86d56900fc4bbb3927376da2d7595f0f5ba9281b3b7c
|
|
| MD5 |
487bc497cea02e393cf3198484f857c9
|
|
| BLAKE2b-256 |
ab027fb6b763cce9e633d85833ef9ddbbe80ef58b910fd24e3c520b40240a695
|