Skip to content

A library to run client function calls on a remote server.

Notifications You must be signed in to change notification settings

TheFloatingString/serveapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServeAPI

An interface for minimal API calls.

Planned Features:

  • Single object locally that dynamically generates attributes and methods that mirror the parent dependency
  • Securely call API keys (experimental, should not be used in a production setting)
  • Integrate functional programming capabilities (i.e. pipe operators)

Quickstart

ServeApi2 currently supports NumPy function calls (using the np alias). The long-term goal is for a client program to be able to call dependencies that only need to be installed on a server machine, rather than a client machine. This would save memory on the client-side, and also simplify dependency management for projects that use a common set of dependencies with compatible versioning.

from interface import ServeApi2
s2 = ServeApi2('np')
resp = s2.linalg.norm([34353,23432,23413])
print(f'>> {eval(resp)}')

About

A library to run client function calls on a remote server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages