flet-ads 0.2.0.dev48__tar.gz → 0.2.0.dev505__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.
Potentially problematic release.
This version of flet-ads might be problematic. Click here for more details.
- {flet_ads-0.2.0.dev48/src/flet_ads.egg-info → flet_ads-0.2.0.dev505}/PKG-INFO +6 -4
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/README.md +5 -3
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/pyproject.toml +5 -1
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads/__init__.py +4 -4
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads/banner_ad.py +2 -2
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads/interstitial_ad.py +3 -8
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads/native_ad.py +2 -2
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505/src/flet_ads.egg-info}/PKG-INFO +6 -4
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/LICENSE +0 -0
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/setup.cfg +0 -0
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads/base_ad.py +0 -0
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads/types.py +0 -0
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads.egg-info/SOURCES.txt +0 -0
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads.egg-info/dependency_links.txt +0 -0
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads.egg-info/requires.txt +0 -0
- {flet_ads-0.2.0.dev48 → flet_ads-0.2.0.dev505}/src/flet_ads.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-ads
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev505
|
|
4
4
|
Summary: Display Google Ads in Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -41,7 +41,9 @@ This package supports the following platforms:
|
|
|
41
41
|
| Android | ✅ |
|
|
42
42
|
| Web | ❌ |
|
|
43
43
|
|
|
44
|
-
##
|
|
44
|
+
## Usage
|
|
45
|
+
|
|
46
|
+
### Installation
|
|
45
47
|
|
|
46
48
|
To install the `flet-ads` package and add it to your project dependencies:
|
|
47
49
|
|
|
@@ -61,6 +63,6 @@ To install the `flet-ads` package and add it to your project dependencies:
|
|
|
61
63
|
poetry add flet-ads
|
|
62
64
|
```
|
|
63
65
|
|
|
64
|
-
|
|
66
|
+
### Examples
|
|
65
67
|
|
|
66
|
-
For examples, see [
|
|
68
|
+
For examples, see [these](./examples).
|
|
@@ -25,7 +25,9 @@ This package supports the following platforms:
|
|
|
25
25
|
| Android | ✅ |
|
|
26
26
|
| Web | ❌ |
|
|
27
27
|
|
|
28
|
-
##
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
### Installation
|
|
29
31
|
|
|
30
32
|
To install the `flet-ads` package and add it to your project dependencies:
|
|
31
33
|
|
|
@@ -45,6 +47,6 @@ To install the `flet-ads` package and add it to your project dependencies:
|
|
|
45
47
|
poetry add flet-ads
|
|
46
48
|
```
|
|
47
49
|
|
|
48
|
-
|
|
50
|
+
### Examples
|
|
49
51
|
|
|
50
|
-
For examples, see [
|
|
52
|
+
For examples, see [these](./examples).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "flet-ads"
|
|
3
|
-
version = "0.2.0.
|
|
3
|
+
version = "0.2.0.dev505"
|
|
4
4
|
description = "Display Google Ads in Flet apps."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
|
|
@@ -49,6 +49,7 @@ docs = [
|
|
|
49
49
|
"markdown-exec[ansi] >=1.11.0",
|
|
50
50
|
"pydocstyle >=6.3.0",
|
|
51
51
|
"linkcheckmd >=1.4.0",
|
|
52
|
+
"mkdocs-external-images",
|
|
52
53
|
{ include-group = 'docs-coverage' },
|
|
53
54
|
]
|
|
54
55
|
all = [
|
|
@@ -56,6 +57,9 @@ all = [
|
|
|
56
57
|
{ include-group = 'docs' },
|
|
57
58
|
]
|
|
58
59
|
|
|
60
|
+
[tool.uv.sources]
|
|
61
|
+
mkdocs-external-images = { git = "https://github.com/flet-dev/mkdocs-external-images", tag = "v0.2.0" }
|
|
62
|
+
|
|
59
63
|
[build-system]
|
|
60
64
|
requires = ["setuptools"]
|
|
61
65
|
build-backend = "setuptools.build_meta"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
from .banner_ad import BannerAd
|
|
2
|
-
from .base_ad import BaseAd
|
|
3
|
-
from .interstitial_ad import InterstitialAd
|
|
4
|
-
from .types import (
|
|
1
|
+
from flet_ads.banner_ad import BannerAd
|
|
2
|
+
from flet_ads.base_ad import BaseAd
|
|
3
|
+
from flet_ads.interstitial_ad import InterstitialAd
|
|
4
|
+
from flet_ads.types import (
|
|
5
5
|
AdRequest,
|
|
6
6
|
PaidAdEvent,
|
|
7
7
|
PrecisionType,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import asyncio
|
|
2
|
-
|
|
3
1
|
import flet as ft
|
|
4
2
|
|
|
5
|
-
from .base_ad import BaseAd
|
|
3
|
+
from flet_ads.base_ad import BaseAd
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
@ft.control("InterstitialAd")
|
|
@@ -14,8 +12,5 @@ class InterstitialAd(BaseAd):
|
|
|
14
12
|
AssertionError: When using this control on a web and/or non-mobile platform.
|
|
15
13
|
"""
|
|
16
14
|
|
|
17
|
-
def show(self):
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
async def show_async(self):
|
|
21
|
-
await self._invoke_method_async("show")
|
|
15
|
+
async def show(self):
|
|
16
|
+
await self._invoke_method("show")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-ads
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev505
|
|
4
4
|
Summary: Display Google Ads in Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -41,7 +41,9 @@ This package supports the following platforms:
|
|
|
41
41
|
| Android | ✅ |
|
|
42
42
|
| Web | ❌ |
|
|
43
43
|
|
|
44
|
-
##
|
|
44
|
+
## Usage
|
|
45
|
+
|
|
46
|
+
### Installation
|
|
45
47
|
|
|
46
48
|
To install the `flet-ads` package and add it to your project dependencies:
|
|
47
49
|
|
|
@@ -61,6 +63,6 @@ To install the `flet-ads` package and add it to your project dependencies:
|
|
|
61
63
|
poetry add flet-ads
|
|
62
64
|
```
|
|
63
65
|
|
|
64
|
-
|
|
66
|
+
### Examples
|
|
65
67
|
|
|
66
|
-
For examples, see [
|
|
68
|
+
For examples, see [these](./examples).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|