Skip to main content

Project for captn-nanobit client

Project description

Capt'n AI for Nanobit

Marketing campaigns optimization

Install

pip install captn-nanobit-client

How to use

from captn_nanobit_client.api import authorize, predict
from captn_nanobit_client.testing import get_test_dataframe
from captn_nanobit_client.plotly_graph import plot_prediction
# server is one of "staging" or "production"
server = "staging"

token = authorize(username=username, password=password, server=server)

Get pandas dataframe

df = get_test_dataframe()

Run the code below to make a prediction

prediction = predict(df, token=token)

Run the code below to draw a graph

graph = plot_prediction(df, prediction, last_n_days=3, target_day=29)
# uncomment this line to show the graph
# graph.show()

Project details


Download files

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

Source Distribution

captn_nanobit_client-0.0.10.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

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

captn_nanobit_client-0.0.10-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file captn_nanobit_client-0.0.10.tar.gz.

File metadata

  • Download URL: captn_nanobit_client-0.0.10.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for captn_nanobit_client-0.0.10.tar.gz
Algorithm Hash digest
SHA256 4ed6d487c5cc57ec02c900adffc6e16185bd7b0d9f7d5ced1c827f45c41a600a
MD5 8a5b9244fed8cee4e7730e99e643ae6a
BLAKE2b-256 c197bafee39532a5dee014e89cfbad303265a4d8a3cb80207a5c2dcd73436989

See more details on using hashes here.

File details

Details for the file captn_nanobit_client-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: captn_nanobit_client-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for captn_nanobit_client-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8215851aa0c9173010ffc02b55a27e6053a668ddac1c4d8203a7d83c98942607
MD5 ddf73eee988fd8863cc95c662f05244e
BLAKE2b-256 e5dd3ee7995fe15704672724568e5b81be6e45b78c7dbb75343e5f0668d7d426

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