python-utilities | Different python utility scripts to help automate mundane

 by   hseera Python Version: Current License: MIT

kandi X-RAY | python-utilities Summary

kandi X-RAY | python-utilities Summary

python-utilities is a Python library. python-utilities has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However python-utilities build file is not available. You can download it from GitHub.

Different python utility scripts to help automate mundane/repetitive/specific performance testing tasks. The readme page will continue to get updated as and when I add a new utility to the repo. Note: Most of these utilities are focused around performance testing/engineering. However, with some modifications(/in some cases none) can be used in other fields/areas too. This script merges columns from different files together and generates a new file. This script extracts data from a file, removes rows with no data, sorts and saves unique data into a file. This script generates response time distribution graph (histrogram) from the JMeter result CSV. Can be extended for others tools too. This script extracts response time data that matches a specific text in a column and saves into a new file. This script swaps columns in a file. Useful when trying to rearrange columns for easy of use/readability. For demonstration purpose, the script rearranges JMeter result csv columns as I like them to view. However can be extended for other use too. This script randomizes data in a file. Useful when you want to have a random order of data in file for testing purpose. This script saves total number of occurrence of each unique item in a file. Useful for designing the test data distribution for testing. Extract data that matches a text in the data file and create a new file containing that data. Useful when you have one big data file with all the data and you want to create separate data for each test script. For example, you have one big data file that contains images, js & CSS URLs. And you want to create a separate data file for CSS, js & images respectively. This script will help just do that. In the below screenshot team was not part of the search text and hence no csv created for it. name is the column name in the file. There might the times when it is not easy to notice small fluctuations in data using a line chart. This script generates a heatmap for the data where you are trying to observe patterns over minutes/hours but for a longer duration (i.e.30 days). For example, there might be a specific hour of the day when you see more load but it is not higher than the peak load in a day. Therefore line chart for a longer duration (i.e. 30 days) might hide that pattern or it might not be easily visible. Same can be performed in excel using pivot table but will require some manual effort. This script converts extensive data (two/three column data) into a summairzed pivot table format. Useful when you want to have a summarized view of the requests/error/response time over long period. Generate random ABN and ACN numbers. Useful for performance/functional test scenario's that require valid ABN and/or ACN data for testing. Convert network conversation captured in the trace file into a heatmap. Useful when you have a lot of conversations captured. This script makes it easy to visualize the conversations, if you are not comfortable reading/trolling the Wireshark network conversation view. It also has an option to generate a graph too. However, the code to generate the graph will require a little modification to cater to too many conversations. For less than 40 conversations in a trace file, the current code should suffice. Generate Mastercard/Visa creditcard numbers. Useful when dummy creditcard numbers are needed for Testing purpose ONLY. They are useless without the valid owner name, an expiration date and a valid CVV code. Therefore they CAN NOT be used for REAL transactions. Generate a list of valid Australian Tax File Numbers (TFN). It is useful when you need TFN numbers for testing purposes. Generate a list of valid New Zealand Inland Revenue Department Numbers (IRD). It is useful when you need IRD numbers for testing purposes. Format data file with the dollar value. Useful when you need to pass dollar value parameter from a file in a payload instead of a number. Most of the time it should be handled in a code. Incase you are passing it through a file then this script can reduce the effort. Split a big file into multiple smaller size files. Useful when you want to have unique data for the same script running across multiple injectors. Recursively search for a file in a folder and all its subfolders. Print out the locations where that file is located. Useful when you don't want to scroll through all the folders and files to locate the file you need. Save highlevel websphere verbosegc metrics into csv. Useful when you want to import the data to a load test tool for analyses & correlate with other metrics. Assupmtion is that you do have any other means (i.e apm tools, sitescope etc) to view this data with other application & system metrics. There are situations when you get metrics data for all the servers in an excel file in a column format. However, you would like to have metrics data for each server in a separate sheet. Also properly formated & pivoted so it makes it easy to analyze the data or generate graphs out of it. This script will help you just do that. It takes data in a column format and saves pivoted data of each system/application into a separate sheet. This script merges multiple columns in a file to two columns. One column with the values and other the header names. Useful when you want to do analysis (i.e. Tukey test on the data set) using python. This script arranges files in the appropriate folder so it easy to find them when needed. Useful when you want to have seperate folder for data, scripts, scenario & result. Also useful when you want to arrange all the files in your download folder which might have images, music, executable, video files. Use Tukey fence test to identify outliers from the data set. Useful when you just want to know the outlier values. Also useful when extreme outliers distort the visualization and therefore you want to remove them temporarily to analyze the rest of the data. Generate basic statistics. Useful when you want to generate & compare statistics of different test runs. Saves time of not filling in all the formulas in excel.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              python-utilities has a low active ecosystem.
              It has 3 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              python-utilities has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of python-utilities is current.

            kandi-Quality Quality

              python-utilities has no bugs reported.

            kandi-Security Security

              python-utilities has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              python-utilities is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              python-utilities releases are not available. You will need to build from source code and install.
              python-utilities has no build file. You will be need to create the build yourself to build the component from source.

            Top functions reviewed by kandi - BETA

            kandi has reviewed python-utilities and discovered the below as its top functions. This is intended to give you an instant insight into python-utilities implemented functionality, and help decide if they suit your requirements.
            • generate a random credit card number
            • Generate SNPs .
            • Extract metrics from API response .
            • Parse verbosegc xml file
            • Generates IRD numbers .
            • Creates a heatmap plot
            • Generate random TFN numbers .
            • Creates a heatmap plot
            • Splits a file into multiple rows .
            • Load the tornado graph
            Get all kandi verified functions for this library.

            python-utilities Key Features

            No Key Features are available at this moment for python-utilities.

            python-utilities Examples and Code Snippets

            No Code Snippets are available at this moment for python-utilities.

            Community Discussions

            No Community Discussions are available at this moment for python-utilities.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install python-utilities

            You can download it from GitHub.
            You can use python-utilities like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            Contribution is welcomed. Pull requests are welcomed too.
            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/hseera/python-utilities.git

          • CLI

            gh repo clone hseera/python-utilities

          • sshUrl

            git@github.com:hseera/python-utilities.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