Skip to main content

yalies PyPI version

Python library for interfacing with the Yalies API.

API documentation

Setup

First, install the module:

pip3 install yalies

Then, to use the module, you must import it in your code:

import yalies

Then initialize the API, using a token that you may obtain from the API documentation page:

api = yalies.API('your token')
# Never hardcode tokens. Use a config file or environment variable instead.
# The name 'api' can be whatever is most appropriate for your program.

Retrieval Functions

There is only one public-facing function in the API class:

API.people([query, filters, page, page_size]) allows your program to request a list of people matching certain parameters. You may pass the query parameter, a string, specifying a textual query to search by. Alternatively, or in addition, you may pass filters a dictionary specifying lists of acceptable properties of the people you wish to retrieve data on. page and page_size can be optionally passed to paginate results as one would expect. See example.py for a complete usage example, and the API documentation for more information about request format.

Deploy to PyPi

  • Requirements: twine
python3 setup.py sdist
twine upload dist/*

Author

Erik Boesen

License

MIT

Release files for yalies 2.0.1

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

Built distribution (wheel)

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

Release files / yalies-2.0.1-py3-none-any.whl

Download URL yalies-2.0.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb86a18378a0eb0381ac2748c2dfee0a0ad59509644a39a0a88cdf2cdf068b8f
BLAKE2b-256 checksum
How to use checksums
d5d48d6e9a33fa16fc991b89915be4d6f04360e2d818400ebe08c616af7616e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.7

Release history Release notifications | RSS feed

This release

2.0.1 This release

1 release file

2.0.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

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