Skip to main content

Alt text

Bytesviewapi Python Client

Bytesviewapi allows you to create a library for accessing http services easily, in a centralized way. An API defined by bytesviewapi will return a JSON object when called.

Build Status License PyPI Supported Python versions Python


Installation

Supported Python Versions

Python >= 3.5 fully supported and tested.

Install Package

pip install bytesviewapi

Quick Start

Bytesviewapi docs can be seen here.


SENTIMENT API

POST 1.1/static/sentiment

from bytesviewapi import BytesviewApiClient

# API key authorization, Initialize the client with your API key
api = BytesviewApiClient(api_key="API key")

# Pass your desired strings in a dictionary with unique key
data = {"key1": "We are good here", "key2": "this is not what we expect"}

response = api.sentiment_api(data = data , lang = "en")

API key : Your private Bytesview API key.

data : You can pass your desired strings in the dictionary format where each string has some unique key.

lang : Pass ISO code for the following supported language English, Arabic, Turkish, Japanese, Spanish, French, German, Russian, Chinese(simplified), Swedish, Czech, Danish, Greek, Korean, Latin, Hebrew, Indonesian, Kazakh, Armenian, Azerbaijani, Belarussian, Finnish, Bulgarian, Burmese, Persian, Portuguese, Urdu, Vietnamese, Thai, Hungarian, Italian, Polish, Ukrainian, Uzbek. The default language is english(en).


EMOTION API

POST 1.1/static/emotion

from bytesviewapi import BytesviewApiClient

# API key authorization, Initialize the client with your API key
api = BytesviewApiClient(api_key="API key")

# Pass your desired strings in a dictionary with unique key
data = {"key1": "I am not feeling good", "key2": "happy that you come here"}

response = api.emotion_api(data = data , lang = "en")

API key : Your private Bytesview API key.

data : You can pass your desired strings in the dictionary format where each string has some unique key.

lang : Pass ISO code for the following supported language English, Arabic, Turkish, Japanese, Spanish, French, German, Russian, Chinese(simplified), Swedish, Czech, Danish, Greek, Korean, Latin, Hebrew, Indonesian, Kazakh, Armenian, Azerbaijani, Belarussian, Finnish, Bulgarian, Burmese, Persian, Portuguese, Urdu, Vietnamese, Thai, Hungarian, Italian, Polish, Ukrainian, Uzbek. The default language is english(en).


KEYWORDS API

POST 1.1/static/keywords

from bytesviewapi import BytesviewApiClient

# API key authorization, Initialize the client with your API key
api = BytesviewApiClient(api_key="API key")

# Pass your desired strings in a dictionary with unique key
data = {"key1": "Accessories for AirTags appearing online, Apple hasn't announced the tracking fobs"}

response = api.keywords_api(data = data , lang = "en")

API key : Your private Bytesview API key.

data : You can pass your desired strings in the dictionary format where each string has some unique key.

lang : Pass ISO code for the following supported language English, French, Turkish, German, Japanese, Chinese(simplified), Spanish, Arabic, Russian, Italian, Danish. The default language is english(en).


SEMANTIC API

POST 1.1/static/semantic

from bytesviewapi import BytesviewApiClient

# API key authorization, Initialize the client with your API key
api = BytesviewApiClient(api_key="API key")

# Pass your both strings in the dictionary format with some unique key
data = {"string1": "A smiling costumed woman is holding an umbrella.", "string2": "A happy woman in a fairy costume holds an umbrella."}

response = api.semantic_api(data = data , lang = "en")

API key : Your private Bytesview API key.

data : You can pass your both strings in the dictionary format with some unique key.

lang : Language Code (English - en), Default language is english(en).


NAME-GENDER API

POST 1.1/static/name-gender

from bytesviewapi import BytesviewApiClient

# API key authorization, Initialize the client with your API key
api = BytesviewApiClient(api_key="API key")

# Pass your desired names in the dictionary format where each string has some unique key.
data ={"key1":"alvina", "key2":"نسترن", "key3":"ron", "key4":"rinki", "key5":"オウガ"}

response = api.name_gender_api(data = data)

API key : Your private Bytesview API key.

data : You can pass your desired names in the dictionary format where each string has some unique key.


NAMED-ENTITY API

POST 1.1/static/ner

from bytesviewapi import BytesviewApiClient

# API key authorization, Initialize the client with your API key
api = BytesviewApiClient(api_key="API key")

# Pass your desired strings in a dictionary with unique key
data = {"key1":"Mauritania and the IMF agreed Poverty Reduction arrangement"}

response = api.ner_api(data = data , lang = "en")

API key : Your private Bytesview API key.

data : You can pass your desired strings in the dictionary format where each string has some unique key.

lang : Language Code (English - en), Default language is english(en).


INTENT API

POST 1.1/static/intent

from bytesviewapi import BytesviewApiClient

# API key authorization, Initialize the client with your API key
api = BytesviewApiClient(api_key="API key")

# Pass your desired strings in a dictionary with unique key
data = {"key1":"Adam Rippon Wins 'Dancing With The Stars' Because It Was Destined"}

response = api.intent_api(data = data , lang = "en")

API key : Your private Bytesview API key.

data : You can pass your desired strings in the dictionary format where each string has some unique key.

lang : Language Code (English - en), Default language is english(en).


FEATURE API

POST 1.1/static/feature

from bytesviewapi import BytesviewApiClient

# API key authorization, Initialize the client with your API key
api = BytesviewApiClient(api_key="API key")

# Pass your desired strings in a dictionary with unique key
data = {"key1":"This is probably one of the funniest films of the 1980's. Eddie Murphy does a fine job as con man Billy Ray and Dan Ackroyd is great as Louis."}

response = api.feature_api(data = data , lang = "en")

API key : Your private Bytesview API key.

data : You can pass your desired strings in the dictionary format where each string has some unique key.

lang : Language Code (English - en), Default language is english(en).


TOPIC API

POST 1.1/static/topic

from bytesviewapi import BytesviewApiClient

# API key authorization, Initialize the client with your API key
api = BytesviewApiClient(api_key="API key")

# Pass your desired strings in a dictionary with unique key
data = {"key1":"Shriram Automall India Limited is hiring for Accounts Department."}

response = api.topic_api(data = data , lang = "en")

API key : Your private Bytesview API key.

data : You can pass your desired strings in the dictionary format where each string has some unique key.

lang : Language Code (English - en), Default language is english(en).

License

Provided under MIT License by Matt Lisivick.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for bytesviewapi 0.1.6

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

Source distribution (sdist)

Source distribution for bytesviewapi 0.1.6
File Size Uploaded
bytesviewapi-0.1.6.tar.gz 10.7 kB Details

Built distribution (wheel)

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

Total release size: 19.7 kB

Release files / bytesviewapi-0.1.6.tar.gz

Download URL bytesviewapi-0.1.6.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
15d4695d04b5a0e6a1f701ba40c16657aff705590afb3304541410e20f983ee9
BLAKE2b-256 checksum
How to use checksums
89897419f89d7d81fec459666b22aa4de49a3392080260b107037e4f9e420c80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

Release files / bytesviewapi-0.1.6-py3-none-any.whl

Download URL bytesviewapi-0.1.6-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e5d6728d851967a2e8c67bb700e5c8f2cc1253638afff55bef0bad966a68b97
BLAKE2b-256 checksum
How to use checksums
79f3caac4bd6838eee2a9a21a5cbf4594bb80e00ef150ab499067f56c6de5d5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.6 This release

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

2 release files

0.1.0

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