Skip to main content

Essay Writer

A minimal Python-based essay writer package for students. Generate comprehensive essays for literally any topic with a simple command or Python script.


Usage

pip install essay-writer

CLI Usage

python -m essay_writer --topic "The Solar System"

On the first run, the CLI will prompt you to enter your OPENAI_API_KEY which will get stored for future use.

Alternatively, you can reset your API key using the following command.

python -m essay_writer --set-key "your-openai-api-key"

You could also request a re-prompt by using the -r flag.

python -m essay_writer -r --topic "The Solar System"

Package Usage

First install the package.

pip install essay-writer

Then, simply import the package and call the write_essay method.

from essay_writer import EssayWriter

## If you don't set the OPENAI_API_KEY, it will read the OPENAI_API_KEY variable from your .env file
writer = EssayWriter(keys={"OPENAI_API_KEY": "test-key" })

solar_system_essay = writer.write_essay(topic="The Solar System", format="markdown")

print(solar_system_essay)

Motivation and Objectives

  • Demonstrate essay writing capabilities using Generative AI and Python Programming.
  • Help our students learn Python Programming, improve their understanding of Generative AI, and write better essays.
  • Provide a simple, re-usable interface to integrate specialized essay writing capabilities into Generative AI applications.
  • Serve as a research tool for researchers, and teachers to study essay generation, software design, and programming techniques to create sophisticated writing applications.

Contributions

We welcome contributions from developers around the globe. The steps to contribute are simple:

  • Fork the repository.
  • Create a new branch with your changes.
  • Submit a PR to this repository.
  • Complete the PR review process with our team.

License

Essay Writer is distributed under the MIT License. Refer to the LICENSE file for full details.

Metadata

Release files for essay-writer 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for essay-writer 0.0.1
File Size Uploaded
essay_writer-0.0.1.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for essay-writer 0.0.1
File Interpreter ABI Platform
essay_writer-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 20.1 kB

Release files / essay_writer-0.0.1.tar.gz

Download URL essay_writer-0.0.1.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
300f9d6bd1c32fac6b1b37d94f2acf804ae64bebae0d46933b7e28361cd1094c
BLAKE2b-256 checksum
How to use checksums
0625d000c7e4b207db1ae52a8189a9d56b72da5a63976767ab940d23b3ac8315
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release files / essay_writer-0.0.1-py3-none-any.whl

Download URL essay_writer-0.0.1-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1915d5ce6d6791faaf8182f7c73e80f488c7d98cdc3ac8c2df1aa64edf6a620
BLAKE2b-256 checksum
How to use checksums
ed705b0368825ec6b7048887150fe5ed6897c7045769eb9cf121d112ab8cae28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page