yalies 
Python library for interfacing with the Yalies API.
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
License
Metadata
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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yalies-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for yalies-2.0.1-py3-none-any.whl |
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
|
Security for yalies 2.0.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.