crawler-user-agents 1.0.136 → 1.0.138

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,36 @@
1
+ name: Upload Package to PyPi
2
+ # the authorization is handled via trusted published, see https://docs.pypi.org/trusted-publishers/creating-a-project-through-oidc/
3
+ on:
4
+ push:
5
+ branches:
6
+ - 'testpypi'
7
+ workflow_run:
8
+ workflows: [CI validation]
9
+ branches: [master]
10
+ types:
11
+ - completed
12
+
13
+ permissions:
14
+ contents: read
15
+ #
16
+ jobs:
17
+ deploy:
18
+ runs-on: ubuntu-latest
19
+ permissions:
20
+ id-token: write
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ - name: Version bump
24
+ uses: monperrus/pyproject-bump-pypi@main
25
+ with:
26
+ file_to_bump: "./pyproject.toml"
27
+ bump_type: "minor"
28
+
29
+ - name: Set up Python
30
+ uses: actions/setup-python@v3
31
+ with:
32
+ python-version: '3.x'
33
+ - run: pip install build
34
+ - run: python -m build
35
+ - name: Publish package
36
+ uses: pypa/gh-action-pypi-publish@release/v1.8
package/MANIFEST.in ADDED
@@ -0,0 +1 @@
1
+ include *.json
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This repository contains a list of of HTTP user-agents used by robots, crawlers, and spiders as in single JSON file.
4
4
 
5
+ * NPM package: <https://www.npmjs.com/package/crawler-user-agents>
6
+ * Go package: <https://pkg.go.dev/github.com/monperrus/crawler-user-agents>
7
+ * PyPi package: <https://pypi.org/project/crawler-user-agents/>
8
+
5
9
  ## Install
6
10
 
7
11
  ### Direct download
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crawler-user-agents",
3
- "version": "1.0.136",
3
+ "version": "1.0.138",
4
4
  "main": "crawler-user-agents.json",
5
5
  "typings": "./index.d.ts",
6
6
  "author": "Martin Monperrus <martin.monperrus@gnieh.org>",
package/pyproject.toml ADDED
@@ -0,0 +1,13 @@
1
+ [project]
2
+ name = "crawler-user-agents"
3
+ version = "0.1"
4
+
5
+ authors = [
6
+ { name="Martin Monperrus", email="martin.monperrus@gnieh.org" },
7
+ ]
8
+
9
+ readme = "README.md"
10
+
11
+ [tool.setuptools.packages.find]
12
+ where = [ "." ]
13
+