Comments (2)
import pip
# Replace 'package_name' with the name of the package you want to check
package_name = 'package_name'
try:
package = pip.get_installed_distributions().get(package_name)
print(f'{package_name} version: {package.version}')
except AttributeError:
print(f'{package_name} is not installed')
from astronomer-cosmos.
Thinking we may need to add a comment to the first line of the profiles.yml
file:
# astronomer-cosmos==0.1.0
from astronomer-cosmos.
Related Issues (20)
- Bug: `render_project` logs errors for dbt sources as missing model dependencies
- Documentation for dbt-spark HOT 6
- on_failure_callback to alert during test failure HOT 10
- tilt up not working for local development HOT 6
- upgrading from 0.4.2 to 0.7.3 -> profile.yml cannot be created HOT 8
- GCP BigQuery service account json not supported in v0.7 HOT 16
- dbt test_behavior="after_all" fails since it couldnt find profile_args HOT 7
- Slimming down tmp_dir to just the --target-dir HOT 3
- Rendered SQL does not show temp table logic HOT 1
- Cosmos does not parse BigQuery connections correctly HOT 2
- Support generic tests HOT 2
- Rendered SQL is not available for failed runs. HOT 5
- cosmos library does not recognize on Airflow kubernetes
- convert literals to enums
- Unify `dbt_project_name` and `dbt_root_path`
- Import path to DbtTaskGroup in quickstart no longer accurate HOT 1
- Resolve MyPy ignore comments for Cosmos pre-commit
- Add MyPy Airflow support and fix issues
- Refactor custom project parsing so Python models have dedicated method HOT 1
- Slack Link Incorrect in README HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astronomer-cosmos.