Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

crucyble

A Cython Wrapped GloVe (Global Vectors for Word Representation)

crucible, noun.

Pronounciation: \ ˈkrü-sə-bəl \

  1. a vessel of a very refractory material used for melting...
  2. a severe test
  3. a vessel of a very refractory (see refractory entry 1 sense 3) material (such as porcelain) used for melting and calcining a substance that requires a high degree of heat

Synonyms: gauntlet, ...

Overview

This library aims to provide the GloVe algorithm in a nearly-unaltered format relative to its original distribution by stanfordnlp.

The bulk of the alterations consist of removing the main() methods from the glove applications, and converting them to accept filenames instead of stdin/stdout. (See pull requests 1, 2, and 3)

These altered C sources are then wrapped with Cython to provide "native extensions" in the Python runtime.

Development

Local Testing

Prerequisites: gcc and cython installed.

To test this library locally:

  1. clone the repo
  2. from crucyble/ run python setup.py build_ext -i
  3. try: PYTHONPATH=. python test/test_glove.py
  4. examine the outputs!

You can change the corpus variable in test_glove.py to point to any corpus you have locally.

Contributing

...coming soon

Performance

Todo... 🤷

License Info

Derivative implementation of the GloVe library from Stanford redistributed in accordance with Apache License and redistributed under MIT License

Metadata

Release files for crucyble 0.1.0.dev2

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

Source distribution (sdist)

Source distribution for crucyble 0.1.0.dev2
File Size Uploaded Provenance Actions
crucyble-0.1.0.dev2.tar.gz 326.6 kB Without provenance Details for crucyble-0.1.0.dev2.tar.gz

Release files / crucyble-0.1.0.dev2.tar.gz

Download URL crucyble-0.1.0.dev2.tar.gz
Size 326.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1e00cb1f2fbf6163276725b138ca37bd1839829b929f8126ffffd6fb0328a544
BLAKE2b-256 checksum
How to use checksums
6be82a08693d8b8fc120d018638dba14a82d2179342a49693ca0b9fd44516c26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1

Security for crucyble 0.1.0.dev2

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