Skip to main content

A library for accessing FieldWorks Language Explorer projects

Project description

flexlibs is a library for accessing FieldWorks Language Explorer (FLEx) [1] projects.

flexlibs handles the necessary initialisation of the FLEx engine, and provides a class (FLExProject) for opening a FLEx project and working with its contents.

For the GUI application that runs Python scripts/plugins on FLEx databases see FLExTools [2], which is built on flexlibs.

Requirements

Python 3.8 - 3.13.

Python for .NET [3] version 3.0.3+.

FieldWorks Language Explorer 9.0.17 - 9.3.1.

32-bit vs 64-bit

The Python architecture must match that of FieldWorks. I.e. Install 32-bit Python for 32-bit Fieldworks, and 64-bit Python for 64-bit Fieldworks.

Installation

Run: pip install flexlibs

Usage

import flexlibs
flexlibs.FLExInitialize()
p = flexlibs.FLExProject()
p.OpenProject('parser-experiments')
p.GetPartsOfSpeech()
# ['Adverb', 'Noun', 'Pro-form', 'Pronoun', 'Verb', 'Copulative verb', 'Ditransitive verb', 'Intransitive verb', 'Transitive verb', 'Coordinating connective']

# The API documentation is an HTML file
os.startfile(flexlibs.APIHelpFile)
...
p.CloseProject()
flexlibs.FLExCleanup()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flexlibs-1.2.8-py3-none-any.whl (179.2 kB view details)

Uploaded Python 3

File details

Details for the file flexlibs-1.2.8-py3-none-any.whl.

File metadata

  • Download URL: flexlibs-1.2.8-py3-none-any.whl
  • Upload date:
  • Size: 179.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for flexlibs-1.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 baf117b7fca88bdd26c749cadbccebae0d45b802c5f71a319795b74a67b29f83
MD5 73ab9818ced5671914467ca6b977a671
BLAKE2b-256 2d61922358f77746dba8a86abf37b4e35976d88b020fd2ca3c4ac640fef0d59d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page