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

[Feature/Version Update] Profile Class and Database Support 🐤🤳💻 #6

Merged
merged 48 commits into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
6a54669
Changing InstaTweet class to Profile
TDKorn May 3, 2022
401ef52
Create db.py and models.py
TDKorn May 3, 2022
1c7104d
Create profile_sep.py
TDKorn May 3, 2022
f2c44b6
Remove profile.py and db.py
TDKorn May 3, 2022
8dd4026
Finished rough draft of switch to profiles
TDKorn May 3, 2022
bb8010a
Create new_profile.py
TDKorn May 17, 2022
0f9713a
Uh nothing really changed
TDKorn May 18, 2022
131f589
Delete profile.py
TDKorn May 18, 2022
f98340a
Rename new_profile.py -> profile.py
TDKorn May 18, 2022
24747ea
Add `get_agents()` to remove bs4 as dependency
TDKorn Jul 3, 2022
0eaad71
Add scheduler.py
TDKorn Jul 3, 2022
26da067
Update __init__.py
TDKorn Jul 3, 2022
82844da
Docstrings and change local to use a setter
TDKorn Jul 3, 2022
f504752
Add more `Profile` methods, fix alert
TDKorn Jul 3, 2022
603f1f5
get rid of the core directory omg (and update relative imports)
TDKorn Jul 3, 2022
ba7d980
Add more methods and properties/setters to Profile
TDKorn Jul 3, 2022
90ae6eb
Update db.py
TDKorn Jul 3, 2022
bba9495
Re-order Profile methods/properties
TDKorn Jul 3, 2022
3364f20
Stuff I added and forgot to implement
TDKorn Jul 3, 2022
693c571
Add `profile_exists()` method to help prevent overwriting save files
TDKorn Jul 3, 2022
e48bc98
Formatting changes
TDKorn Jul 4, 2022
3716eba
Update db.py to actually create database tables
TDKorn Jul 5, 2022
4c35654
Update profile exceptions
TDKorn Jul 5, 2022
575ab17
Add `Profile.validate()`
TDKorn Jul 5, 2022
9cd9379
InstaTweet 2.0
TDKorn Jul 5, 2022
a369b03
Update `InstaClient` (Endpoint was deprecated)
TDKorn Jul 6, 2022
1d68240
Update InstaClient/InstaTweet classes
TDKorn Jul 7, 2022
abb44dd
Updates to reflect new changes
TDKorn Jul 7, 2022
795f363
Delete profiles folder, move examples folder
TDKorn Jul 7, 2022
b46f54e
Remove Examples folder
TDKorn Jul 7, 2022
2aba464
Add proxy support
TDKorn Jul 7, 2022
952178f
Change `db.py` import to wait until ```Profile.local=False```
TDKorn Jul 7, 2022
7a41dfc
Correction to dictionary definition (publishing error)
TDKorn Jul 7, 2022
2b54406
Delete tweetclient.py
TDKorn Jul 8, 2022
c1056f1
Redo `TweetClient` to wrap the `tweepy` package
TDKorn Jul 7, 2022
46f9c66
Twitter Key stuff
TDKorn Jul 8, 2022
b2a8d99
Reorder `Profile` methods
TDKorn Jul 8, 2022
dc904af
Add/Implement `Profile` serialization & access methods, more docstrings
TDKorn Jul 9, 2022
6c2cf66
Update scheduler.py
TDKorn Jul 12, 2022
aef3e52
Update TweetClient -- add `pick_hashtags()` and `build_tweet()`
TDKorn Jul 13, 2022
5de7cf5
Update profile.py
TDKorn Jul 13, 2022
50df2b8
Fix `InstaPost.caption` property
TDKorn Jul 14, 2022
3725205
Add `DBConnection` class, replaces `db.py` functions
TDKorn Jul 16, 2022
e853045
Update and finish implementing `DBConnection`
TDKorn Jul 17, 2022
3b25ce3
Add `DOWNLOAD_DIR` to `InstaClient` and more `InstaPost` properties
TDKorn Jul 19, 2022
ff4819d
Add docstrings from `sphinx` branch
TDKorn Jul 19, 2022
09d89c5
Change `DBConnection.connect()` , add more docstrings :/
TDKorn Jul 19, 2022
e317174
Update `requirements.txt`
TDKorn Jul 20, 2022
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
7 changes: 0 additions & 7 deletions InstaTweet/Twitter API Template.txt

This file was deleted.

12 changes: 11 additions & 1 deletion InstaTweet/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
from InstaTweet.core import InstaTweet
# Helpers
from . import utils
from .db import DBConnection
# API Interaction/Wrapper Classes
from .instapost import InstaPost
from .instauser import InstaUser
from .instaclient import InstaClient
from .tweetclient import TweetClient
# User Interface Classes
from .profile import Profile
from .instatweet import InstaTweet
5 changes: 0 additions & 5 deletions InstaTweet/core/__init__.py

This file was deleted.

77 changes: 0 additions & 77 deletions InstaTweet/core/instaclient.py

This file was deleted.

56 changes: 0 additions & 56 deletions InstaTweet/core/instapost.py

This file was deleted.

Loading