{"id":14978909,"url":"https://github.com/jtayped/pygramcore","last_synced_at":"2026-03-05T12:32:26.210Z","repository":{"id":238535195,"uuid":"794945814","full_name":"jtayped/pygramcore","owner":"jtayped","description":"📷 A Python interface for Instagram featuring authentication, data retrieval, and posting.","archived":false,"fork":false,"pushed_at":"2024-05-13T20:04:46.000Z","size":228,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T14:43:25.087Z","etag":null,"topics":["automation","bot","instagram","instagram-bot","instagram-sdk","instagram-tool","selenium-webdriver"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pygramcore/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtayped.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-02T09:23:12.000Z","updated_at":"2024-05-17T11:43:57.000Z","dependencies_parsed_at":"2024-09-19T01:01:27.275Z","dependency_job_id":"6eaba780-6ac8-4410-b547-fba4390c4ce5","html_url":"https://github.com/jtayped/pygramcore","commit_stats":{"total_commits":128,"total_committers":2,"mean_commits":64.0,"dds":0.03125,"last_synced_commit":"57b1e60a15f5d91def6064f19e8aa1a74cc2dfe8"},"previous_names":["jtayped/pygramcore"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jtayped/pygramcore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtayped%2Fpygramcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtayped%2Fpygramcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtayped%2Fpygramcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtayped%2Fpygramcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtayped","download_url":"https://codeload.github.com/jtayped/pygramcore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtayped%2Fpygramcore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30124458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T11:11:57.947Z","status":"ssl_error","status_checked_at":"2026-03-05T11:11:29.001Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","bot","instagram","instagram-bot","instagram-sdk","instagram-tool","selenium-webdriver"],"created_at":"2024-09-24T13:58:37.121Z","updated_at":"2026-03-05T12:32:26.177Z","avatar_url":"https://github.com/jtayped.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"https://github.com/jtayped/pygramcore/blob/main/images/icon.png?raw=true\" alt=\"PyGramCore\" width=\"200\"\u003e\n  \u003cbr\u003e\n  📷 pygramcore\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eAn easy-to-use Instagram SDK using \u003ca href=\"https://www.selenium.dev/\" target=\"_blank\"\u003eSelenium\u003c/a\u003e.\u003c/h4\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://pypi.org/project/PyGramCore/\"\u003e\n    \u003cimg src=\"https://img.shields.io/pypi/v/pygramcore?style=for-the-badge\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/jtayped/pygramcore/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/jtayped/pygramcore?style=for-the-badge\" alt=\"License\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/jtayped/pygramcore/issues\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/jtayped/pygramcore?style=for-the-badge\" alt=\"License\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.linkedin.com/in/jtayped/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" alt=\"LinkedIn\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"#key-features\"\u003eKey Features\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e •\n  \u003ca href=\"#related\"\u003eRelated\u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv id=\"key-features\"\u003e\u003c/div\u003e\n\n## 🔑 Key Features\n\n- **Modular Elements**: Easily use and customize modular elements such as Posts, Comments, and Users.\n\n  - **Users**: Follow, direct message, get posts, and more.\n\n  - **Posts**: Like, comment, download, and more.\n\n  - **Stories** (Coming soon...)\n\n  - **Comments** (Coming soon...)\n\n\u003cdiv id=\"how-to-use\"\u003e\u003c/div\u003e\n\n## 🔧 How To Use\n\nFirst of all, install the package using:\n\n```bash\npip install pygramcore\n```\n\nTo take authenticated actions, initialize your Instagram account with your email/password and login:\n\n```python\nfrom pygramcore import Account\n\nAccount.login(\"youremail@email.com\", \"yourpassword123\")\nAccount.save_cookies(\"path/to/file.pkl\")\n```\n\nTo initialize an account from cookies:\n\n```python\nAccount.load_cookies(\"path/to/file.pkl\")\n```\n\nThis will allow you to post images, comment on other peoples posts, send DMs, etc...\n\n```python\nAccount.post(\"path/to/image.png\", \"Your very interesting caption\")\n```\n\nTo search for a user simply:\n\n```python\nfrom pygramcore import User\n\nuser = User(\"username123_\")\n```\n\nHere is an example of the usage of a user:\n\n```python\n# Get a list of Post() objects\nposts = user.get_posts(limit=50)\n\n# Like the first 10 posts in the user's feed\nfor post in posts[:10]:\n  # Get URLs of the images in the post\n  urls = post.get_images()\n\n  # Like \u0026 comment the post\n  post.comment(\"Nice post!\")\n  post.like()\n```\n\nPlease refer to the [docs](https://github.com/jtayped/pygramcore/tree/main/docs) for more.\n\n\u003cdiv id=\"related\"\u003e\u003c/div\u003e\n\n## ❓ About the Project\nThis Python package was created as a fun project to enhance my proficiency in writing \"professional\" Python code, building packages, implementing semantic versioning, and ensuring code maintainability.\nI am still a relatively new developer, and I welcome any contributions and feedback to help me improve.\nIt is important to note that this project is not intended to replace essential packages such as [InstaPy](https://github.com/InstaPy/InstaPy), nor do I anticipate that it will.\n\n## 🙋‍♂️ You may also like...\n\n- [✂️📱TikTok Manager](https://github.com/jtayped/tiktok-manager) - A script that manages MULTIPLE TikTok accounts by schedueling automatically generated videos from pre-selected YouTube channels to TikTok in advance.\n- [🧑‍💼My Portfolio](https://joeltaylor.business) - Check out my front-end and SEO skills on my Portfolio!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtayped%2Fpygramcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtayped%2Fpygramcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtayped%2Fpygramcore/lists"}