fancy-gmail 0.2.0__tar.gz → 0.3.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.
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/CHANGELOG.md +35 -0
- fancy_gmail-0.3.0/PKG-INFO +125 -0
- fancy_gmail-0.3.0/README.md +103 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/pyproject.toml +1 -1
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/src/fancy_gmail/__init__.py +1 -1
- fancy_gmail-0.2.0/PKG-INFO +0 -73
- fancy_gmail-0.2.0/README.md +0 -51
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/.gitignore +0 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/LICENSE +0 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/src/fancy_gmail/_fake.py +0 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/src/fancy_gmail/_runtime.py +0 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/src/fancy_gmail/actions/__init__.py +0 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/src/fancy_gmail/actions/message_send.py +0 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/src/fancy_gmail/faker.py +0 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/src/fancy_gmail/py.typed +0 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/src/fancy_gmail/service.py +0 -0
- {fancy_gmail-0.2.0 → fancy_gmail-0.3.0}/tests/test_faker.py +0 -0
|
@@ -7,6 +7,40 @@ The four packages share one version, because they are generated from one
|
|
|
7
7
|
`provider/` definition and a version that meant something different in each
|
|
8
8
|
would be a version nobody could reason about.
|
|
9
9
|
|
|
10
|
+
## [0.3.0] — 2026-08-24
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **The README now says how to SET THIS CONNECTOR UP**, in the package itself.
|
|
15
|
+
|
|
16
|
+
Until now it explained what the four packages are, what they cost and why the
|
|
17
|
+
repo is generated — and said nothing about credentials, scopes, sandboxes or
|
|
18
|
+
operations. Somebody who installed it could not learn from it which credentials
|
|
19
|
+
a connection needs, where a human GETS them, which scopes to request, or what
|
|
20
|
+
the connector can actually do. All of that was already in the definition; the
|
|
21
|
+
one document a consumer reads was the one that omitted everything actionable.
|
|
22
|
+
|
|
23
|
+
The new **Setting it up** section carries:
|
|
24
|
+
|
|
25
|
+
- every credential, with the text saying where the value comes from, whether it
|
|
26
|
+
is **per installation** or **per connected account**, and whether it is secret;
|
|
27
|
+
- the OAuth authorize and token URLs and the exact scopes, verbatim;
|
|
28
|
+
- the access-token lifetime, and where refresh tokens ROTATE, the two things a
|
|
29
|
+
host must not do — retry a failed refresh, or refresh concurrently — because a
|
|
30
|
+
replay revokes the entire grant and nothing in the failure says why;
|
|
31
|
+
- the estate in this provider's own terms, including the cases where a
|
|
32
|
+
successful-looking run reaches nobody, or reaches the real one;
|
|
33
|
+
- every action and trigger with its method, path, inputs, and whether it is safe
|
|
34
|
+
to replay;
|
|
35
|
+
- a trigger's provider-side setup, which nobody can derive from anything else.
|
|
36
|
+
|
|
37
|
+
It is **generated from `provider/manifest.json`**, so it cannot drift from what
|
|
38
|
+
the packages do — which is the point at a few hundred providers, where a
|
|
39
|
+
hand-written setup section is a few hundred documents going quietly stale.
|
|
40
|
+
|
|
41
|
+
No code changed. This release exists because a registry and an installing agent
|
|
42
|
+
read the PUBLISHED artifact, and the artifact carried the old README.
|
|
43
|
+
|
|
10
44
|
## [0.2.0] — 2026-08-24
|
|
11
45
|
|
|
12
46
|
### Changed
|
|
@@ -92,3 +126,4 @@ which is why `refreshToken` is required rather than optional.
|
|
|
92
126
|
|
|
93
127
|
[0.1.0]: https://github.com/Fancy-Friends/gmail/releases/tag/v0.1.0
|
|
94
128
|
[0.2.0]: https://github.com/Fancy-Friends/gmail/releases/tag/v0.2.0
|
|
129
|
+
[0.3.0]: https://github.com/Fancy-Friends/gmail/releases/tag/v0.3.0
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: fancy-gmail
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Gmail for Python — the service descriptor, its faker, its webhook verification, and one function per operation. Plain HTTP; no vendor SDK.
|
|
5
|
+
Project-URL: Homepage, https://github.com/Fancy-Friends/gmail
|
|
6
|
+
Project-URL: Issues, https://github.com/Fancy-Friends/gmail/issues
|
|
7
|
+
Project-URL: Source, https://github.com/Fancy-Friends/gmail
|
|
8
|
+
Author: Particle Academy
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Keywords: api,connector,email,fancy-flow,gmail,particle-academy
|
|
12
|
+
Classifier: Development Status :: 3 - Alpha
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
19
|
+
Classifier: Typing :: Typed
|
|
20
|
+
Requires-Python: >=3.11
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
|
|
23
|
+
# Gmail
|
|
24
|
+
|
|
25
|
+
Gmail for [fancy-flow][flow] — as **four imported, versioned packages**, one
|
|
26
|
+
per runtime. Not vendored source: a copy cannot be upgraded, and third-party APIs
|
|
27
|
+
change.
|
|
28
|
+
|
|
29
|
+
[flow]: https://github.com/Particle-Academy/fancy-flow
|
|
30
|
+
|
|
31
|
+
| Runtime | Package | Install |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| Authoring surface (every host) | `@particle-academy/gmail-ui` | `npm install @particle-academy/gmail-ui` |
|
|
34
|
+
| Node | `@particle-academy/gmail-js` | `npm install @particle-academy/gmail-js` |
|
|
35
|
+
| PHP 8.4+ | `particle-academy/gmail-php` | `composer require particle-academy/gmail-php` |
|
|
36
|
+
| Python 3.11+ | `fancy-gmail` | `pip install fancy-gmail` |
|
|
37
|
+
|
|
38
|
+
The `ui` package is the editor surface and is React on every host — a PHP or
|
|
39
|
+
Python project installs it *and* its own runtime package, and never the `js` one.
|
|
40
|
+
|
|
41
|
+
## What it costs you
|
|
42
|
+
|
|
43
|
+
One dependency: `@particle-academy/fancy-connector-core` (or
|
|
44
|
+
`particle-academy/fancy-connector-core` on Composer), which the `js` and `php`
|
|
45
|
+
packages pull in themselves. The Python package has **zero** runtime
|
|
46
|
+
dependencies.
|
|
47
|
+
|
|
48
|
+
**No Gmail SDK.** Plain HTTP, deliberately: a vendor SDK is third-party code
|
|
49
|
+
subject to the kit's full approval bar, and one per provider is hundreds of
|
|
50
|
+
dependencies nobody is tracking.
|
|
51
|
+
|
|
52
|
+
## Setting it up
|
|
53
|
+
|
|
54
|
+
Everything below is generated from `provider/manifest.json`, so it cannot disagree with what the packages do.
|
|
55
|
+
|
|
56
|
+
### Credentials
|
|
57
|
+
|
|
58
|
+
A Gmail connection holds 4 values.
|
|
59
|
+
|
|
60
|
+
**Two kinds of value, and mixing them up matters.** A `provider` credential is ONE value for the whole installation — an OAuth app's client secret serves every connected account. An `account` credential is one per connected account. A host that stores the second where it stores the first lets one account's credentials reach another's.
|
|
61
|
+
|
|
62
|
+
| Field | Scope | Secret | Where it comes from |
|
|
63
|
+
|---|---|---|---|
|
|
64
|
+
| **OAuth client ID** | per installation | not secret | From Google Cloud Console -> APIs & Services -> Credentials. ONE value for the whole installation, not per connected account. |
|
|
65
|
+
| **OAuth client secret** | per installation | **secret** | The client secret for the same OAuth app. One value for the whole installation. |
|
|
66
|
+
| **Access token** | per connected account | **secret** | Per connected Google account, and it expires after ONE HOUR. The host refreshes it with the refresh token. |
|
|
67
|
+
| **Refresh token** | per connected account | **secret** | Per connected Google account. Google issues one only when the consent request asks for offline access; without it the connection dies within the hour. |
|
|
68
|
+
|
|
69
|
+
### Authorising
|
|
70
|
+
|
|
71
|
+
Gmail uses OAuth2 (authorization_code). The package DECLARES the exchange; the HOST performs it — a consent screen needs a browser, a redirect URI and somewhere to persist the result, and all three belong to the host.
|
|
72
|
+
|
|
73
|
+
- **Authorize URL** — https://accounts.google.com/o/oauth2/v2/auth
|
|
74
|
+
- **Token URL** — https://oauth2.googleapis.com/token
|
|
75
|
+
- **Scopes** — `https://www.googleapis.com/auth/gmail.send`
|
|
76
|
+
- **Access token lifetime** — 3600 seconds (1 hours). A host that never refreshes works all afternoon and is broken by morning.
|
|
77
|
+
|
|
78
|
+
The refresh tokens do **not** rotate: the same one is reusable, so a refresh may safely be retried and may run concurrently. Stated rather than assumed, because the opposite — a provider that spends the token and revokes the grant on a replay — looks identical until it happens.
|
|
79
|
+
|
|
80
|
+
### The estate
|
|
81
|
+
|
|
82
|
+
**Gmail has no test estate, and somebody checked.** Everything this connector does is real. Use the faker to build against it.
|
|
83
|
+
|
|
84
|
+
> Gmail has no sandbox. A send is a real email to a real address -- point this at your own inbox before pointing it at anybody else's. The faker is the only way to develop against it without delivering mail.
|
|
85
|
+
|
|
86
|
+
## What it can do
|
|
87
|
+
|
|
88
|
+
### Actions
|
|
89
|
+
|
|
90
|
+
#### `message_send` — Gmail message
|
|
91
|
+
|
|
92
|
+
Send an email from a connected Gmail account.
|
|
93
|
+
|
|
94
|
+
`POST /gmail/v1/users/{userId}/messages/send` · **unsafe to replay** — a retried durable run does it TWICE
|
|
95
|
+
|
|
96
|
+
| Input | Required | What it is |
|
|
97
|
+
|---|---|---|
|
|
98
|
+
| `userId` | yes | Whose mailbox to send from. `me` is the connected account and is almost always what you want. |
|
|
99
|
+
| `to` | yes | Recipient address. Several can be given, comma separated, exactly as an email client accepts them. |
|
|
100
|
+
| `cc` | no | Copied recipients, comma separated. Left empty the header is omitted entirely rather than sent blank. |
|
|
101
|
+
| `subject` | yes | Subject |
|
|
102
|
+
| `body` | yes | The plain-text body. It is sent as text/plain; UTF-8, so accented characters and emoji survive. |
|
|
103
|
+
|
|
104
|
+
## Run it before you have credentials
|
|
105
|
+
|
|
106
|
+
Every operation ships a **faker**, whether or not Gmail has a sandbox. Set a
|
|
107
|
+
node's mode to `fake` and it returns the shape Gmail actually publishes — the
|
|
108
|
+
same field names, deterministically — so you can wire the downstream nodes before
|
|
109
|
+
touching an account, a key, or a network.
|
|
110
|
+
|
|
111
|
+
## This repository is generated
|
|
112
|
+
|
|
113
|
+
`provider/` is the source. Everything under `packages/` is emitted from it and
|
|
114
|
+
**must not be hand-edited** — CI regenerates and diffs on every push, and the
|
|
115
|
+
next protocol sync destroys anything it finds. See [`AGENTS.md`](AGENTS.md).
|
|
116
|
+
|
|
117
|
+
## Two namespaces, which do not match on purpose
|
|
118
|
+
|
|
119
|
+
The repo is `github.com/Fancy-Friends/gmail`; the packages publish under
|
|
120
|
+
`particle-academy`. Nothing derives one from the other — the names come from
|
|
121
|
+
weaver's `friends.json` and nowhere else.
|
|
122
|
+
|
|
123
|
+
## Licence
|
|
124
|
+
|
|
125
|
+
MIT.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Gmail
|
|
2
|
+
|
|
3
|
+
Gmail for [fancy-flow][flow] — as **four imported, versioned packages**, one
|
|
4
|
+
per runtime. Not vendored source: a copy cannot be upgraded, and third-party APIs
|
|
5
|
+
change.
|
|
6
|
+
|
|
7
|
+
[flow]: https://github.com/Particle-Academy/fancy-flow
|
|
8
|
+
|
|
9
|
+
| Runtime | Package | Install |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| Authoring surface (every host) | `@particle-academy/gmail-ui` | `npm install @particle-academy/gmail-ui` |
|
|
12
|
+
| Node | `@particle-academy/gmail-js` | `npm install @particle-academy/gmail-js` |
|
|
13
|
+
| PHP 8.4+ | `particle-academy/gmail-php` | `composer require particle-academy/gmail-php` |
|
|
14
|
+
| Python 3.11+ | `fancy-gmail` | `pip install fancy-gmail` |
|
|
15
|
+
|
|
16
|
+
The `ui` package is the editor surface and is React on every host — a PHP or
|
|
17
|
+
Python project installs it *and* its own runtime package, and never the `js` one.
|
|
18
|
+
|
|
19
|
+
## What it costs you
|
|
20
|
+
|
|
21
|
+
One dependency: `@particle-academy/fancy-connector-core` (or
|
|
22
|
+
`particle-academy/fancy-connector-core` on Composer), which the `js` and `php`
|
|
23
|
+
packages pull in themselves. The Python package has **zero** runtime
|
|
24
|
+
dependencies.
|
|
25
|
+
|
|
26
|
+
**No Gmail SDK.** Plain HTTP, deliberately: a vendor SDK is third-party code
|
|
27
|
+
subject to the kit's full approval bar, and one per provider is hundreds of
|
|
28
|
+
dependencies nobody is tracking.
|
|
29
|
+
|
|
30
|
+
## Setting it up
|
|
31
|
+
|
|
32
|
+
Everything below is generated from `provider/manifest.json`, so it cannot disagree with what the packages do.
|
|
33
|
+
|
|
34
|
+
### Credentials
|
|
35
|
+
|
|
36
|
+
A Gmail connection holds 4 values.
|
|
37
|
+
|
|
38
|
+
**Two kinds of value, and mixing them up matters.** A `provider` credential is ONE value for the whole installation — an OAuth app's client secret serves every connected account. An `account` credential is one per connected account. A host that stores the second where it stores the first lets one account's credentials reach another's.
|
|
39
|
+
|
|
40
|
+
| Field | Scope | Secret | Where it comes from |
|
|
41
|
+
|---|---|---|---|
|
|
42
|
+
| **OAuth client ID** | per installation | not secret | From Google Cloud Console -> APIs & Services -> Credentials. ONE value for the whole installation, not per connected account. |
|
|
43
|
+
| **OAuth client secret** | per installation | **secret** | The client secret for the same OAuth app. One value for the whole installation. |
|
|
44
|
+
| **Access token** | per connected account | **secret** | Per connected Google account, and it expires after ONE HOUR. The host refreshes it with the refresh token. |
|
|
45
|
+
| **Refresh token** | per connected account | **secret** | Per connected Google account. Google issues one only when the consent request asks for offline access; without it the connection dies within the hour. |
|
|
46
|
+
|
|
47
|
+
### Authorising
|
|
48
|
+
|
|
49
|
+
Gmail uses OAuth2 (authorization_code). The package DECLARES the exchange; the HOST performs it — a consent screen needs a browser, a redirect URI and somewhere to persist the result, and all three belong to the host.
|
|
50
|
+
|
|
51
|
+
- **Authorize URL** — https://accounts.google.com/o/oauth2/v2/auth
|
|
52
|
+
- **Token URL** — https://oauth2.googleapis.com/token
|
|
53
|
+
- **Scopes** — `https://www.googleapis.com/auth/gmail.send`
|
|
54
|
+
- **Access token lifetime** — 3600 seconds (1 hours). A host that never refreshes works all afternoon and is broken by morning.
|
|
55
|
+
|
|
56
|
+
The refresh tokens do **not** rotate: the same one is reusable, so a refresh may safely be retried and may run concurrently. Stated rather than assumed, because the opposite — a provider that spends the token and revokes the grant on a replay — looks identical until it happens.
|
|
57
|
+
|
|
58
|
+
### The estate
|
|
59
|
+
|
|
60
|
+
**Gmail has no test estate, and somebody checked.** Everything this connector does is real. Use the faker to build against it.
|
|
61
|
+
|
|
62
|
+
> Gmail has no sandbox. A send is a real email to a real address -- point this at your own inbox before pointing it at anybody else's. The faker is the only way to develop against it without delivering mail.
|
|
63
|
+
|
|
64
|
+
## What it can do
|
|
65
|
+
|
|
66
|
+
### Actions
|
|
67
|
+
|
|
68
|
+
#### `message_send` — Gmail message
|
|
69
|
+
|
|
70
|
+
Send an email from a connected Gmail account.
|
|
71
|
+
|
|
72
|
+
`POST /gmail/v1/users/{userId}/messages/send` · **unsafe to replay** — a retried durable run does it TWICE
|
|
73
|
+
|
|
74
|
+
| Input | Required | What it is |
|
|
75
|
+
|---|---|---|
|
|
76
|
+
| `userId` | yes | Whose mailbox to send from. `me` is the connected account and is almost always what you want. |
|
|
77
|
+
| `to` | yes | Recipient address. Several can be given, comma separated, exactly as an email client accepts them. |
|
|
78
|
+
| `cc` | no | Copied recipients, comma separated. Left empty the header is omitted entirely rather than sent blank. |
|
|
79
|
+
| `subject` | yes | Subject |
|
|
80
|
+
| `body` | yes | The plain-text body. It is sent as text/plain; UTF-8, so accented characters and emoji survive. |
|
|
81
|
+
|
|
82
|
+
## Run it before you have credentials
|
|
83
|
+
|
|
84
|
+
Every operation ships a **faker**, whether or not Gmail has a sandbox. Set a
|
|
85
|
+
node's mode to `fake` and it returns the shape Gmail actually publishes — the
|
|
86
|
+
same field names, deterministically — so you can wire the downstream nodes before
|
|
87
|
+
touching an account, a key, or a network.
|
|
88
|
+
|
|
89
|
+
## This repository is generated
|
|
90
|
+
|
|
91
|
+
`provider/` is the source. Everything under `packages/` is emitted from it and
|
|
92
|
+
**must not be hand-edited** — CI regenerates and diffs on every push, and the
|
|
93
|
+
next protocol sync destroys anything it finds. See [`AGENTS.md`](AGENTS.md).
|
|
94
|
+
|
|
95
|
+
## Two namespaces, which do not match on purpose
|
|
96
|
+
|
|
97
|
+
The repo is `github.com/Fancy-Friends/gmail`; the packages publish under
|
|
98
|
+
`particle-academy`. Nothing derives one from the other — the names come from
|
|
99
|
+
weaver's `friends.json` and nowhere else.
|
|
100
|
+
|
|
101
|
+
## Licence
|
|
102
|
+
|
|
103
|
+
MIT.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "fancy-gmail"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.3.0"
|
|
8
8
|
description = "Gmail for Python — the service descriptor, its faker, its webhook verification, and one function per operation. Plain HTTP; no vendor SDK."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
# 3.11 matches fancy-flow-py's floor: 3.10 reaches end of life on 2026-10-31,
|
|
@@ -21,7 +21,7 @@ from .actions.message_send import message_send
|
|
|
21
21
|
from .faker import respond
|
|
22
22
|
from .service import BASE_URLS, CONNECTOR_API_VERSION, REQUIRES, SANDBOX, SERVICE, TITLE, descriptor
|
|
23
23
|
|
|
24
|
-
__version__ = "0.
|
|
24
|
+
__version__ = "0.3.0"
|
|
25
25
|
|
|
26
26
|
__all__ = [
|
|
27
27
|
"BASE_URLS",
|
fancy_gmail-0.2.0/PKG-INFO
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.5
|
|
2
|
-
Name: fancy-gmail
|
|
3
|
-
Version: 0.2.0
|
|
4
|
-
Summary: Gmail for Python — the service descriptor, its faker, its webhook verification, and one function per operation. Plain HTTP; no vendor SDK.
|
|
5
|
-
Project-URL: Homepage, https://github.com/Fancy-Friends/gmail
|
|
6
|
-
Project-URL: Issues, https://github.com/Fancy-Friends/gmail/issues
|
|
7
|
-
Project-URL: Source, https://github.com/Fancy-Friends/gmail
|
|
8
|
-
Author: Particle Academy
|
|
9
|
-
License-Expression: MIT
|
|
10
|
-
License-File: LICENSE
|
|
11
|
-
Keywords: api,connector,email,fancy-flow,gmail,particle-academy
|
|
12
|
-
Classifier: Development Status :: 3 - Alpha
|
|
13
|
-
Classifier: Intended Audience :: Developers
|
|
14
|
-
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
-
Classifier: Topic :: Software Development :: Libraries
|
|
19
|
-
Classifier: Typing :: Typed
|
|
20
|
-
Requires-Python: >=3.11
|
|
21
|
-
Description-Content-Type: text/markdown
|
|
22
|
-
|
|
23
|
-
# Gmail
|
|
24
|
-
|
|
25
|
-
Gmail for [fancy-flow][flow] — as **four imported, versioned packages**, one
|
|
26
|
-
per runtime. Not vendored source: a copy cannot be upgraded, and third-party APIs
|
|
27
|
-
change.
|
|
28
|
-
|
|
29
|
-
[flow]: https://github.com/Particle-Academy/fancy-flow
|
|
30
|
-
|
|
31
|
-
| Runtime | Package | Install |
|
|
32
|
-
|---|---|---|
|
|
33
|
-
| Authoring surface (every host) | `@particle-academy/gmail-ui` | `npm install @particle-academy/gmail-ui` |
|
|
34
|
-
| Node | `@particle-academy/gmail-js` | `npm install @particle-academy/gmail-js` |
|
|
35
|
-
| PHP 8.4+ | `particle-academy/gmail-php` | `composer require particle-academy/gmail-php` |
|
|
36
|
-
| Python 3.11+ | `fancy-gmail` | `pip install fancy-gmail` |
|
|
37
|
-
|
|
38
|
-
The `ui` package is the editor surface and is React on every host — a PHP or
|
|
39
|
-
Python project installs it *and* its own runtime package, and never the `js` one.
|
|
40
|
-
|
|
41
|
-
## What it costs you
|
|
42
|
-
|
|
43
|
-
One dependency: `@particle-academy/fancy-connector-core` (or
|
|
44
|
-
`particle-academy/fancy-connector-core` on Composer), which the `js` and `php`
|
|
45
|
-
packages pull in themselves. The Python package has **zero** runtime
|
|
46
|
-
dependencies.
|
|
47
|
-
|
|
48
|
-
**No Gmail SDK.** Plain HTTP, deliberately: a vendor SDK is third-party code
|
|
49
|
-
subject to the kit's full approval bar, and one per provider is hundreds of
|
|
50
|
-
dependencies nobody is tracking.
|
|
51
|
-
|
|
52
|
-
## Run it before you have credentials
|
|
53
|
-
|
|
54
|
-
Every operation ships a **faker**, whether or not Gmail has a sandbox. Set a
|
|
55
|
-
node's mode to `fake` and it returns the shape Gmail actually publishes — the
|
|
56
|
-
same field names, deterministically — so you can wire the downstream nodes before
|
|
57
|
-
touching an account, a key, or a network.
|
|
58
|
-
|
|
59
|
-
## This repository is generated
|
|
60
|
-
|
|
61
|
-
`provider/` is the source. Everything under `packages/` is emitted from it and
|
|
62
|
-
**must not be hand-edited** — CI regenerates and diffs on every push, and the
|
|
63
|
-
next protocol sync destroys anything it finds. See [`AGENTS.md`](AGENTS.md).
|
|
64
|
-
|
|
65
|
-
## Two namespaces, which do not match on purpose
|
|
66
|
-
|
|
67
|
-
The repo is `github.com/Fancy-Friends/gmail`; the packages publish under
|
|
68
|
-
`particle-academy`. Nothing derives one from the other — the names come from
|
|
69
|
-
weaver's `friends.json` and nowhere else.
|
|
70
|
-
|
|
71
|
-
## Licence
|
|
72
|
-
|
|
73
|
-
MIT.
|
fancy_gmail-0.2.0/README.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Gmail
|
|
2
|
-
|
|
3
|
-
Gmail for [fancy-flow][flow] — as **four imported, versioned packages**, one
|
|
4
|
-
per runtime. Not vendored source: a copy cannot be upgraded, and third-party APIs
|
|
5
|
-
change.
|
|
6
|
-
|
|
7
|
-
[flow]: https://github.com/Particle-Academy/fancy-flow
|
|
8
|
-
|
|
9
|
-
| Runtime | Package | Install |
|
|
10
|
-
|---|---|---|
|
|
11
|
-
| Authoring surface (every host) | `@particle-academy/gmail-ui` | `npm install @particle-academy/gmail-ui` |
|
|
12
|
-
| Node | `@particle-academy/gmail-js` | `npm install @particle-academy/gmail-js` |
|
|
13
|
-
| PHP 8.4+ | `particle-academy/gmail-php` | `composer require particle-academy/gmail-php` |
|
|
14
|
-
| Python 3.11+ | `fancy-gmail` | `pip install fancy-gmail` |
|
|
15
|
-
|
|
16
|
-
The `ui` package is the editor surface and is React on every host — a PHP or
|
|
17
|
-
Python project installs it *and* its own runtime package, and never the `js` one.
|
|
18
|
-
|
|
19
|
-
## What it costs you
|
|
20
|
-
|
|
21
|
-
One dependency: `@particle-academy/fancy-connector-core` (or
|
|
22
|
-
`particle-academy/fancy-connector-core` on Composer), which the `js` and `php`
|
|
23
|
-
packages pull in themselves. The Python package has **zero** runtime
|
|
24
|
-
dependencies.
|
|
25
|
-
|
|
26
|
-
**No Gmail SDK.** Plain HTTP, deliberately: a vendor SDK is third-party code
|
|
27
|
-
subject to the kit's full approval bar, and one per provider is hundreds of
|
|
28
|
-
dependencies nobody is tracking.
|
|
29
|
-
|
|
30
|
-
## Run it before you have credentials
|
|
31
|
-
|
|
32
|
-
Every operation ships a **faker**, whether or not Gmail has a sandbox. Set a
|
|
33
|
-
node's mode to `fake` and it returns the shape Gmail actually publishes — the
|
|
34
|
-
same field names, deterministically — so you can wire the downstream nodes before
|
|
35
|
-
touching an account, a key, or a network.
|
|
36
|
-
|
|
37
|
-
## This repository is generated
|
|
38
|
-
|
|
39
|
-
`provider/` is the source. Everything under `packages/` is emitted from it and
|
|
40
|
-
**must not be hand-edited** — CI regenerates and diffs on every push, and the
|
|
41
|
-
next protocol sync destroys anything it finds. See [`AGENTS.md`](AGENTS.md).
|
|
42
|
-
|
|
43
|
-
## Two namespaces, which do not match on purpose
|
|
44
|
-
|
|
45
|
-
The repo is `github.com/Fancy-Friends/gmail`; the packages publish under
|
|
46
|
-
`particle-academy`. Nothing derives one from the other — the names come from
|
|
47
|
-
weaver's `friends.json` and nowhere else.
|
|
48
|
-
|
|
49
|
-
## Licence
|
|
50
|
-
|
|
51
|
-
MIT.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|