honestdating's Introduction
honestdating's People
honestdating's Issues
Suggest to loosen the dependency on instagram-scraper
Hi, your project HonestDating requires "instagram-scraper==1.10.6" in its dependency. After analyzing the source code, we found that some other versions of instagram-scraper can also be suitable without affecting your project, i.e., instagram-scraper 1.10.5. Therefore, we suggest to loosen the dependency on instagram-scraper from "instagram-scraper==1.10.6" to "instagram-scraper>=1.10.5,<=1.10.6" to avoid any possible conflict for importing more packages or for downstream projects that may use HonestDating.
May I pull a request to loosen the dependency on instagram-scraper?
By the way, could you please tell us whether such dependency analysis may be potentially helpful for maintaining dependencies easier during your development?
For your reference, here are details in our analysis.
Your project HonestDating(commit id: 9bba519) directly uses 4 APIs from package instagram-scraper.
instagram_scraper.app.InstagramScraper.authenticate_with_login, instagram_scraper.app.InstagramScraper.query_media_gen, instagram_scraper.app.InstagramScraper.__init__, instagram_scraper.app.InstagramScraper.get_shared_data_userinfo
From which, 30 functions are then indirectly called, including -4 instagram-scraper's internal APIs and 34 outsider APIs, as follows (neglecting some repeated function occurrences).
[/nathanlm511/HonestDating]
+--instagram_scraper.app.InstagramScraper.authenticate_with_login
| +--instagram_scraper.app.InstagramScraper._get_json
| | +--json.loads
| +--sys.exit
| +--instagram_scraper.app.InstagramScraper.login_challenge
| | +--instagram_scraper.app.InstagramScraper._get_json
| | +--json.dumps
| +--json.dumps
+--instagram_scraper.app.InstagramScraper.query_media_gen
| +--instagram_scraper.app.InstagramScraper.__query_media
| | +--instagram_scraper.app.InstagramScraper.update_ig_gis_header
| | | +--instagram_scraper.app.InstagramScraper.get_ig_gis
| | | | +--hashlib.md5
| | +--instagram_scraper.app.InstagramScraper.get_json
| | | +--instagram_scraper.app.InstagramScraper.safe_get
| | | | +--instagram_scraper.app.PartialContentException.__init__
| | | | +--instagram_scraper.app.InstagramScraper.sleep
| | | | | +--time.sleep
| | | | +--instagram_scraper.app.InstagramScraper._retry_prompt
| | | +--json.loads
| | +--instagram_scraper.app.InstagramScraper._get_nodes
| | | +--instagram_scraper.app.InstagramScraper.augment_node
| | | | +--instagram_scraper.app.InstagramScraper.extract_tags
| | | | | +--re.findall
| | | | +--instagram_scraper.app.InstagramScraper.__get_media_details
| | | | | +--instagram_scraper.app.InstagramScraper.get_json
| | | | | +--instagram_scraper.app.InstagramScraper._get_json
| | | | +--instagram_scraper.app.InstagramScraper.get_original_image
| | | | +--instagram_scraper.app.InstagramScraper.augment_node
| | +--instagram_scraper.app.InstagramScraper._get_json
| +--instagram_scraper.app.InstagramScraper.is_new_media
| | +--instagram_scraper.app.InstagramScraper.__get_timestamp
+--instagram_scraper.app.InstagramScraper.__init__
| +--configparser.ConfigParser
| +--instagram_scraper.app.InstagramScraper.get_logger
| +--requests.Session
| +--instagram_scraper.app.InstagramScraper._get_json
| +--os.path.exists
| +--pickle.load
+--instagram_scraper.app.InstagramScraper.get_shared_data_userinfo
| +--instagram_scraper.app.InstagramScraper.get_json
| +--instagram_scraper.app.InstagramScraper.deep_get
| | +--re.compile
| +--instagram_scraper.app.InstagramScraper._get_json
We scan instagram-scraper's versions among [1.10.5] and 1.10.6, the changing functions (diffs being listed below) have none intersection with any function or API we mentioned above (either directly or indirectly called by this project).
diff: 1.10.6(original) 1.10.5
['instagram-scraper.app.InstagramScraper', 'instagram-scraper.app.InstagramScraper.has_selected_media_types']
As for other packages, the APIs of @outside_package_name are called by instagram-scraper in the call graph and the dependencies on these packages also stay the same in our suggested versions, thus avoiding any outside conflict.
Therefore, we believe that it is quite safe to loose your dependency on instagram-scraper from "instagram-scraper==1.10.6" to "instagram-scraper>=1.10.5,<=1.10.6". This will improve the applicability of HonestDating and reduce the possibility of any further dependency conflict with other projects/packages.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.