File tree Expand file tree Collapse file tree 11 files changed +83
-1
lines changed Expand file tree Collapse file tree 11 files changed +83
-1
lines changed Original file line number Diff line number Diff line change 11.venv
22cookie.json
33__pycache__
4- logs /
4+ logs /
5+ build /
6+ * .egg-info /
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 1+
2+ # twitter_openapi_python
3+
4+ Twitter scraping with data validation by pydantic.
5+
6+ ![ 1691572735537] ( docs/image/README/1691572735537.png )
Original file line number Diff line number Diff line change 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 ]
228reportPrivateImportUsage = false
Original file line number Diff line number Diff line change 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+ 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+ )
Original file line number Diff line number Diff line change 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/*
You can’t perform that action at this time.
0 commit comments