Skip to content

Commit 81fe40b

Browse files
committed
add build data
Signed-off-by: ふぁ <[email protected]>
1 parent fe8deaf commit 81fe40b

File tree

11 files changed

+83
-1
lines changed

11 files changed

+83
-1
lines changed

twitter_openapi_python/.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
.venv
22
cookie.json
33
__pycache__
4-
logs/
4+
logs/
5+
build/
6+
*.egg-info/

twitter_openapi_python/.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"python.testing.pytestEnabled": false,
55
"python.testing.unittestEnabled": true,
66
"python.analysis.typeCheckingMode": "basic",
7+
"editor.unicodeHighlight.ambiguousCharacters": false,
78
"editor.codeActionsOnSave": {
89
"source.organizeImports": true
10+
},
11+
"markdownlint.config": {
12+
"MD033": false
913
}
1014
}

twitter_openapi_python/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
# twitter_openapi_python
3+
4+
Twitter scraping with data validation by pydantic.
5+
6+
![1691572735537](docs/image/README/1691572735537.png)
13.3 KB
Loading
6.2 KB
Loading
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
1+
[tool.poetry]
2+
name = "twitter_openapi_python"
3+
version = "0.0.1"
4+
description = "Twitter OpenAPI"
5+
authors = ["OpenAPI Generator Community <[email protected]>"]
6+
license = "GNU Affero General Public License v3."
7+
readme = "README.md"
8+
repository = "https://github.com/fa0311/twitter_openapi_python"
9+
keywords = ["twitter", "api", "python", "scraper"]
10+
include = ["twitter_openapi_python/py.typed"]
11+
12+
[tool.poetry.dependencies]
13+
python = "^3.7"
14+
pydantic = "^1.10.5, <2"
15+
16+
twitter-openapi-python-generated = ">= 0.0.1, < 1"
17+
18+
[tool.poetry.dev-dependencies]
19+
20+
[build-system]
21+
requires = ["setuptools"]
22+
build-backend = "setuptools.build_meta"
23+
24+
[tool.pylint.'MESSAGES CONTROL']
25+
extension-pkg-whitelist = "pydantic"
26+
127
[tool.pyright]
228
reportPrivateImportUsage = false
-628 Bytes
Binary file not shown.

twitter_openapi_python/setup.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# coding: utf-8
2+
3+
from setuptools import find_packages, setup
4+
5+
NAME = "twitter_openapi_python"
6+
VERSION = "0.0.1"
7+
PYTHON_REQUIRES = ">=3.7"
8+
REQUIRES = [
9+
"twitter_openapi_python_generated >= 0.0.1, < 1",
10+
"pydantic >= 1.10.5, < 2",
11+
]
12+
13+
setup(
14+
name=NAME,
15+
version=VERSION,
16+
description="Twitter OpenAPI",
17+
author="OpenAPI Generator community",
18+
author_email="[email protected]",
19+
url="https://github.com/fa0311/twitter_openapi_python",
20+
keywords=["OpenAPI", "OpenAPI-Generator", "Twitter OpenAPI"],
21+
install_requires=REQUIRES,
22+
packages=find_packages(exclude=["test", "tests"]),
23+
include_package_data=True,
24+
license="GNU Affero General Public License v3.",
25+
long_description_content_type="text/markdown",
26+
long_description="""\
27+
Twitter OpenAPI(Swagger) specification
28+
""", # noqa: E501
29+
package_data={"twitter_openapi_python": ["py.typed"]},
30+
)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pip install wheel twine
2+
Remove-Item twitter_openapi_python_generated.egg-info/*
3+
Remove-Item dist/*
4+
python setup.py sdist
5+
python setup.py bdist_wheel
6+
Read-Host 'Press Enter to continue'
7+
twine upload dist/*

twitter_openapi_python/twitter_openapi_python/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)