Skip to main content

Build Status coverage PyPi Version Downloads

FunctionHub client

Items Contents
Short Description The FunctionHub-cli provides interaction with FunctionHub for storing and accessing reusable functions. FunctionHub is child of Cloudstash, a broader cloud based storage unit for functions and artifacts.
Documentation https://functionhub-cli.readthedocs.io/
Video WPI
Licence Apache License, Version 2.0
Contact

System Requirements

This README is currently tailored to Unix-like systems (MacOS, Linux).

For FunctionHub developers and users, the following additional software must be installed:

  • pip - Python standard package manager

Using FunctionHub

Install fuhub with

  1. pip install functionhub

User account & Navigation

  1. Create a user account on FunctionHub
  2. Store the deploy token given to you
  3. Navigate through the website to discover different options for functions

Pushing functions to FunctionHub using CLI

  1. Create a project. fuhub create exampleProject
  2. Change directory to the project directory. cd exampleProject
  3. Set the configuration file config.ini with your parameters. (example of config.ini can be found in test directory)
  4. Create a zipped folder containing your function and libraries if necessary.
  5. Upload the function to FunctionHub. fuhub --token <deploy-token> upload myfunction.zip

Retreiving Functions from FunctionHub

  1. Browse FunctionHub and find the Function of your choice
  2. Copy the ArtifacId
  3. In terminal do curl -o function.zip https://cloudstash.io/artifact_download/<ArtifactId>

Contribution

We encourage contributions from everyone who finds interest in this project!

For any ideas, bugs or new features use our issue tracker at our GitHub project.

When contributing, fork the repository and commit work through pull requests.

Read the roadmap

Test Suite

The test suite is located in the test folder. The following instructions executes the test suite powered by pytest and coverage.

  1. coverage run --source ../functionhub -m pytest
  2. coverage report -m

Release files for functionhub 0.2.3

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

Source distribution (sdist)

Source distribution for functionhub 0.2.3
File Size Uploaded
functionhub-0.2.3.tar.gz 4.8 kB Details

Built distribution (wheel)

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

Total release size: 14.8 kB

Release files / functionhub-0.2.3.tar.gz

Download URL functionhub-0.2.3.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c71ca718fbf56cd3d2e426028ab8a421fe4ad95bece36f77551dbf1480976186
BLAKE2b-256 checksum
How to use checksums
d2a80632db5d987c9c3c71517931d6bb49604c1cd0b9785e91b87f091e26d809
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.8

Release files / functionhub-0.2.3-py3-none-any.whl

Download URL functionhub-0.2.3-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7507c9ce6597e753cd02752cf1cafeb935b3ead30423905de292ea47433a5810
BLAKE2b-256 checksum
How to use checksums
09b1b6ee56e97eace905b41e9d48e94a19e8c3074cab2ae828a5d850c7b34589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1.0

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