Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
list-of-us-universities-with-state-code
Advanced tools
The list of all top US universities along with their state codes, and basic retrieval functions
This package consists of the list of all top US universities along with their state codes, and basic retrieval functions in python.
from list_of_us_universities_with_state_code.main import get_universities
# This function will return the array of all the universities
get_universities()
from list_of_us_universities_with_state_code.main import get_state_code_of_university
# This function will return the object -> university name as the key and state code as value
get_state_code_of_university("mit")
#Output:
{'Massachusetts Institute of Technology (MIT)': 'MA'}
from list_of_us_universities_with_state_code.main import get_universities_by_state_code
# This function will return the array of all the universities in the given state code
get_universities_by_state_code("CA")
#Output:
{'Stanford': 'CA', 'California Institute of Technology (Caltech)': 'CA', 'University of California, Berkeley (UC Berkeley)': 'CA', 'University of California, Los Angeles (UCLA)': 'CA', ...}
Library: Python
FAQs
The list of all top US universities along with their state codes, and basic retrieval functions
We found that list-of-us-universities-with-state-code demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.