Questions tagged [python]
Python is a dynamic and strongly typed programming language designed to emphasize usability.
82 questions
0
votes
0
answers
6
views
How do I deploy a bundle of custom python processors in an air gapped NiFi 2.6 deployment?
My NiFiKop (Konpyutaika) Helm chart release version is v1.14.2-release. My NiFi version is 2.6. My nificluster apiVersion is nifi.konpyutaika.com/v1.
I looked at the Python developer guide at: https://...
0
votes
0
answers
9
views
Unable to find Libcrypto on Ubuntu Docker container with Django Python
For a Django Python project, I develop in a Docker container. The oscrypto Python package I need is unable to find the Libcrypto library on the Ubuntu container. The Docker image is ubuntu:24.04.
I am ...
0
votes
0
answers
11
views
Best Practice for Version Control with Desktop Apps
When I say version control here, I'm talking specifically about the version number of the software I'm working on. I'm using git and happy with the general workflow, and have plans on how to improve ...
0
votes
0
answers
25
views
How to publish to Google managed Kafka without using ADC directly
I've created a Google managed Kafka stream. I'm able to publish and consume messages to/from the kafka stream if I use Application Default Credentials (ADC). I.e. I create a VM instance using a ...
1
vote
1
answer
46
views
Avoiding "$${terraform.workspace}" in Python CDKTF
I'd like to set count to 1 when TF_WORKSPACE is prod and 0 otherwise. I recently learned about Fn.conditional and would like to compare a working implementation of it, using purely Python CDKTF, with ...
0
votes
1
answer
789
views
How to handle python modules with Ansible on Ubuntu 24.04?
I started playing with Ansible and, since I know some Python, decided to dig in and learn how to create modules. For this module, I need to setup an Apt repository and rather than reinvent the wheel I ...
1
vote
1
answer
374
views
Ansible Jinja2 evaluate string as template
I have a sort of configuration vars file through which I'm looping,
checks:
- name: "x"
setting: "y"
eval: "{{ 'OK' if var == 'x' else 'NOK' }}"
main.yml
- ...
0
votes
1
answer
43
views
How to collect cumulative report for 32 repos?
We use separate Jenkins jobs to collect unit tests and coverage for each repository. There are 32 such repos. How do we collect cumulative report?
Currently we are going into each job and collecting ...
0
votes
1
answer
195
views
Conflicts while building AWX-EE custom image
I'm currently building AWX EE custom image with the latest available but it seems latest versions got some conflicts with pip modules. My custom image was working great in July (awx-ee version 22.X 23....
0
votes
1
answer
336
views
Can't get Python with cx_oracle to connect outbound to Oracle server
When I inherently go to make the connection from the python app inside the docker file I get .. I can ping and nslookup from indide the docker container from the terminal....so I'm a bit confused..
...
1
vote
1
answer
979
views
Using a different Python version in AWX
I updated a recent playbook module that says I need to use at least Python version 3.8. I run this playbook on our AWX controller. When I run the cmd module and do a "which python3" I get ...
0
votes
1
answer
1k
views
s3: reading parquet files with a subset of columns as argument; does this reduce data transfer?
I have set of large tables stored as parquets on s3.
In python, I'm using:
pd.read_parquet(...,columns=columns)
I'm reading the files directly from s3, without any database engine whatsoever for ...
1
vote
2
answers
148
views
Options to build a production server as a solo python developer?
I'm new to DevOps and overwhelmed with all the options.
I write python web applications as a solo developer, on my local machine. I have a "staging" server and I have multiple websites under ...
0
votes
1
answer
2k
views
Multistage docker build for Python distroless image
This is my Dockerfile for distroless image similar to this example
FROM python:3.9-slim AS build-venv
RUN python3 -m venv /venv
# other installation steps go here
RUN /venv/bin/pip install --upgrade ...
1
vote
1
answer
3k
views
How to get gcp project name by project id
Using cloud function - trying to make get call to get the project name and with the id - https://cloud.google.com/resource-manager/docs/creating-managing-projects#listing_projects
from ...