Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to a poetry package #1665

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Fast and effective Instagram Private API wrapper (public+private requests and challenge resolver).

Use the most recent version of the API from Instagram.

Features:

1. Performs Public API (web, anonymous) or Private API (mobile app, authorized)
requests depending on the situation (to avoid Instagram limits)
2. Challenge Resolver have Email (as well as recipes for automating receive a code from email) and SMS handlers
3. Support upload a Photo, Video, IGTV, Clips (Reels), Albums and Stories
4. Support work with User, Media, Insights, Collections, Location (Place), Hashtag and Direct objects
5. Like, Follow, Edit account (Bio) and much more else
6. Insights by account, posts and stories
7. Build stories with custom background, font animation, swipe up link and mention users
8. In the next release, account registration and captcha passing will appear
1,474 changes: 1,474 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[tool.poetry]
name = "instagrapi"
version = "2.0.0"
description = "Fast and effective Instagram Private API wrapper"
license = "MIT"
authors = ["Mark Subzeroid <[email protected]>"]
readme = ["README.md", "README2.md"] # check docs for adding long description
repository = "https://github.com/subzeroid/instagrapi"
documentation = "https://subzeroid.github.io/instagrapi/"
keywords = [
"instagram private api",
"instagram-private-api",
"instagram api",
"instagram-api",
"instagram",
"instagram-scraper",
"instagram-client",
"instagram-stories",
"instagram-feed",
"instagram-reels",
"instagram-insights",
"downloader",
"uploader",
"videos",
"photos",
"albums",
"igtv",
"reels",
"stories",
"pictures",
"instagram-user-photos",
"instagram-photos",
"instagram-metadata",
"instagram-downloader",
"instagram-uploader",
"instagram-note",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
# packages = [{ include = "instagrapi" }] # use if package not detected

[tool.poetry.dependencies]
python = ">=3.8.1" #flake8 requires
requests = "<3.0,>=2.25.1"
PySocks = "^1.7.1"
pydantic = "^2.4.2"
pycryptodomex = "^3.18.0"

[tool.poetry.group.test.dependencies]
pytest = "*"
flake8 = "6.1.0"
isort = "5.12.0"
bandit = "1.7.5"
mike = "2.0.0"

[tool.poetry.group.docs.dependencies]
markdown-include = "0.8.1"
mkdocs-material = "9.4.9"
mkdocs-minify-plugin = "0.7.1"
mkdocs-redirects_relative_redirects = { path = "./util/mkdocs-redirects" }
mkdocstrings_patch_type_aliases = { path = "./util/mkdocstrings_patch_type_aliases" }
mkdocstrings = "0.24.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
11 changes: 0 additions & 11 deletions requirements-test.txt

This file was deleted.

21 changes: 0 additions & 21 deletions requirements.lock

This file was deleted.

5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

82 changes: 0 additions & 82 deletions setup.py

This file was deleted.