Installation Guide ================== This guide provides detailed instructions for installing the BCRA API Connector using various methods. Prerequisites ------------- - Python 3.9 or higher - pip (Python package installer) Quick Installation ------------------ For most users, installing via pip is the simplest method: .. code-block:: bash pip install bcra-connector This command will install the BCRA API Connector and all its dependencies. Installation for Development ---------------------------- If you're planning to contribute to the BCRA API Connector or need the latest development version, you can install directly from the GitHub repository: .. code-block:: bash pip install git+https://github.com/PPeitsch/bcra-connector.git Manual Installation ------------------- For those who prefer manual installation or are working in environments without internet access: 1. Download the source code from the `BCRA API Connector repository `_. 2. Navigate to the downloaded directory. 3. Run the following command: .. code-block:: bash python setup.py install Installation in a Virtual Environment ------------------------------------- It's often recommended to install Python packages in a virtual environment to avoid conflicts with other projects or system-wide packages: 1. Create a virtual environment: .. code-block:: bash python -m venv bcra_env 2. Activate the virtual environment: - On Windows: .. code-block:: bash bcra_env\Scripts\activate - On macOS and Linux: .. code-block:: bash source bcra_env/bin/activate 3. Install the BCRA API Connector: .. code-block:: bash pip install bcra-connector Verifying the Installation -------------------------- After installation, you can verify that BCRA API Connector is correctly installed by running: .. code-block:: python import bcra_connector print(bcra_connector.__version__) This should print the version number of the installed BCRA API Connector. Dependencies ------------ The BCRA API Connector has the following dependencies: - requests>=2.32.0,<2.33 - matplotlib>=3.7.3,<3.8 - setuptools>=70.0.0,<71 - urllib3>=2.2.1,<3.0 These will be automatically installed when using pip. If you're installing manually, ensure these dependencies are installed. Troubleshooting --------------- If you encounter any issues during installation, please check our :doc:`troubleshooting` guide or open an issue on our `BCRA API Connector issues page `_. Next Steps ---------- Now that you have BCRA API Connector installed, you're ready to start fetching economic data! Head over to the :doc:`usage` guide to learn how to use the library.