Skip to content

rmseq/skypy

Repository files navigation

Skypy

A small set of scripts for interacting with Bluesky. Just something I put together because my mutuals asked for it.
Feel free to use, modify, or improve it as you like. Do not expect much support or updates, though.

How to Run

  1. Clone the repository.
  2. Create a .env file in the root directory of the repository and add your credentials. You should use app passwords instead of your main password.
  3. Create a virtual environment and activate it with python3 -m venv env and source env/bin/activate, respectively.
  4. Install the requirements by running pip install -r requirements.txt.
  5. Run the script you want to use by running python3 script.py [options].

Available Scripts

  • get_profile.py: Retrieve the followers and follows lists (including their last activity) and save them to a CSV file. Be patient, as this may take a while and throw some errors. Use --verbose to see the progress.
  • mass_unfollow.py: Unfollow all users that are inactive for a certain number of days (default: 60). You must provide a CSV file generated by get_profile.py.
  • plot_profiles.py: Plot the followers and follows last activity data from the CSV file generated by get_profile.py.

About

A small set of scripts that I was asked to provide.

Resources

License

Stars

Watchers

Forks

Contributors

Languages