https://github.com/borisbolliet/company_package
A template for students
https://github.com/borisbolliet/company_package
Last synced: 6 months ago
JSON representation
A template for students
- Host: GitHub
- URL: https://github.com/borisbolliet/company_package
- Owner: borisbolliet
- Created: 2024-10-25T11:45:53.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-10-29T22:06:22.000Z (12 months ago)
- Last Synced: 2024-10-30T00:39:13.393Z (12 months ago)
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Company Package
The **Company Package** is a Python package designed to model companies across different sectors.
## Features
- Base `Company` class with core attributes and methods, including stock price retrieval.
- Sector-specific subclasses:
- **InfoTechCompany**: For companies focused on information technology.
- **FinTechCompany**: For companies in the financial technology sector.
- **MedicalCompany**: With additional methods to track drug approval attempts.
- Integrated with `yfinance` for real-time stock information.## Installation
Ensure you have Python 3.6 or higher. You can install the package and its dependencies from source with:
```bash
pip install -e .
```or from PyPi with:
```bash
pip install company_package
```## Usage
Here's a quick example of how to use the package:
```python
import company as cpmy_company = cp.Company(name="Nvidia", ticker="NVDA")
my_company.display_info()```
## Documentation
Visit our [documentation page](https://your-readthedocs-url-here).
## Contributing
Contributions are welcome! Fork our repository and submit a pull request.
## License
This project is licensed under the MIT License - see the `LICENSE` file for details.