blocked-on-weibo | Python package for testing keyword censorship on Sina Weibo
kandi X-RAY | blocked-on-weibo Summary
kandi X-RAY | blocked-on-weibo Summary
blocked-on-weibo is a Python library typically used in Telecommunications, Media, Advertising, Marketing applications. blocked-on-weibo has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install blocked-on-weibo' or download it from GitHub, PyPI.
This python package allows you to automate tests to check if a keyword is censored or not on Sina Weibo, a Chinese social media site. It is an updated version of the script which was used to detect keywords on the site, It handles interrupted tests, multiple tests per day, storing results to a database, and a number of other features which simplify testing Weibo censorship at scale. The researcher merely has to feed the script a list of words for one-off tests. For recurring tests, simply wrap the script with a scheduler.
This python package allows you to automate tests to check if a keyword is censored or not on Sina Weibo, a Chinese social media site. It is an updated version of the script which was used to detect keywords on the site, It handles interrupted tests, multiple tests per day, storing results to a database, and a number of other features which simplify testing Weibo censorship at scale. The researcher merely has to feed the script a list of words for one-off tests. For recurring tests, simply wrap the script with a scheduler.
Support
Quality
Security
License
Reuse
Support
blocked-on-weibo has a low active ecosystem.
It has 14 star(s) with 3 fork(s). There are 2 watchers for this library.
It had no major release in the last 6 months.
blocked-on-weibo has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of blocked-on-weibo is current.
Quality
blocked-on-weibo has 0 bugs and 0 code smells.
Security
blocked-on-weibo has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
blocked-on-weibo code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
blocked-on-weibo is licensed under the BSD-3-Clause License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
blocked-on-weibo releases are not available. You will need to build from source code and install.
Deployable package is available in PyPI.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
blocked-on-weibo saves you 155 person hours of effort in developing the same functionality from scratch.
It has 386 lines of code, 14 functions and 6 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed blocked-on-weibo and discovered the below as its top functions. This is intended to give you an instant insight into blocked-on-weibo implemented functionality, and help decide if they suit your requirements.
- Run the test
- Insert a record into the database
- Check if the given keyword has been censored
- Split search query
- Create database
- Read sqlite file into pandas dataframe
- Find database files
- Migrates the results table
- Break the script
Get all kandi verified functions for this library.
blocked-on-weibo Key Features
No Key Features are available at this moment for blocked-on-weibo.
blocked-on-weibo Examples and Code Snippets
Copy
new_keywords_df = pd.DataFrame(
[{'keyword':'pokemon','source':'my dataframe',"notes":"pop culture"},
{'keyword':'jay chou','source':'my dataframe',"notes":"pop culture"},
{'keyword':u'weibo','source':'my dataframe',"notes":"social medi
Copy
from blockedonweibo import weibo
import pandas as pd
sqlite_file = 'results.sqlite' # name of sqlite file to read from/write to
weibo.create_database(sqlite_file, overwrite=True)
session = weibo.user_login(write_cookie=True)
cookie = session.cook
Copy
sample_keywords_df = pd.DataFrame(
[{'keyword':'hello','source':'my dataframe'},
{'keyword':'lxb','source':'my dataframe'},
{'keyword':u'习胞子','source':'my dataframe'}
])
sample_keywords_df
weibo.run(sample_keywords_df,insert=False
Community Discussions
No Community Discussions are available at this moment for blocked-on-weibo.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install blocked-on-weibo
The github repo for this Weibo keyword testing script is located at https://github.com/jasonqng/blocked-on-weibo. To begin using this python package, inside your terminal, run.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page