Skip to main content

ao - Hey Oh!

"Hey oh! What is france?"

GitHub code size in bytes GitHub PyPI - Version PyPI - Downloads

Import the wikipedia entry summary.
As simple as that.

from ao import industrial_revolution
print(industrial_revolution)

That prints:

The Industrial Revolution, also known as the First Industrial Revolution, was a period of global transition of human economy towards more widespread, efficient and stable manufacturing processes that succeeded the Agricultural Revolution, starting from Great Britain, continental Europe, and the United States, that occurred during the period from around 1760 to about 1820–1840. This transition included going from hand production methods to machines; new chemical manufacturing and iron production processes; the increasing use of water power and steam power; the development of machine tools; and the rise of the mechanized factory system. Output greatly increased, and the result was an unprecedented rise in population and the rate of population growth. The textile industry was the first to use modern production methods, and textiles became the dominant industry in terms of employment, value of output, and capital invested.

Examples & IPython

It's also useful in ipython:

In [1]: import ao

In [2]: ao.basketball
Out[2]: "Basketball is a team sport in which two teams, most commonly of five players each, opposing one another on a rectangular court, compete with the primary objective of shooting a basketball through the defender's hoop, while preventing the opposing team from shooting through their own hoop. A field goal is worth two points, unless made from behind the three-point line, when it is worth three. After a foul, timed play stops and the player fouled or designated to shoot a technical foul is given one, two or three one-point free throws. The team with the most points at the end of the game wins, but if regulation play expires with the score tied, an additional period of play (overtime) is mandated."

In [3]: ao._1929
Out[3]: '1929 (MCMXXIX) was a common year starting on Tuesday of the Gregorian calendar, the 1929th year of the Common Era (CE) and Anno Domini (AD) designations, the 929th year of the 2nd\xa0millennium, the 29th year of the 20th\xa0century, and the 10th and last year of the 1920s decade.'

In [4]: ao.apple, ao.banana, ao.coconut
Out[4]:
('An apple is a round, edible fruit produced by an apple tree. Apple trees are cultivated worldwide and are the most widely grown species in the genus Malus. The tree originated in Central Asia, where its wild ancestor, Malus sieversii, is still found. Apples have been grown for thousands of years in Asia and Europe and were introduced to North America by European colonists. Apples have religious and mythological significance in many cultures, including Norse, Greek, and European Christian tradition.',
 'A banana is an elongated, edible fruit – botanically a berry – produced by several kinds of large herbaceous flowering plants in the genus Musa. In some countries, bananas used for cooking may be called "plantains", distinguishing them from dessert bananas. The fruit is variable in size, color, and firmness, but is usually elongated and curved, with soft flesh rich in starch covered with a rind, which may be green, yellow, red, purple, or brown when ripe. The fruits grow upward in clusters near the top of the plant. Almost all modern edible seedless (parthenocarp) bananas come from two wild species\xa0– Musa acuminata and Musa balbisiana. The scientific names of most cultivated bananas are Musa acuminata, Musa balbisiana, and Musa × paradisiaca for the hybrid Musa acuminata × M.\xa0balbisiana, depending on their genomic constitution. The old scientific name for this hybrid, Musa sapientum, is no longer used.',
 'The coconut tree is a member of the palm tree family (Arecaceae) and the only living species of the genus Cocos. The term "coconut" can refer to the whole coconut palm, the seed, or the fruit, which botanically is a drupe, not a nut. The name comes from the old Portuguese word coco, meaning "head" or "skull", after the three indentations on the coconut shell that resemble facial features. They are ubiquitous in coastal tropical regions and are a cultural icon of the tropics.')

Metadata

Release files for ao 1.0.2

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

Source distribution (sdist)

Source distribution for ao 1.0.2
File Size Uploaded
ao-1.0.2.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ao 1.0.2
File Interpreter ABI Platform
ao-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / ao-1.0.2.tar.gz

Download URL ao-1.0.2.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
28df90fce30161f2f25266d7320e30e34ce4ed7cb4f423578421cc73010764fc
BLAKE2b-256 checksum
How to use checksums
354e26a0ad2ba4f0726125b770f1f81fe31f317b3009f49992f46ae324529937
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release files / ao-1.0.2-py3-none-any.whl

Download URL ao-1.0.2-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c906ea0da5c31ee0d5273d05777a1543ef2c77181bf20f5e588472b89d1d382c
BLAKE2b-256 checksum
How to use checksums
6ccc3102e5f8d1d054c11e5e244781844e86d411e7d4b1c4cec2232c0dd7d5b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

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