Skip to main content

Here are some projects which utilizes the LexicaAPI.

AverageAI

  • Name: AverageAI
  • Description: Image Generations and LLMs.

AverageImages

  • Name: AverageImages
  • Description: Search Images on google and bing.

Upscale

  • Name: Upscale
  • Description: Upscale Images.

AverageNews

Social-DL

  • Name: Social-DL
  • Description: Download Videos/Images from social media.

TelegramBots

Miko, AntiNSFWBot, Sung, GameInfoBot, YaeMiko, FilterBot, News etc..

Usages

LLM's

from lexica import Client, languageModels

def main(prompt: str) -> dict:
    client = Client()
    response = client.palm(prompt,languageModels.gemini)
    return response

if __name__ == "__main__":
    print(main("hello world"))

Upscale an image.

from lexica import Client

def main(image: bytes) -> bytes:
    client = Client()
    imageBytes = client.upscale(image)
    with open('upscaled.png', 'wb') as f:
        f.write(imageBytes)

if __name__ == "__main__":
    image = open('examples/images/image.png', 'rb').read()
    main(image)

Anti-NSFW

from lexica import Client

def main(image_url: str) -> dict:
    client = Client()
    response = client.AntiNsfw(image_url)
    if response['content']['sfw'] == True:
        return "This image is safe for work."
    else:
        return "This image is not safe for work."

if __name__ == "__main__":
    print(main("https://graph.org/file/13e95c6cc932530823391.png"))

Metadata

Release files for lexica-api 1.6.0

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

Source distribution (sdist)

Source distribution for lexica-api 1.6.0
File Size Uploaded Provenance Actions
lexica-api-1.6.0.tar.gz 7.4 kB Without provenance Details for lexica-api-1.6.0.tar.gz

Release files / lexica-api-1.6.0.tar.gz

Download URL lexica-api-1.6.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
733eeb3fee75f264e46019c660392f0a96164e77f5993f5cbb8857722c229972
BLAKE2b-256 checksum
How to use checksums
1dc8d2084a2edbadc27e40f4268303b292dae753fbacd29b83f5bc1fdf4b728a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Security for lexica-api 1.6.0

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.

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