Skip to main content

A small tool for automating collecting data from ChatGPT

Project description

image image

A small tool for automating collecting data from ChatGPT over long periods of time.

What does it do?

🍰 Looks like the Official ChatGPT api is out. Unfortunately, it costs money.

ChatGPT currently limits the number of questions that users may ask per hour. The goal of this project is to allow users to just leave their computers on for extended periods of time to collect large amounts of responses from ChatGPT. There might not be a lot of practical use for this. Its main use is in research or data analysis.

Install as a Python Library

pip install sleepyask

Sample code

Example usage:

from sleepyask.chat import sleepy_ask

# Your ChatGPT login information
config = {
  "email": "Your ChatGPT email",
  "password": "Your ChatGPT password"
}

# List of questions you would like to ask ChatGPT
question_list = [
  'What is 1 + 1?',
  'What is 1 + 2?',
  'What is 1 + 3?'
]

# The filename in which you would like your responses to be stored.
output_file_path = 'draw.json'  

# Run sleepy_ask
sleepy_ask(config=config,
           questions=question_list,
           output_file_path=output_file_path,
           verbose=True)

Get involved

  • 🐛 Found a bug or interested in adding a feature? - Create an issue

Project details


Download files

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

Source Distribution

sleepyask-2.0.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

sleepyask-2.0.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file sleepyask-2.0.0.tar.gz.

File metadata

  • Download URL: sleepyask-2.0.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for sleepyask-2.0.0.tar.gz
Algorithm Hash digest
SHA256 851baf749e1c66674254ef237073cb684a636b9f39e542b35728c0849023a893
MD5 988ed83058d5ae70e553e61ff7d674ed
BLAKE2b-256 01704292562e0cbbe689d93be8f8fed03326119972100a23094b232d8144d241

See more details on using hashes here.

File details

Details for the file sleepyask-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: sleepyask-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for sleepyask-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ebbce2c66cc73dea2df662ff8afc7797a31bf58d3ed7d0e452ff0767561d63e5
MD5 91af47c8fce83fa22403093513b57740
BLAKE2b-256 288a4713d2fa46d905f6831aafa7c42e8b6ab3b327fc992da97860dc882b548a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page