blocked-on-weibo | Python package for testing keyword censorship on Sina Weibo

 by   jasonqng Python Version: Current License: BSD-3-Clause

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.
Support
    Quality
      Security
        License
          Reuse

            kandi-support 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.
              OutlinedDot
              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.

            kandi-Quality Quality

              blocked-on-weibo has 0 bugs and 0 code smells.

            kandi-Security 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.

            kandi-License 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.

            kandi-Reuse 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 iconCopy
            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  
            Adjust your settings
            Pythondot img2Lines of Code : 11dot img2License : Permissive (BSD-3-Clause)
            copy iconCopy
            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  
            Let's start testing!,Pass a dictionary of keywords to start testing
            Pythondot img3Lines of Code : 10dot img3License : Permissive (BSD-3-Clause)
            copy iconCopy
            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:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jasonqng/blocked-on-weibo.git

          • CLI

            gh repo clone jasonqng/blocked-on-weibo

          • sshUrl

            git@github.com:jasonqng/blocked-on-weibo.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link