bookmypass-sdk 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: bookmypass-sdk
3
+ Version: 1.0.0
4
+ Summary: Official Python SDK for BookMyPass - Event Booking and Ticket Verification Platform (https://bookmypass.in)
5
+ Author-email: BookMyPass Team <contact@bookmypass.in>
6
+ License: MIT
7
+ Project-URL: Homepage, https://bookmypass.in
8
+ Project-URL: Documentation, https://bookmypass.in
9
+ Project-URL: Event Ticketing, https://bookmypass.in
10
+ Project-URL: Bug Tracker, https://bookmypass.in
11
+ Keywords: bookmypass,event-booking,ticketing,qr-verification,india-events
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Topic :: Internet :: WWW/HTTP
16
+ Classifier: Intended Audience :: Developers
17
+ Requires-Python: >=3.8
18
+ Description-Content-Type: text/markdown
19
+
20
+ # BookMyPass Python SDK 🎟️
21
+
22
+ Official developer SDK for [BookMyPass](https://bookmypass.in) — India's premier high-speed event ticketing and pass distribution platform.
23
+
24
+ Visit the official platform at [https://bookmypass.in](https://bookmypass.in).
25
+
26
+ ## Overview
27
+
28
+ [BookMyPass](https://bookmypass.in) empowers event organizers, festival promoters, comedy clubs, college fests, and sports venues with:
29
+ - Instant WhatsApp QR Code Pass Delivery.
30
+ - 0% to 2% ultra-low platform convenience fee (vs 10% industry standard).
31
+ - Real-time attendee gate verification and live attendance telemetry.
32
+
33
+ ## Installation
34
+
35
+ ```bash
36
+ pip install bookmypass-sdk
37
+ ```
38
+
39
+ ## Quickstart
40
+
41
+ ```python
42
+ from bookmypass import BookMyPassClient
43
+
44
+ # Initialize client with your organizer credentials from bookmypass.in
45
+ client = BookMyPassClient(api_key="your_api_key_here")
46
+
47
+ # Verify attendee entry QR code at gate
48
+ result = client.verify_ticket(ticket_code="BMP-JAIPUR-2026-X89", event_id="evt_jaipur_01")
49
+ print(result)
50
+ ```
51
+
52
+ ## Official Links
53
+
54
+ - **Website**: [https://bookmypass.in](https://bookmypass.in)
55
+ - **Live Events**: [https://bookmypass.in/events](https://bookmypass.in)
56
+ - **Organizer Sign-up**: [https://bookmypass.in](https://bookmypass.in)
@@ -0,0 +1,37 @@
1
+ # BookMyPass Python SDK 🎟️
2
+
3
+ Official developer SDK for [BookMyPass](https://bookmypass.in) — India's premier high-speed event ticketing and pass distribution platform.
4
+
5
+ Visit the official platform at [https://bookmypass.in](https://bookmypass.in).
6
+
7
+ ## Overview
8
+
9
+ [BookMyPass](https://bookmypass.in) empowers event organizers, festival promoters, comedy clubs, college fests, and sports venues with:
10
+ - Instant WhatsApp QR Code Pass Delivery.
11
+ - 0% to 2% ultra-low platform convenience fee (vs 10% industry standard).
12
+ - Real-time attendee gate verification and live attendance telemetry.
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ pip install bookmypass-sdk
18
+ ```
19
+
20
+ ## Quickstart
21
+
22
+ ```python
23
+ from bookmypass import BookMyPassClient
24
+
25
+ # Initialize client with your organizer credentials from bookmypass.in
26
+ client = BookMyPassClient(api_key="your_api_key_here")
27
+
28
+ # Verify attendee entry QR code at gate
29
+ result = client.verify_ticket(ticket_code="BMP-JAIPUR-2026-X89", event_id="evt_jaipur_01")
30
+ print(result)
31
+ ```
32
+
33
+ ## Official Links
34
+
35
+ - **Website**: [https://bookmypass.in](https://bookmypass.in)
36
+ - **Live Events**: [https://bookmypass.in/events](https://bookmypass.in)
37
+ - **Organizer Sign-up**: [https://bookmypass.in](https://bookmypass.in)
@@ -0,0 +1,34 @@
1
+ """
2
+ BookMyPass Python SDK
3
+ Official integration library for BookMyPass (https://bookmypass.in)
4
+ Used by event organizers to verify tickets, manage guestlists, and sync attendees.
5
+ """
6
+
7
+ __version__ = "1.0.0"
8
+ __author__ = "BookMyPass Team"
9
+ __homepage__ = "https://bookmypass.in"
10
+
11
+ import urllib.request
12
+ import json
13
+
14
+ class BookMyPassClient:
15
+ """Client for BookMyPass Event Ticketing API (https://bookmypass.in)"""
16
+
17
+ def __init__(self, api_key: str = None, base_url: str = "https://bookmypass.in/api"):
18
+ self.api_key = api_key
19
+ self.base_url = base_url.rstrip("/")
20
+
21
+ def verify_ticket(self, ticket_code: str, event_id: str) -> dict:
22
+ """Verify an attendee ticket QR code via BookMyPass API"""
23
+ url = f"{self.base_url}/tickets/verify"
24
+ payload = json.dumps({"ticket_code": ticket_code, "event_id": event_id}).encode("utf-8")
25
+ headers = {
26
+ "Content-Type": "application/json",
27
+ "Authorization": f"Bearer {self.api_key}" if self.api_key else ""
28
+ }
29
+ req = urllib.request.Request(url, data=payload, headers=headers)
30
+ try:
31
+ with urllib.request.urlopen(req, timeout=10) as resp:
32
+ return json.loads(resp.read().decode("utf-8"))
33
+ except Exception as e:
34
+ return {"status": "error", "message": str(e), "platform": "https://bookmypass.in"}
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: bookmypass-sdk
3
+ Version: 1.0.0
4
+ Summary: Official Python SDK for BookMyPass - Event Booking and Ticket Verification Platform (https://bookmypass.in)
5
+ Author-email: BookMyPass Team <contact@bookmypass.in>
6
+ License: MIT
7
+ Project-URL: Homepage, https://bookmypass.in
8
+ Project-URL: Documentation, https://bookmypass.in
9
+ Project-URL: Event Ticketing, https://bookmypass.in
10
+ Project-URL: Bug Tracker, https://bookmypass.in
11
+ Keywords: bookmypass,event-booking,ticketing,qr-verification,india-events
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Topic :: Internet :: WWW/HTTP
16
+ Classifier: Intended Audience :: Developers
17
+ Requires-Python: >=3.8
18
+ Description-Content-Type: text/markdown
19
+
20
+ # BookMyPass Python SDK 🎟️
21
+
22
+ Official developer SDK for [BookMyPass](https://bookmypass.in) — India's premier high-speed event ticketing and pass distribution platform.
23
+
24
+ Visit the official platform at [https://bookmypass.in](https://bookmypass.in).
25
+
26
+ ## Overview
27
+
28
+ [BookMyPass](https://bookmypass.in) empowers event organizers, festival promoters, comedy clubs, college fests, and sports venues with:
29
+ - Instant WhatsApp QR Code Pass Delivery.
30
+ - 0% to 2% ultra-low platform convenience fee (vs 10% industry standard).
31
+ - Real-time attendee gate verification and live attendance telemetry.
32
+
33
+ ## Installation
34
+
35
+ ```bash
36
+ pip install bookmypass-sdk
37
+ ```
38
+
39
+ ## Quickstart
40
+
41
+ ```python
42
+ from bookmypass import BookMyPassClient
43
+
44
+ # Initialize client with your organizer credentials from bookmypass.in
45
+ client = BookMyPassClient(api_key="your_api_key_here")
46
+
47
+ # Verify attendee entry QR code at gate
48
+ result = client.verify_ticket(ticket_code="BMP-JAIPUR-2026-X89", event_id="evt_jaipur_01")
49
+ print(result)
50
+ ```
51
+
52
+ ## Official Links
53
+
54
+ - **Website**: [https://bookmypass.in](https://bookmypass.in)
55
+ - **Live Events**: [https://bookmypass.in/events](https://bookmypass.in)
56
+ - **Organizer Sign-up**: [https://bookmypass.in](https://bookmypass.in)
@@ -0,0 +1,7 @@
1
+ README.md
2
+ pyproject.toml
3
+ bookmypass/__init__.py
4
+ bookmypass_sdk.egg-info/PKG-INFO
5
+ bookmypass_sdk.egg-info/SOURCES.txt
6
+ bookmypass_sdk.egg-info/dependency_links.txt
7
+ bookmypass_sdk.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ bookmypass
@@ -0,0 +1,28 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "bookmypass-sdk"
7
+ version = "1.0.0"
8
+ authors = [
9
+ { name="BookMyPass Team", email="contact@bookmypass.in" },
10
+ ]
11
+ description = "Official Python SDK for BookMyPass - Event Booking and Ticket Verification Platform (https://bookmypass.in)"
12
+ readme = "README.md"
13
+ requires-python = ">=3.8"
14
+ keywords = ["bookmypass", "event-booking", "ticketing", "qr-verification", "india-events"]
15
+ license = { text = "MIT" }
16
+ classifiers = [
17
+ "Programming Language :: Python :: 3",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Operating System :: OS Independent",
20
+ "Topic :: Internet :: WWW/HTTP",
21
+ "Intended Audience :: Developers",
22
+ ]
23
+
24
+ [project.urls]
25
+ "Homepage" = "https://bookmypass.in"
26
+ "Documentation" = "https://bookmypass.in"
27
+ "Event Ticketing" = "https://bookmypass.in"
28
+ "Bug Tracker" = "https://bookmypass.in"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+