Skip to main content

Python library to extract data from tech companies and topics.

Project description

# golden

Python library built upon [requests]( to access and parse data from [Golden]('s collection.

[Golden]( is a Wikipedia alternative that focuses on emerging tech, startups and ideas.

Extract company summaries, timeline of recent events, key people and more !

## Usage

>>> from golden import golden
>>> search ='Apple')

>>> golden.title(search)
# 'Apple (company)'

>>> golden.summary(search)
# Apple Inc. is a public company designing and selling personal computers, smartphones, consumer electronics, and software. Its headquarters is located in Cupertino, California and it was founded in 1976.Apple Inc. is a California-based electronics company with a focus producing on consumer devices.

>>> golden.content(search, sentences=3)
#'Apple Inc. is a California-based electronics company with a focus producing on consumer devices. ProductsProducts and devices produced by Apple Inc. include iPad, iPhone, AirPods,Apple Watch, HomePod, and MacBook. Each product can give users access to one or more forms of media or technology including television, music, data storage, and computer applications.The products run on the Mac operating system, which has special features thare not available on non-Mac systems. Furthermore, the devices use continuity, which allows for all the devices owned by a user to beconnected.The company also produces software as a service and media options.'

>>> events = golden.timeline(search, events=1)
>>> for event in events:
>>> print(event["date"], " : ", event["subtitle"], "\n", event["content"])
# March 25, 2019 : Apple Card
# On March 25, 2019 during their keynote event Apple, in partnership with Goldman Sachs and Mastercard, announced Apple Card. A credit card by Apple with no fees—no annual, cash-advance, over-the-limit, international, or late fees— thats gives Apple users the ability to sign up for Apple Card using the Apple Wallet application.

>>> other_search ="jetpack aviation")
>>> people = golden.people(other_search)
>>> for p in people:
>>> print(p["name"], p["role"])
# Boris Jarry Employee
# Daniel Schwarzbaum Employee
# David Mayman Founder, CEO, Test Pilot, Project Manager
# Nelson Tyler Founder, Principle Designer
# Sergey Samchik Employee

>>> ceo = golden.people(other_search, "CEO")
>>> print(ceo)
# David Mayman : Founder, CEO, Test Pilot, Project Manager

## Installation
To install golden run following command :
$ pip install golden

## TO DO

* Add new queries :
* Commpany Url
* Products
* Country
* Improve suggestion while querying
* Hide html output when downloading a new page
* Improve content query output:
* Sentences nb query parameter doesn't always work

Authored and maintained by [Terros Designs](

MIT licensed. See the [LICENSE]( file for full details.

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

golden-0.1.1.tar.gz (4.2 kB view hashes)

Uploaded source

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