Skip to main content

Python Automation Made Simple: nlp2fn

Welcome to nlp2fn, a seamless and intuitive software tool for Python automation. With the ability to load and read Python functions from any specified location, nlp2fn brings all your automation tasks together. Whether your functions reside in local directories or remote servers, nlp2fn fetches, loads, and prepares them for execution — as simple as a statement.

The Magic of nlp2fn

A typical function for nlp2fn follows this format:

# Write you execute statement, this shall be an 
# input by user to execute your events, make sure all the 
# parameters that are required by event is properly captured with {param_name}.
STATEMENT = "download {link} to {output_dir}"


# This shall be the main function for your event. once 
def execute(args):
    file = args[0]
    output_dir = args[1]
    
    # Complete the function.
    return True

The execute function is the heart of the operation where the actual task takes place.

Quick Start Guide

Here's how to install and get started with nlp2fn:

pip install nlp2fn

Next, add the source directory where your Python functions are located:

nlp2fn add-source /path/to/directory

or

nlp2fn add-source https://github.com/{githubid}/{repo}

make sure repo is public.

Ready to launch nlp2fn as a chatbot? Use this command:

nlp2fn run

To run a single statement, use the exec command:

nlp2fn exec -m "statement"

If you need to reset your sources, simply use the reset command:

nlp2fn reset

If you need to remove any source your sources, simply use the delete command:

nlp2fn delete

If you need to update the source, both remote or local use update command

nlp2fn update

Join the Development

We welcome your contributions! Feel free to submit pull requests and create issues on our GitHub page.

View ChangeLog

GitHub Release page.

Contact

For questions, suggestions, or any kind of discussion, feel free to open an issue on our GitHub page.

Embrace the simplification of Python automation with nlp2fn.

Events

Metadata

Release files for nlp2fn 0.0.4

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

Source distribution (sdist)

Source distribution for nlp2fn 0.0.4
File Size Uploaded
nlp2fn-0.0.4.tar.gz 12.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nlp2fn 0.0.4
File Interpreter ABI Platform
nlp2fn-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 27.9 kB

Release files / nlp2fn-0.0.4.tar.gz

Download URL nlp2fn-0.0.4.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
768e742db6d0721e84027d08b5ad32b9439da2666be005187ee762d4f3b4a654
BLAKE2b-256 checksum
How to use checksums
5c8e69d14c4bef4f255733ecd247b2f6b49ea2a86a5c76f6275f178f2965ef48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / nlp2fn-0.0.4-py3-none-any.whl

Download URL nlp2fn-0.0.4-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e484fdcdcd140b417a540acfdbcd5910e3c5adbb0bb2d28b4349de6edfd6b2ae
BLAKE2b-256 checksum
How to use checksums
0d713ef420effeaf5e5bc9aa26f480716bf36bf5a1c5285e86fc4ea5ac79054d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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