Skip to main content

whyis_classifier

Installation

  • install whyis using this command

    WHYIS_BRANCH=master bash < <(curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/master/install.sh)
    
  • whyis will be installed in /apps/whyis

  • In your knowledge graph directory, add the classifier agent to the list of inferencers in your config.py file:

    • Add the following import line: import whyis_classifier.classifier_agent as cl
    • Add the following line to the inferencers item in the Config dictionary constructor: "Classifier": cl.Classifier()
  • Write your own classifier, using whyisclassifier.WhyisClassifier as its base class

    • You must provide your own identifier (an rdflib.URIRef) and write a label() method
  • Locate your whyis_classifier installation, and in the file user_classifiers.py, import your classifier and add it to the user_classifiers dictionary in the form 'my_classifier_name': my_file.MyClassifier()

    • To locate your whyis_classifier installation, run python -c "import whyis_classifier as _; print(_.__path__[0])"
  • Reload your knowledge graph to run the inferencer over it

Metadata

Release files for whyis-classifier 0.0.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 whyis-classifier 0.0.1
File Size Uploaded Provenance Actions
whyis_classifier-0.0.1.tar.gz 5.4 kB Without provenance Details for whyis_classifier-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for whyis-classifier 0.0.1
File Interpreter ABI Platform Actions
whyis_classifier-0.0.1-py3-none-any.whl Python 3 none any Details for whyis_classifier-0.0.1-py3-none-any.whl

Total release size: 12.5 kB

Release files / whyis_classifier-0.0.1.tar.gz

Download URL whyis_classifier-0.0.1.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7b639ac39526e6556985b086e8ea7f5fac95130fa341dda495df22f595281dd8
BLAKE2b-256 checksum
How to use checksums
07fd54d4ff516eafc5f8ab5b4cde1fa736ff3bac140441193ad0c3a96a978815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Release files / whyis_classifier-0.0.1-py3-none-any.whl

Download URL whyis_classifier-0.0.1-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93a4779ef602744a26ca740c6609f8279855770657c850abd21c5a4befb08479
BLAKE2b-256 checksum
How to use checksums
b0ee2013658995b3f53922edd603acd1a3e9390fed37a7ebdaebc9bf64a81ad2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Security for whyis-classifier 0.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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files 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