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.
- package/.github/workflows/pypi-publish.yml +36 -0
- package/MANIFEST.in +1 -0
- package/README.md +4 -0
- package/package.json +1 -1
- package/pyproject.toml +13 -0
|
@@ -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
package/pyproject.toml
ADDED