Socket
Socket
Sign inDemoInstall

list-of-us-universities-with-state-code

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    list-of-us-universities-with-state-code

The list of all top US universities along with their state codes, and basic retrieval functions


Maintainers
1

Readme

Package: us_universities_with_state_codes

This package consists of the list of all top US universities along with their state codes, and basic retrieval functions in python.

Usage/Examples


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', ...}

Tech Stack

Library: Python

License

MIT

FAQs


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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc