A package for generating random stories.
Project description
Sadaa - Python Story Generation Package
Unleash Your Imagination with Sadaa!
The Sadaa package is not just a Python library; it's a portal to infinite worlds of imagination. Dive into the universe of science fiction and embark on epic journeys with the power of words.
Table of Contents
-
- Example 1 : MoonStoryGenerator - Moonlit Tales
- Example 2: Quantum Stories - Beyond Reality
- Example 3: Math-based Adventures - Equations Unleashed
- Example 4: Prediction Stories - Glimpses of Tomorrow
- Example 5: Akikiki Stories - Mysteries of Akikiki
- Example 6: Quantum Stories with Different Lengths - Size Doesn't Matter
- Example 7: Math-based Stories with Multiple Tales - Math Marvels
Installation
Embark on your storytelling journey by installing the package with a simple command:
pip install sadaa
Usage
Importing the Module
Your gateway to imagination is just an import away:
from sadaa import GenerateStoryWords, AkikikiStoryGenerator
Generating Stories
Ready to craft your tales? You have the power to control the narrative. Choose the number of words, stories, and themes, from quantum to math, or delve into predictions. If you seek the mystical Akikiki stories, they're just a generator away:
story_generator = GenerateStoryWords(num_words=80, num_stories=1, type="quantum")
stories = story_generator.generate_stories()
akikiki_story_generator = AkikikiStoryGenerator(num_stories=3) # Unlock the secrets of Akikiki with 3 captivating stories
akikiki_stories = akikiki_story_generator.generate_stories()
Examples
Example 1: MoonStoryGenerator - Moonlit Tales
Illuminate your night with stories inspired by the serene Moon:
from sadaa import MoonStoryGenerator
moon_story_generator = MoonStoryGenerator(5)
print("Moon-themed Story:")
print(moon_story_generator.generate_stories())
Example 2: Quantum Stories - Beyond Reality
Enter the quantum realm and explore the limitless possibilities of science:
from sadaa import GenerateStoryWords
story_generator = GenerateStoryWords(num_words=70, num_stories=2, type="quantum")
stories = story_generator.generate_stories()
for i, story in enumerate(stories, start=1):
print(f"Quantum Story {i}:\n{story}\n")
Example 3: Math-based Adventures - Equations Unleashed
Let math take you on a thrilling journey through the world of numbers and equations:
from sadaa import GenerateStoryWords
story_generator = GenerateStoryWords(num_words=90, num_stories=2, type="math")
stories = story_generator.generate_stories()
for i, story in enumerate(stories, start=1):
print(f"Math Story {i}:\n{story}\n")
Example 4: Prediction Stories - Glimpses of Tomorrow
Peek into the future with stories that unravel the mysteries of foresight:
from sadaa import GenerateStoryWords
story_generator = GenerateStoryWords(num_words=70, num_stories=2, type="prediction")
stories = story_generator.generate_stories()
for i, story in enumerate(stories, start=1):
print(f"Prediction Story {i}:\n{story}\n")
Example 5: Akikiki Stories - Mysteries of Akikiki
Discover the enigmatic world of Akikiki with 3 captivating stories:
from sadaa import AkikikiStoryGenerator
akikiki_story_generator = AkikikiStoryGenerator(num_stories=3)
akikiki_stories = akikiki_story_generator.generate_stories()
for i, story in enumerate(akikiki_stories, start=1):
print(f"Akikiki Story {i}:\n{story}\n")
Example 6: Quantum Stories with Different Lengths - Size Doesn't Matter
No matter the length, quantum stories always pack a punch:
from sadaa import GenerateStoryWords
story_generator = GenerateStoryWords(num_words=70, num_stories=3, type="quantum")
stories = story_generator.generate_stories()
for i, story in enumerate(stories, start=1):
print(f"Quantum Story {i}:\n{story}\n")
Example 7: Math-based Stories with Multiple Tales - Math Marvels
Multiply your storytelling prowess with multiple math-based stories:
from sadaa import GenerateStoryWords
story_generator = GenerateStoryWords(num_words=80, num_stories=3, type="math")
stories = story_generator.generate_stories()
for i, story in enumerate(stories, start=1):
print(f"Math Story {i}:\n{story}\n")
Example Output
Quantum Story (200 Words)
Ready for an epic quantum journey? Generate a quantum-inspired story:
quantum_story = GenerateStoryWords(200,type="quantum").generate_story()
print(quantum_story)
Output:
Within the shimmering boundaries of a quantum chaos simulation, Quantum Quester, an interdimensional traveler exploring realms beyond the quantum veil, conducted a successful experiment in quantum teleportation. An ancient artifact revealed the quantum echoes of their past lives. Their mastery of quantum manipulation brought about an era of unbounded creativity and innovation. Amidst the swirling vortices of a quantum fluid experiment, Professor Paradox, a time theorist navigating the intricacies of quantum causality, conducted a successful experiment in quantum teleportation of matter. An ancient prophecy foretold of a quantum savior who would reshape the cosmos. The quantum truths they brought to light would challenge the very core of reality and being. Within the crystalline structure of a quantum lattice system, Professor Samuel Quark, an eccentric inventor known for pushing the boundaries of quantum mechanics, opened a gateway to a realm governed by quantum chaos. They discovered they were living in a simulated quantum universe. The quantum enlightenment they attained would permeate the collective consciousness of their species.
Contributing
Ready to add your own twist to the tales? Check out our [contributing guidelines](
CONTRIBUTING.md).
License
This project is licensed under the MIT License.
Repository Views
Dive into the world of Sadaa and let your imagination run wild! 🚀📚
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sadaa-0.3.0.tar.gz
.
File metadata
- Download URL: sadaa-0.3.0.tar.gz
- Upload date:
- Size: 45.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdcffc52e120c777852357f743cb56a5b7ad2e20a5e1f7ea75b8ca560edd8e6a |
|
MD5 | 0d750600e5e40f3eea77837e02057734 |
|
BLAKE2b-256 | 0c38650872d0478a3b21abdb78f7a59a05f5dfea68eeae3cde9e6eec4a183050 |