Skip to main content

python wrapper for gfycat

Project description



simple module for rudementary usage of gfycat-api for pythoncd de


upload files

import pfycat
r = pfycat.Client().upload('banana.gif')


r = pfycat.Client("client_id", "client_secret").upload('banana.gif')

upload as user:

r = pfycat.Client(secret.client_id, secret.client_secret, secret.username, secret.password).upload('banana.gif')


running tests

cd pfycat
nano tests/ #needs client_id and client_secret
env PYTHONPATH=. ./tests/

push to pypi

prepare environment:

gedit ~/.pypirc
chmod 600 ~/.pypirc
sudo apt install pandoc twine
pip3 install restview

upload changes to test and production:

pandoc -o README.rst
~/.local/bin/restview  --pypi-strict README.rst
# update version in
rm -r dist
python sdist

twine upload dist/* -r testpypi
twine upload dist/*

test install from testpypi

pip install --index-url --extra-index-url pfycat --no-cache-dir --user

test installation

sudo pip install pfycat --no-cache-dir --user

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pfycat, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pfycat-0.1.2.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page