Skip to main content

LoveHateAlgorithm

Which person do you want to be around with right now?

How to run the package

  • import pprint
  • pprint("Love Hate Algorithm Started")
  • person_image = r"C:\Users\gprak\Downloads\Github Repos\archive\train\disgusted\im7.png"
  • p = r"C:\Users\gprak\Downloads\Github Repos\archive\train\angry"
  • list_of_other_people_images = [os.path.join(p,name) for name in os.listdir(p)]
  • algorithm_type = "simple"
  • people_less_likely_to_have_conflicts, people_more_likely_to_have_conflicts, app = get_output_of_love_hate_algorithm(person_image,list_of_other_people_images,algorithm_type)
  • pprint("People less likely to have conflicts with the person in the image:")
  • pprint(people_less_likely_to_have_conflicts)
  • pprint("People more likely to have conflicts with the person in the image:")
  • pprint(people_more_likely_to_have_conflicts)
  • run_dash_app_for_persons_with_less_and_more_likely_to_have_conflicts(app)

for a mixture of emotions

  • import pprint
  • pprint("Love Hate Algorithm Started")
  • person_image = r"C:\Users\gprak\Downloads\Github Repos\archive\train\disgusted\im7.png"
  • p = r"C:\Users\gprak\Downloads\Github Repos\archive\train\angry"
  • list_of_other_people_images = [os.path.join(p,name) for name in os.listdir(p)]
  • algorithm_type = "more_real"
  • people_less_likely_to_have_conflicts, people_more_likely_to_have_conflicts, app = get_output_of_love_hate_algorithm(person_image,list_of_other_people_images,algorithm_type)
  • pprint("People less likely to have conflicts with the person in the image:")
  • pprint(people_less_likely_to_have_conflicts)
  • pprint("People more likely to have conflicts with the person in the image:")
  • pprint(people_more_likely_to_have_conflicts)
  • run_dash_app_for_persons_with_less_and_more_likely_to_have_conflicts(app)

Metadata

Release files for your-best-friend 0.3.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 your-best-friend 0.3.1
File Size Uploaded Provenance Actions
your_best_friend-0.3.1.tar.gz 14.2 kB Without provenance Details for your_best_friend-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for your-best-friend 0.3.1
File Interpreter ABI Platform Actions
your_best_friend-0.3.1-py3-none-any.whl Python 3 none any Details for your_best_friend-0.3.1-py3-none-any.whl

Total release size: 28.3 kB

Release files / your_best_friend-0.3.1.tar.gz

Download URL your_best_friend-0.3.1.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b129af53f03a3b34fae041a506001357c0a105f42e701fc923b0806e0bc85c82
BLAKE2b-256 checksum
How to use checksums
d2c42c76e6ef6a6a825284a617228fb3e4f3cb057550f1bfd140c5ff6e8673d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Release files / your_best_friend-0.3.1-py3-none-any.whl

Download URL your_best_friend-0.3.1-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73dfa7e9ed0c3217a24122841aec752d6d4c8a9d00bb061d4859132c6853e9d8
BLAKE2b-256 checksum
How to use checksums
a496c72bf0426349c6e01383a73e380e40a1875afc2592ce909cb12d40fbefdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Security for your-best-friend 0.3.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.

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