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?

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-1.0.6.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

sleepyask-1.0.6-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sleepyask-1.0.6.tar.gz
Algorithm Hash digest
SHA256 46c25d1b29cbacdc9a51fc4b367682e1157f07cfacda2fdde18f0817e9d8c180
MD5 ab4ad294c1fd72e0608fb5eaf11a98cb
BLAKE2b-256 f48f42c62913d7c6e1aee57eee0ff72f813738953dc31119d93dddfb998464bd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sleepyask-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6ea14175fb12dfa66c1524df602975abc82ebd662e83a6bf2d61abf8cebfdc58
MD5 4d3789b16988590ff0c4b0e4a4b83766
BLAKE2b-256 379d5644056eca0275fccc27d6825a2d057f6775349cda0f5b8c0f87896362cb

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