websiteclassificationapi 2.15.1__tar.gz → 2.15.3__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.
- websiteclassificationapi-2.15.3/LICENSE +21 -0
- websiteclassificationapi-2.15.3/PKG-INFO +357 -0
- {websiteclassificationapi-2.15.1 → websiteclassificationapi-2.15.3}/README.md +18 -4
- {websiteclassificationapi-2.15.1 → websiteclassificationapi-2.15.3}/setup.py +5 -2
- websiteclassificationapi-2.15.3/websiteclassificationapi.egg-info/PKG-INFO +357 -0
- {websiteclassificationapi-2.15.1 → websiteclassificationapi-2.15.3}/websiteclassificationapi.egg-info/SOURCES.txt +1 -0
- websiteclassificationapi-2.15.1/PKG-INFO +0 -341
- websiteclassificationapi-2.15.1/websiteclassificationapi.egg-info/PKG-INFO +0 -341
- {websiteclassificationapi-2.15.1 → websiteclassificationapi-2.15.3}/setup.cfg +0 -0
- {websiteclassificationapi-2.15.1 → websiteclassificationapi-2.15.3}/test/__init__.py +0 -0
- {websiteclassificationapi-2.15.1 → websiteclassificationapi-2.15.3}/websiteclassificationapi/__init__.py +0 -0
- {websiteclassificationapi-2.15.1 → websiteclassificationapi-2.15.3}/websiteclassificationapi.egg-info/dependency_links.txt +0 -0
- {websiteclassificationapi-2.15.1 → websiteclassificationapi-2.15.3}/websiteclassificationapi.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 arnu515
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: websiteclassificationapi
|
|
3
|
+
Version: 2.15.3
|
|
4
|
+
Summary: Website classification API
|
|
5
|
+
Home-page: https://www.websitecategorizationapi.com
|
|
6
|
+
Author-email: info@websitecategorizationapi.com
|
|
7
|
+
Project-URL: Homepage, https://www.websitecategorizationapi.com
|
|
8
|
+
Project-URL: Source, https://github.com/explainableaixai/websitecategorizationapi
|
|
9
|
+
Project-URL: AI Agent Allow List, https://www.aiagentallowlist.com
|
|
10
|
+
Project-URL: Shadow AI Tools, https://www.shadowaitools.com
|
|
11
|
+
Project-URL: AI Tools Blocklist, https://www.aitoolsblocklist.com
|
|
12
|
+
Project-URL: Resume Reader API, http://resumereaderapi.com
|
|
13
|
+
Keywords: website categorization,classification,categorization
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Environment :: GPU :: NVIDIA CUDA :: 11.3
|
|
16
|
+
Classifier: Environment :: GPU :: NVIDIA CUDA :: 11.0
|
|
17
|
+
Classifier: Environment :: GPU :: NVIDIA CUDA
|
|
18
|
+
Classifier: Environment :: GPU :: NVIDIA CUDA :: 11.2
|
|
19
|
+
Classifier: Environment :: GPU :: NVIDIA CUDA :: 10.1
|
|
20
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
21
|
+
Description-Content-Type: text/markdown
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
|
|
24
|
+
# Website Classification API
|
|
25
|
+
|
|
26
|
+
This is the Python3 client library for [URL Classification](https://www.websitecategorizationapi.com) service.
|
|
27
|
+
|
|
28
|
+
Our Website Categorization API provides accurate URL/webpage classification based on the widely trusted IAB Taxonomy.
|
|
29
|
+
|
|
30
|
+
Categorizations are done in real-time and using full-path URLs.You can also use our API to classify plain text.
|
|
31
|
+
|
|
32
|
+
We return categorizations of URLS for the following taxonomies:
|
|
33
|
+
|
|
34
|
+
IAB, version 3, with 4 Tiers (taxonomy from Internet Advertising Bureau - IAB,
|
|
35
|
+
IAB, version 2, with 4 Tiers (taxonomy from Internet Advertising Bureau - IAB
|
|
36
|
+
IPTC NewsCodes, especially suitable for News Categorization
|
|
37
|
+
Web Content Filtering Taxonomy (44 categories)
|
|
38
|
+
Google Shopping Taxonomy, used by millions of online retailers (5474 categories)
|
|
39
|
+
Shopify Taxonomy, used by millions of online stores (10560 categories)
|
|
40
|
+
Amazon Taxonomy (39004 categories)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
We also return the following classifications / enriched data about each URL:
|
|
44
|
+
|
|
45
|
+
Detection of Malware/Social Engineering/Mailicious Software
|
|
46
|
+
Web Technologies used
|
|
47
|
+
Likely Buyer Personas
|
|
48
|
+
Topics
|
|
49
|
+
Key Entities Named
|
|
50
|
+
Sentiment Analysis
|
|
51
|
+
Similar companies / Competitors
|
|
52
|
+
Similar domains
|
|
53
|
+
Tags
|
|
54
|
+
Keywords
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
For those looking for eCommerce classification, we also provide [Smart Product Categorization AI](https://www.productcategorization.com). It supports Shopify, Google Shopping, eBay and 120 other marketplaces.
|
|
58
|
+
|
|
59
|
+
Website classification API s a python library that allows to classify websites based on IAB.
|
|
60
|
+
|
|
61
|
+
## Installation
|
|
62
|
+
```
|
|
63
|
+
pip install websiteclassificationapi
|
|
64
|
+
```
|
|
65
|
+
## Requirements
|
|
66
|
+
|
|
67
|
+
Only Python 3 is supported. You need an API key which you can obtain at our website.
|
|
68
|
+
Python library requires only requests package.
|
|
69
|
+
|
|
70
|
+
## Documentation
|
|
71
|
+
|
|
72
|
+
More detailed API documentation on URL Classification is [available here](https://www.websitecategorizationapi.com/api.php).
|
|
73
|
+
|
|
74
|
+
## Examples
|
|
75
|
+
|
|
76
|
+
Please check our API documentation page on our website for most up to date examples.
|
|
77
|
+
```
|
|
78
|
+
from websiteclassificationapi import websiteclassificationapi
|
|
79
|
+
|
|
80
|
+
api_key = 'h2XurA' # you can get API key from www.websitecategorizationapi.com
|
|
81
|
+
url = 'www.alpha-quantum.com' # can be set to any valid URL
|
|
82
|
+
classifier_type = 'iab1' # should be set to either iab1 (Tier 1 categorization) or iab2 (Tier 2 categorization) for general websites or ecommerce1, ecommerce2 and ecommerce3 for E-commerce or product websites
|
|
83
|
+
|
|
84
|
+
# calling the API
|
|
85
|
+
print(websiteclassificationapi.get_categorization(url,api_key,classifier_type))
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## How to select classifiers of different taxonomies
|
|
89
|
+
|
|
90
|
+
NEW (update October 2024): Our newest version of API supports classifications for up to 4 Tiers. It returns one or more of 700 IAB categories.
|
|
91
|
+
|
|
92
|
+
Classifier_type should be set to either iab1 (Tier 1 categorization) or iab2 (Tier 2 categorization) for general websites or ecommerce1, ecommerce2 and ecommerce3 for E-commerce or product websites.
|
|
93
|
+
|
|
94
|
+
IAB Tier 1 categorization returns probabilities of text being classified as one of 29 possible categories.
|
|
95
|
+
|
|
96
|
+
IAB Tier 2 categorization returns probabilities of text being classified as one of 447 possible categories.
|
|
97
|
+
|
|
98
|
+
Ecommerce Tier 1 categorization returns probabilities of text being classified as one of 21 possible categories.
|
|
99
|
+
|
|
100
|
+
Ecommerce Tier 2 website categorization returns probabilities of text being classified as one of 182 possible categories.
|
|
101
|
+
|
|
102
|
+
Ecommerce Tier 3 website categorization returns probabilities of text being classified as one of 1113 possible categories.
|
|
103
|
+
|
|
104
|
+
## Taxonomies
|
|
105
|
+
|
|
106
|
+
The list of categories available by classifier is also known as Taxonomy. There are many taxonomies available, some are standard are well known, e.g. IAB taxonomy is well suited for ads and advertising in general, whereas Facebook product categories taxonomy
|
|
107
|
+
is appropriate for ecommerce field.
|
|
108
|
+
|
|
109
|
+
Taxonomy also differ in how many tiers, levels, or depths do they support. E.g. taxonomy may only support 1 set of main categories, or it can further subcategories.
|
|
110
|
+
|
|
111
|
+
The categorization in the form of Tier 1/Tier 2/Tier 3/.... is also known as taxonomy path.
|
|
112
|
+
|
|
113
|
+
The classifiers can be either built in a way that they predict single Tier categories or they can return full taxonomy paths. It really depends on the use case what is most appropriate.
|
|
114
|
+
|
|
115
|
+
You can find more information about IAB taxonomy at this page: https://www.iab.com/guidelines/content-taxonomy/.
|
|
116
|
+
|
|
117
|
+
Taxonomy should be chosen in a way that it suits your use case. E.g. let us say you have an online store and currently you just list your products without any categorizations.
|
|
118
|
+
|
|
119
|
+
Then it may be very valuable if you could provide some kind of menus that categorize products in different verticals.
|
|
120
|
+
|
|
121
|
+
Why? Because your users may more easily find your products, you will have more subpages that can be indexed by search engines and thus provide you with more traffic and visits.
|
|
122
|
+
|
|
123
|
+
Having verticals set up may also mean better filtering and lead to higher conversions and thus lower cost of acquisition. There are a multitude of opportunities in adding categorization to an online store.
|
|
124
|
+
|
|
125
|
+
## Our other services
|
|
126
|
+
|
|
127
|
+
Companies that manage internet access often start with a [web filtering database](https://www.webfilteringdatabase.com) to review how domains are categorized. This supports better decisions around policy cr
|
|
128
|
+
eation, reporting, and risk visibility. Many of those teams also evaluate a [web filtering service](https://www.webfilteringservice.com) to apply those controls in production.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
We also provide an [Anonymization API](https://www.anonymizationapi.com) for privacy-preserving media and data workflows.
|
|
132
|
+
|
|
133
|
+
Schools and libraries subject to the Children's Internet Protection Act need more than generic web categories, they need a purpose-built [CIPA web filtering](https://www.cipawebfiltering.com) database with 120 million domains organized into 57+ content categories aligned to federal compliance requirements. Pairing categorization with threat intelligence strengthens any filtering deployment, and our [phishing detection API](https://www.phishingdetectionapi.com) delivers real-time lookups against 390,000+ DNS-verified active phishing domains so that malicious URLs are blocked before they reach end users. Together, these services give IT teams the classification depth and security coverage needed to protect students, staff, and network infrastructure.
|
|
134
|
+
|
|
135
|
+
## AI explainability
|
|
136
|
+
|
|
137
|
+
One of the unique features of classifiers is that they provide machine learning interpretability or artificial intelligence explainability (XAI) in the form of words that most contribute to resulting classification.
|
|
138
|
+
|
|
139
|
+
Example 1 of explainability:
|
|
140
|
+

|
|
141
|
+
|
|
142
|
+
Example 2 of explainability:
|
|
143
|
+

|
|
144
|
+
|
|
145
|
+
Why the need of AI explainability?
|
|
146
|
+
|
|
147
|
+
AI models are increasingly being used in ways that affect humans. E.g. you may apply for a loan at the bank and get rejected, but even though a human may have sent or explained you this, the decision may have actually been made by a machine learning model.
|
|
148
|
+
|
|
149
|
+
Machine learning models making decisions is increasingly part of every day and because often these decisions are made by what could be termed black boxes, there is increasing desire for having ML decisions made in a way that are explainable.
|
|
150
|
+
|
|
151
|
+
There are also many regulations that demand this, e.g. GDPR.
|
|
152
|
+
|
|
153
|
+
## Support for languages
|
|
154
|
+
|
|
155
|
+
Classification service supports classifications of websites in 150 languages.
|
|
156
|
+
|
|
157
|
+
## Offline database of categorized domains
|
|
158
|
+
|
|
159
|
+
We offer offline [URL database](https://www.websitecategorizationapi.com/url_database.php) of millions of categorized domains. It can be used web content filtering, AdTech marketing, cybersecurity, brand safety, contextual targeting.
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
It is ideal for those use cases where you require very low latency of requests, which can be achieved with pre-classified websites stored in database.
|
|
163
|
+
|
|
164
|
+
Another great source for [URL categorization database](https://www.urlcategorizationdatabase.com/)
|
|
165
|
+
|
|
166
|
+
If your traffic is mostly Chinese, the [Chinese domain database](https://www.urlfenleiku.com/chinese-domain-database/) on urlfenleiku.com covers .cn domains, Chinese-language suffixes and other domains hosted in China, with a status for every domain and categories for the classified ones.
|
|
167
|
+
|
|
168
|
+
## Handling websites with no texts
|
|
169
|
+
|
|
170
|
+
When encountering websites that have no text and just images, our classifier relies on online optical character recognition API service to extract text (if any available) from images on the website. And then classify it.
|
|
171
|
+
|
|
172
|
+
To deal with potential duplicates we use the reverse IP lookup of domains to find similar domains that are hosted on the same IP.
|
|
173
|
+
|
|
174
|
+
## Application of website categorization to technologies usage
|
|
175
|
+
|
|
176
|
+
We have collected usage of technologies by millions of websites, by combining this with categorization, one can find interesting results.
|
|
177
|
+
|
|
178
|
+
Here is for example usage of Intercom across industry verticals:
|
|
179
|
+
|
|
180
|
+

|
|
181
|
+
|
|
182
|
+
Based on 50 millions of usage points we built an AI recommender which can predict which technologies for company using a set of technologies.
|
|
183
|
+
|
|
184
|
+
Here are e.g. recommendations for company using Mouse Flow: <table class="table" style="font-size:20px;line-height:30px"><thead><tr><th>Technology</th><th>AI Recommendation Score </th><th>Website</th></tr></thead><tbody><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-AppNexus">AppNexus</a></td><td>0.15</td><td>http://appnexus.com</td></tr><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-Microsoft Clarity">Microsoft Clarity</a></td><td>0.14</td><td>https://clarity.microsoft.com</td></tr><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-Osano">Osano</a></td><td>0.14</td><td>https://www.osano.com/</td></tr><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-Jetpack">Jetpack</a></td><td>0.14</td><td>https://jetpack.com</td></tr><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-Raphael">Raphael</a></td><td>0.14</td><td>https://dmitrybaranovskiy.github.io/raphael/</td></tr><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-Svelte">Svelte</a></td><td>0.13</td><td>https://svelte.dev</td></tr><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-AWS Certificate Manager">AWS Certificate Manager</a></td><td>0.12</td><td>https://aws.amazon.com/certificate-manager/</td></tr><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-Extendify">Extendify</a></td><td>0.11</td><td>https://extendify.com</td></tr><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-Kendo UI">Kendo UI</a></td><td>0.11</td><td>https://www.telerik.com/kendo-ui</td></tr><tr><td><a href="https://www.alpha-quantum.com/technologies/websites-using-Flywheel">Flywheel</a></td><td>0.11</td><td>https://getflywheel.com</td></tr></tbody></table>
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
Our digital solutions are trusted by organizations seeking reliable, secure, and innovative tools. Protect privacy in every scenario using our [image anonymization](https://www.anonymizationapi.com) platform, engineered to meet global standards and inspired by research from [MIT](https://web.mit.edu), while staying informed with insights from [Harvard](https://www.harvard.edu) and approaches found at [Stanford](https://www.stanford.edu).
|
|
189
|
+
|
|
190
|
+
Business growth is supported through our [corporate enrichment data](https://www.companydataapi.com), delivering actionable intelligence much like the work at [Cambridge](https://www.cam.ac.uk). For cybersecurity and research teams, our [domain dataset](https://www.urlcategorizationdatabase.com) offers extensive categorization, paralleling the data-centric methods at [Berkeley](https://www.berkeley.edu).
|
|
191
|
+
|
|
192
|
+
By aligning our solutions with the excellence demonstrated at [Yale](https://www.yale.edu) and [Cornell](https://www.cornell.edu), we ensure that your organization stays at the cutting edge, combining technology, research, and practical results for every challenge.
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
## Example classifications
|
|
196
|
+
|
|
197
|
+
Example classification for website www.github.com:
|
|
198
|
+
```
|
|
199
|
+
{
|
|
200
|
+
"classification": [
|
|
201
|
+
{
|
|
202
|
+
"category": "Technology & Computing",
|
|
203
|
+
"value": 0.7621352908406164
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"category": "Business and Finance",
|
|
207
|
+
"value": 0.0785701408756428
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"category": "Video Gaming",
|
|
211
|
+
"value": 0.06626958968249749
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"category": "Fine Art",
|
|
215
|
+
"value": 0.017105357862223433
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"category": "Hobbies & Interests",
|
|
219
|
+
"value": 0.016812511656388394
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"category": "Sports",
|
|
223
|
+
"value": 0.011396157737341801
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"category": "Home & Garden",
|
|
227
|
+
"value": 0.009099685741207822
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"category": "Personal Finance",
|
|
231
|
+
"value": 0.0076400890345109055
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"category": "News and Politics",
|
|
235
|
+
"value": 0.006692288300928684
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"category": "Careers",
|
|
239
|
+
"value": 0.0039930258544077606
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"category": "Automotive",
|
|
243
|
+
"value": 0.0029276292555247764
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"category": "Events and Attractions",
|
|
247
|
+
"value": 0.0026449624402393084
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"category": "Shopping",
|
|
251
|
+
"value": 0.0023606962223306537
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"category": "Family and Relationships",
|
|
255
|
+
"value": 0.0023174171750800186
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"category": "Music and Audio",
|
|
259
|
+
"value": 0.0020517145262615513
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"category": "Movies",
|
|
263
|
+
"value": 0.0018936850100483473
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"category": "Travel",
|
|
267
|
+
"value": 0.0009448942095545797
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"category": "Science",
|
|
271
|
+
"value": 0.0008432696857311802
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"category": "Pets",
|
|
275
|
+
"value": 0.0006956402098649299
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"category": "Television",
|
|
279
|
+
"value": 0.0005261918310662409
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"category": "Real Estate",
|
|
283
|
+
"value": 0.0005058920662560916
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"category": "Religion & Spirituality",
|
|
287
|
+
"value": 0.000492253420442475
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"category": "Healthy Living",
|
|
291
|
+
"value": 0.0004690261931844088
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"category": "Medical Health",
|
|
295
|
+
"value": 0.0004467617749304944
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"category": "Education",
|
|
299
|
+
"value": 0.00036333686743226124
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"category": "Food & Drink",
|
|
303
|
+
"value": 0.0003463620639422737
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"category": "Books and Literature",
|
|
307
|
+
"value": 0.00027078317064036986
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"category": "Style & Fashion",
|
|
311
|
+
"value": 0.00011770141998920516
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"category": "Pop Culture",
|
|
315
|
+
"value": 0.00006764487171529734
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"html": "29101",
|
|
319
|
+
"language": "en",
|
|
320
|
+
"status": 200
|
|
321
|
+
}
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
For teams building acceptable-use or data-loss-prevention policies around generative AI, the [AI Tools Blocklist](https://www.aitoolsblocklist.com) complements this classifier with a purpose-built feed of AI-tool domains grouped into functional categories (chatbots, code assistants, media generators, voice cloning, and more). It answers a question generic categorization cannot: not just "is this site AI-related," but "which kind of AI tool is it," which is what granular blocking policies require.
|
|
326
|
+
|
|
327
|
+
Website classification at massive scale also applies to discovering acquisition candidates across the full web. Our [web-scale deal origination platform](https://www.acquisitionuniverse.com) screens over 100 million classified domains against buyer acquisition theses, extracting 15 operational signals per company from their public web presence. Private equity firms, search funds, and corporate development teams use the pipeline to surface non-obvious targets whose websites reveal strong fit signals, leadership depth, recurring revenue indicators, compliance readiness, that conventional company databases never capture.
|
|
328
|
+
|
|
329
|
+
The same classification engine powers contextual audience segments for programmatic advertising without cookies. Our [cookieless advertising data platform](https://www.cookielessaudiences.com) delivers domain datasets pre-categorized under the IAB content taxonomy, enabling DSPs and publishers to target audiences based on page context rather than user-level tracking. With Chrome, Safari, and Firefox deprecating third-party cookies, domain-level contextual classification is becoming the primary signal for brand-safe, regulation-compliant ad placement at scale.
|
|
330
|
+
|
|
331
|
+
## Useful resources used in development of website categorization
|
|
332
|
+
|
|
333
|
+
- [Tensorflow](https://www.tensorflow.org/)
|
|
334
|
+
|
|
335
|
+
- [Website categorization](https://medium.com/website-categorization/website-categorization-api-ca6c3e0f6c4d)
|
|
336
|
+
|
|
337
|
+
- [Sklearn](https://scikit-learn.org/stable/)
|
|
338
|
+
|
|
339
|
+
- [Smart product categorization](https://medium.com/product-categorization/product-categorization-introduction-d62bb92e8515)
|
|
340
|
+
|
|
341
|
+
- [Introduction to URL Categorization Database](https://www.alpha-quantum.com/blog/url-database/url-database/)
|
|
342
|
+
|
|
343
|
+
- [Top shopify stores](https://www.leadsquantum.com)
|
|
344
|
+
- [AI Tools Blocklist](https://www.aitoolsblocklist.com)
|
|
345
|
+
- [CV parser](http://resumereaderapi.com), AI resume parsing API that turns PDF/DOCX resumes into structured JSON
|
|
346
|
+
|
|
347
|
+
Classifying scraped or user-submitted pages means ingesting text you don't control, and that text regularly contains names, emails, and phone numbers. A [PII detection API](https://www.piidetectionapi.com) can flag and mask personal data in each document before classification results and source text are persisted. Teams subject to GDPR use automated [PII masking](https://www.piidetectionapi.com) as the standard pre-processing step for any external text pipeline.
|
|
348
|
+
|
|
349
|
+
Classifying a website answers what it is; agent deployments also need to know where its sensitive surfaces live. An [AI agent allowlist](https://www.aiagentallowlist.com) enriches every domain with verified URLs for 28 page types, letting policy engines allow research pages while denying credential and transaction surfaces. Classification plus [page-level agent policy](https://www.aiagentallowlist.com) is becoming the standard pairing for safe autonomous browsing.
|
|
350
|
+
|
|
351
|
+
## Related packages on PyPI and npm
|
|
352
|
+
|
|
353
|
+
- [aiblocklist](https://pypi.org/project/aiblocklist/) (also on [npm](https://www.npmjs.com/package/aiblocklist)): Python client for the [AI tools blocklist](https://www.aitoolsblocklist.com), 20,000+ AI-tool domains in 18 functional categories, daily refresh, feed downloads for DNS and firewall enforcement.
|
|
354
|
+
- [shadowaitools](https://pypi.org/project/shadowaitools/) (also on [npm](https://www.npmjs.com/package/shadowaitools)): a command-line tool that reads a DNS, proxy or firewall export and lists the AI tools in it; the hosted audit at [shadowaitools.com](https://www.shadowaitools.com) adds the per-user view, training verdicts and the PDF evidence pack.
|
|
355
|
+
- [aiagentallowlist](https://pypi.org/project/aiagentallowlist/) (also on [npm](https://www.npmjs.com/package/aiagentallowlist)): the [AI agent allow list](https://www.aiagentallowlist.com) client, verified page-type URLs and per-URL verdicts across 40 million+ domains for web-browsing agents.
|
|
356
|
+
- [phishingdetectionapi](https://pypi.org/project/phishingdetectionapi/), [cipawebfiltering](https://pypi.org/project/cipawebfiltering/), [productcategorizationapi](https://pypi.org/project/productcategorizationapi/) on PyPI; [webfilteringdatabase](https://www.npmjs.com/package/webfilteringdatabase) and [websitecategorization](https://www.npmjs.com/package/websitecategorization) on npm.
|
|
357
|
+
- Repositories: [github.com/explainableaixai](https://github.com/explainableaixai), [gitlab.com/url-classifications](https://gitlab.com/url-classifications).
|
|
@@ -107,7 +107,7 @@ Companies that manage internet access often start with a [web filtering database
|
|
|
107
107
|
|
|
108
108
|
We also provide an [Anonymization API](https://www.anonymizationapi.com) for privacy-preserving media and data workflows.
|
|
109
109
|
|
|
110
|
-
Schools and libraries subject to the Children's Internet Protection Act need more than generic web categories
|
|
110
|
+
Schools and libraries subject to the Children's Internet Protection Act need more than generic web categories, they need a purpose-built [CIPA web filtering](https://www.cipawebfiltering.com) database with 120 million domains organized into 57+ content categories aligned to federal compliance requirements. Pairing categorization with threat intelligence strengthens any filtering deployment, and our [phishing detection API](https://www.phishingdetectionapi.com) delivers real-time lookups against 390,000+ DNS-verified active phishing domains so that malicious URLs are blocked before they reach end users. Together, these services give IT teams the classification depth and security coverage needed to protect students, staff, and network infrastructure.
|
|
111
111
|
|
|
112
112
|
## AI explainability
|
|
113
113
|
|
|
@@ -140,6 +140,8 @@ It is ideal for those use cases where you require very low latency of requests,
|
|
|
140
140
|
|
|
141
141
|
Another great source for [URL categorization database](https://www.urlcategorizationdatabase.com/)
|
|
142
142
|
|
|
143
|
+
If your traffic is mostly Chinese, the [Chinese domain database](https://www.urlfenleiku.com/chinese-domain-database/) on urlfenleiku.com covers .cn domains, Chinese-language suffixes and other domains hosted in China, with a status for every domain and categories for the classified ones.
|
|
144
|
+
|
|
143
145
|
## Handling websites with no texts
|
|
144
146
|
|
|
145
147
|
When encountering websites that have no text and just images, our classifier relies on online optical character recognition API service to extract text (if any available) from images on the website. And then classify it.
|
|
@@ -164,7 +166,7 @@ Our digital solutions are trusted by organizations seeking reliable, secure, and
|
|
|
164
166
|
|
|
165
167
|
Business growth is supported through our [corporate enrichment data](https://www.companydataapi.com), delivering actionable intelligence much like the work at [Cambridge](https://www.cam.ac.uk). For cybersecurity and research teams, our [domain dataset](https://www.urlcategorizationdatabase.com) offers extensive categorization, paralleling the data-centric methods at [Berkeley](https://www.berkeley.edu).
|
|
166
168
|
|
|
167
|
-
By aligning our solutions with the excellence demonstrated at [Yale](https://www.yale.edu) and [Cornell](https://www.cornell.edu), we ensure that your organization stays at the cutting edge
|
|
169
|
+
By aligning our solutions with the excellence demonstrated at [Yale](https://www.yale.edu) and [Cornell](https://www.cornell.edu), we ensure that your organization stays at the cutting edge, combining technology, research, and practical results for every challenge.
|
|
168
170
|
|
|
169
171
|
|
|
170
172
|
## Example classifications
|
|
@@ -299,7 +301,7 @@ Example classification for website www.github.com:
|
|
|
299
301
|
|
|
300
302
|
For teams building acceptable-use or data-loss-prevention policies around generative AI, the [AI Tools Blocklist](https://www.aitoolsblocklist.com) complements this classifier with a purpose-built feed of AI-tool domains grouped into functional categories (chatbots, code assistants, media generators, voice cloning, and more). It answers a question generic categorization cannot: not just "is this site AI-related," but "which kind of AI tool is it," which is what granular blocking policies require.
|
|
301
303
|
|
|
302
|
-
Website classification at massive scale also applies to discovering acquisition candidates across the full web. Our [web-scale deal origination platform](https://www.acquisitionuniverse.com) screens over 100 million classified domains against buyer acquisition theses, extracting 15 operational signals per company from their public web presence. Private equity firms, search funds, and corporate development teams use the pipeline to surface non-obvious targets whose websites reveal strong fit signals
|
|
304
|
+
Website classification at massive scale also applies to discovering acquisition candidates across the full web. Our [web-scale deal origination platform](https://www.acquisitionuniverse.com) screens over 100 million classified domains against buyer acquisition theses, extracting 15 operational signals per company from their public web presence. Private equity firms, search funds, and corporate development teams use the pipeline to surface non-obvious targets whose websites reveal strong fit signals, leadership depth, recurring revenue indicators, compliance readiness, that conventional company databases never capture.
|
|
303
305
|
|
|
304
306
|
The same classification engine powers contextual audience segments for programmatic advertising without cookies. Our [cookieless advertising data platform](https://www.cookielessaudiences.com) delivers domain datasets pre-categorized under the IAB content taxonomy, enabling DSPs and publishers to target audiences based on page context rather than user-level tracking. With Chrome, Safari, and Firefox deprecating third-party cookies, domain-level contextual classification is becoming the primary signal for brand-safe, regulation-compliant ad placement at scale.
|
|
305
307
|
|
|
@@ -317,4 +319,16 @@ The same classification engine powers contextual audience segments for programma
|
|
|
317
319
|
|
|
318
320
|
- [Top shopify stores](https://www.leadsquantum.com)
|
|
319
321
|
- [AI Tools Blocklist](https://www.aitoolsblocklist.com)
|
|
320
|
-
- [CV parser](http://resumereaderapi.com)
|
|
322
|
+
- [CV parser](http://resumereaderapi.com), AI resume parsing API that turns PDF/DOCX resumes into structured JSON
|
|
323
|
+
|
|
324
|
+
Classifying scraped or user-submitted pages means ingesting text you don't control, and that text regularly contains names, emails, and phone numbers. A [PII detection API](https://www.piidetectionapi.com) can flag and mask personal data in each document before classification results and source text are persisted. Teams subject to GDPR use automated [PII masking](https://www.piidetectionapi.com) as the standard pre-processing step for any external text pipeline.
|
|
325
|
+
|
|
326
|
+
Classifying a website answers what it is; agent deployments also need to know where its sensitive surfaces live. An [AI agent allowlist](https://www.aiagentallowlist.com) enriches every domain with verified URLs for 28 page types, letting policy engines allow research pages while denying credential and transaction surfaces. Classification plus [page-level agent policy](https://www.aiagentallowlist.com) is becoming the standard pairing for safe autonomous browsing.
|
|
327
|
+
|
|
328
|
+
## Related packages on PyPI and npm
|
|
329
|
+
|
|
330
|
+
- [aiblocklist](https://pypi.org/project/aiblocklist/) (also on [npm](https://www.npmjs.com/package/aiblocklist)): Python client for the [AI tools blocklist](https://www.aitoolsblocklist.com), 20,000+ AI-tool domains in 18 functional categories, daily refresh, feed downloads for DNS and firewall enforcement.
|
|
331
|
+
- [shadowaitools](https://pypi.org/project/shadowaitools/) (also on [npm](https://www.npmjs.com/package/shadowaitools)): a command-line tool that reads a DNS, proxy or firewall export and lists the AI tools in it; the hosted audit at [shadowaitools.com](https://www.shadowaitools.com) adds the per-user view, training verdicts and the PDF evidence pack.
|
|
332
|
+
- [aiagentallowlist](https://pypi.org/project/aiagentallowlist/) (also on [npm](https://www.npmjs.com/package/aiagentallowlist)): the [AI agent allow list](https://www.aiagentallowlist.com) client, verified page-type URLs and per-URL verdicts across 40 million+ domains for web-browsing agents.
|
|
333
|
+
- [phishingdetectionapi](https://pypi.org/project/phishingdetectionapi/), [cipawebfiltering](https://pypi.org/project/cipawebfiltering/), [productcategorizationapi](https://pypi.org/project/productcategorizationapi/) on PyPI; [webfilteringdatabase](https://www.npmjs.com/package/webfilteringdatabase) and [websitecategorization](https://www.npmjs.com/package/websitecategorization) on npm.
|
|
334
|
+
- Repositories: [github.com/explainableaixai](https://github.com/explainableaixai), [gitlab.com/url-classifications](https://gitlab.com/url-classifications).
|
|
@@ -11,7 +11,7 @@ setup(
|
|
|
11
11
|
name="websiteclassificationapi",
|
|
12
12
|
|
|
13
13
|
# The version of your project.
|
|
14
|
-
version="2.15.
|
|
14
|
+
version="2.15.3",
|
|
15
15
|
|
|
16
16
|
packages=find_packages(exclude="tests"),
|
|
17
17
|
|
|
@@ -21,10 +21,13 @@ setup(
|
|
|
21
21
|
|
|
22
22
|
long_description_content_type="text/markdown",
|
|
23
23
|
|
|
24
|
-
url="https://
|
|
24
|
+
url="https://www.websitecategorizationapi.com",
|
|
25
25
|
|
|
26
26
|
project_urls={
|
|
27
27
|
"Homepage": "https://www.websitecategorizationapi.com",
|
|
28
|
+
"Source": "https://github.com/explainableaixai/websitecategorizationapi",
|
|
29
|
+
"AI Agent Allow List": "https://www.aiagentallowlist.com",
|
|
30
|
+
"Shadow AI Tools": "https://www.shadowaitools.com",
|
|
28
31
|
"AI Tools Blocklist": "https://www.aitoolsblocklist.com",
|
|
29
32
|
"Resume Reader API": "http://resumereaderapi.com",
|
|
30
33
|
},
|