Skip to content

davclark/babashka-tweepy

Repository files navigation

babashka-tweepy

Kicking the tires on using the tweepy library from a babashka task. I promise I am not making this up.

Setup

I use Python 3.10.6 because it was the latest release I had already built on my machine, should be fine to upgrad that or probably use a lower minor version like Python 3.9. If you use asdf, you can install this version of Python as well as babashka using asdf install in the project directory (assuming you have the asdf-python plugin installed, and a properly configured build environment). (I think babashka "just works", but let me know if not!)

Assuming you have your preferred version of Python active, I recommend the following (env/ is already .gitignore'd):

$ python -m venv env
$ source env/bin/activate
$ python -m pip install -U pip
$ pip install -r requirements.txt

Running

For now, I have an example script, which you can run like so:

$ bb run-pod.clj

Or, you can run the lispy-sqlite task:

$ bb lispy-sqlite

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published