SoSciPy
Social Science is hard, analysing data to make inferences should not be! Project Soscipy is an attempt to enable social science researchers, economists, students, enthusiasts, data scientists and most importantly change makers do high quality data analysis and visualisation that works - easily.
There are four different parts to the library that talks to specific needs while working with data.
- Data fetching
- Data analysis
- Data processing
- Data visualisation
- Utilities
Setup
With Pip
Install soscipy using pip by entering following command in the terminal:
pip install --upgrade soscipy
or use following command inside Jupyter and Colab Notebooks
!pip install --upgrade soscipy
1. Data Analysis
dat2csv: A simple module to export data into a csv file
2. Data processing
Combine Takes two dataframes as an input and exports a merged dataframe automatically. It figures out a primary key for the dataset and utilised TfIdf to match entities before merging
from socipy.process.dfops import combine
df = combine(df1,df2)
Thin Panda: A set of commonly used pandas functions such as renaming the columns etc.
Parallelize: A simple wrapper that takes a function and list of parameters and runs them in parallel to help you save the time and effort of dealing with more complicated multi-processing tools
3. Data visualisation
Plot: Simple functions to quickly export visualised graphs
from kornect.plot import sns_cntplt_array
sns_cntplt_array([1,2,2,3,3,4],chart_title='Random chart',export=False)
istates: Takes a dataframe with state names and values and plots a geomap of India for you as a PNG or GIF
idistrict: Takes a dataframe with district names and values and plots a geomap of India for you as a PNG or GIF
4. Utilities
Browser: Creates a selenium browser for you Update Progress: This takes a float as an input and creates a beautiful progress bar and shows you the percentage. No added libraries just pure python implementation.
Metadata
Release files for soscipy 0.0.44
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| soscipy-0.0.44.tar.gz | 16.5 kB | Without provenance | Details for soscipy-0.0.44.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| soscipy-0.0.44-py3-none-any.whl | Python 3 | none | any | Details for soscipy-0.0.44-py3-none-any.whl |
Total release size: 38.3 kB
Release files / soscipy-0.0.44.tar.gz
| Download URL | soscipy-0.0.44.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcb3bdf6b24470b8b7d52bc9a4fd291050e3924f26c85693f3b6c7c98d17bc59
|
|
BLAKE2b-256 checksum How to use checksums |
fb40bc168b79474d0c2787b78b63a8566e0516a9ebb0f599f8d39d620e11fd99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / soscipy-0.0.44-py3-none-any.whl
| Download URL | soscipy-0.0.44-py3-none-any.whl |
|---|---|
| Size | 21.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
610de9f502a3b11a03cae6eefc695612f59359fbdb1f70489e09274dc81f4d9a
|
|
BLAKE2b-256 checksum How to use checksums |
0747fab3805b66703ff9224e10507077bceb05c7d97de4eb01e69d2ecdff32cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for soscipy 0.0.44
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.