Skip to main content
# golden

Python library built upon [requests](https://github.com/kennethreitz/requests) to access and parse data from [Golden](https://golden.com)'s collection.

[Golden](https://golden.com) is a Wikipedia alternative that focuses on emerging tech, startups and ideas.

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

## Usage

```python
>>> from golden import golden
>>> search = golden.download('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 = golden.download("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

## LICENCE
Authored and maintained by [Terros Designs](https://terrosdesigns.com)

MIT licensed. See the [LICENSE](https://github.com/terrosdesigns/golden/blob/master/LICENSE) file for full details.

Metadata

Release files for golden 0.1.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 golden 0.1.1
File Size Uploaded Provenance Actions
golden-0.1.1.tar.gz 4.2 kB Without provenance Details for golden-0.1.1.tar.gz

Release files / golden-0.1.1.tar.gz

Download URL golden-0.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7156d83b80ca89b70de4045438215f6ed70031992fffd258330c831fe9f8b303
BLAKE2b-256 checksum
How to use checksums
2936c721dee148ab6f09e780b91a93c57be318a41b95c23b768731bb210fd9dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.17.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.5

Security for golden 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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