Skip to main content

Canvs Toolbox Package

Date Formatting

"MM/DD/YY"

General

from canvs_toolbox import general as gen

  • gen.consolidate_data(file_path, file_type='csv')

API Tools

Canvs TV

from canvs_toolbox.api import tv as tvAPI

  • tvAPI.twitter_daily_export(api_key, data_mode, start_date, end_date)
  • tvAPI.twitter_emotional_authors(api_key, series_id, start_date, end_date)
  • tvAPI.airings_backfill(api_key, data_mode, start_date, end_date)
  • tvAPI.facebook_backfill(api_key, data_mode, start_date, end_date)

Canvs Watch

from canvs_toolbox.api import watch as watchAPI

  • watchAPI.post_backfill(api_key, data_mode, start_date, end_date)
  • watchAPI.series_backfill(api_key, data_mode, start_date, end_date)

Canvs Social

from canvs_toolbox.api import social as socialAPI

  • socialAPI.get_facebook_posts(api_key, fb_id, org_id, start_date, end_date, query_increment=None)
  • socialAPI.get_page_collection(api_key, org_id, start_date, end_date, fb_pages, query_increment=None)

Analytics Tools

Canvs TV

from canvs_toolbox.analytics import tv as tvAnalytics

Audience Overlap Analysis

  • implementation: tvAnalytics.audience_overlap_analysis(directory)
  • input directory should contain audience csv files from calling tvAPI.twitter_emotional_authors()
  • analysis will find the overlapping audiences across those csv files
  • for best results, rename the csv files to desired series names (e.g. showA, showB)

Audience Erosion Analysis

  • implementation: tvAnalytics.audience_erosion_analysis(filename)
  • input file should be a single audience csv file from calling tvAPI.twitter_emotional_authors()
  • creates an episode-over-episode drop-off analysis

Emotional Fingerprinting Analysis

  • implementation: emotional_fingerprinting_analysis(source, filename, format)
  • input file should be either from a direct Explore Programs export from the Canvs App or from any of the API exports except twitter_emotional_authors
  • computes an emotional similarity score for all possible combinations of passed-in content
  • can choose to either return a stacked view of all pairings and their scores (format = 'stacked) or a matrix view containing similarity scores at content intersections (format = 'matrix')

Metadata

Release files for testingtool-canvsUser 0.0.1

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

Source distribution (sdist)

Source distribution for testingtool-canvsUser 0.0.1
File Size Uploaded Provenance
testingtool-canvsUser-0.0.1.tar.gz 10.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for testingtool-canvsUser 0.0.1
File Interpreter ABI Platform
testingtool_canvsUser-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.2 kB

Release files / testingtool-canvsUser-0.0.1.tar.gz

Download URL testingtool-canvsUser-0.0.1.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
45819b68e345302a239f92c33f4c1594120e1db5df2a4c40459a15bcd866436d
BLAKE2b-256 checksum
How to use checksums
a1823da2ec37397bc80bbaf79f8ad3fa7f5363c3d21a74d2119db611360f0d35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Release files / testingtool_canvsUser-0.0.1-py3-none-any.whl

Download URL testingtool_canvsUser-0.0.1-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2242a19f740dac76224b58266e24619d940e811c938a32d1be9d4e2b0d7b1791
BLAKE2b-256 checksum
How to use checksums
cbd7ab1bcb3d2cbdcc335f8b25d67db131ea0b8bb797b970a2fe37f09bf190d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Security for testingtool-canvsUser 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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