r/pythoncoding • • Jul 04 '24

Python AI Coder celebrates Independents Day, by coding fireworks display, in 3 minutes

Thumbnail
youtu.be
0 Upvotes

r/pythoncoding • • Jul 04 '24

/r/PythonCoding monthly "What are you working on?" thread

4 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.


r/pythoncoding • • Jul 02 '24

Crosspost: My Python code is a neural network

Thumbnail blog.gabornyeki.com
5 Upvotes

r/pythoncoding • • Jun 28 '24

Tutorial: Create a 3D Viewer for Numpy Arrays with Three.js in 5 Minutes

Thumbnail
youtube.com
3 Upvotes

r/pythoncoding • • Jun 26 '24

Pycafe is a new Python sandbox. Here's an example using networkX with threejs

8 Upvotes

You can directly edit the example in this sandbox:
https://py.cafe/kolibril13/networkX-threejs

Next to the editor, there's also a terminal log and an interactive viewport with a threejs visualization.
Note that this all runs with Pyodide, so all Python code will be executed locally in the browser on your machine.


r/pythoncoding • • Jun 22 '24

reladiff: High-performance diffing of large datasets across databases

Thumbnail
github.com
1 Upvotes

r/pythoncoding • • Jun 21 '24

Positioning Issues for a Popup Window

0 Upvotes

Hello all,

I've got a section of python code that is driving me nuts trying to figure out. I have no other assistance with this and I cannot get a popup window to display dynamically between monitor resolutions over the task bar on a windows pc. I can send the section of code I'm working on if that helps, but I'm working in the PyQT5 library and I really would like to get this working as soon as possible. I feel like I'm beating my head into a brick wall.


r/pythoncoding • • Jun 04 '24

/r/PythonCoding monthly "What are you working on?" thread

1 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.


r/pythoncoding • • May 24 '24

Customizable Static Analysis

1 Upvotes

I work for a large organization with several hundred teams implementing similar but not identical Pyspark solutions in Databricks.

We are defining template projects (that use Poetry), common development processes and general ways of working to help teams implement their solutions as efficiently as possible.

We have static analysis suites for helping code be as clean and straight forward as possible.

Code deployment and static analysis is standardized at an organizational level.

That being said, there are development patterns that we don't want implemented. We'd like to write custom tests that run as part of our static analysis suite to search our code for custom code patterns.

Can someone recommend a tool they think would be particularly good for this purpose?


r/pythoncoding • • May 20 '24

extract multilevel bullet numbers and bulleted text from word file to excel file

1 Upvotes

Hello devs, I am trying to extract multilevel bullet numbers and bulleted text from word file to excel file, however I am able to extract only bulleted text but not bullet numbers via python docx library.

Can any one please share solution for this, thank you.

Sample multilevel bulleted text and bullet numbers in word file that I need to extract -

3.8 Check Equations

3.8.1 myVar1 = myVarA + myVarB

3.8.2 myVarA = someVar1 - (var1/var2)

3.8.2.1 var1 = abcQty + xyzQty

3.8.2.2 var2 = abcQty - defQty

3.8.3 myVarC = myVar1 + myVarA


r/pythoncoding • • May 17 '24

Using Python, Sentiment Analysis and the Twitter API to see who won the Rap Beef with Drake and Kendrick

7 Upvotes

I created a Twitter Sentiment Analysis tool that looked at recent tweets to determine if Kendrick Lamar or Drake won the rap Beef. The package I used was called twitter-roberta-base-sentiment. In conjunction with panadas the sentiment of positive, Negative or Neutral which was seen as the highest from the algorithm was used for the tweet. I also created a word cloud in the video which game some further insight to what people were saying. The tool to interpret the data is pandas: https://pypi.org/project/pandas/

link to the full video is below if you are interested but any tips or ideas to further expand on this piece in the future or to use this on other areas is greatly appreciated :)

Link: https://www.youtube.com/watch?v=5FtfVBpbpG8


r/pythoncoding • • May 16 '24

Better Predictions than the Kalman Filter

Thumbnail github.juangburgos.com
1 Upvotes

r/pythoncoding • • May 13 '24

Comparing several variables at once

1 Upvotes

Hi.

I'm doing an online course, so unless I install python locally I'm a bit limited when testing. I hope it's ok that I ask instead of installing Python just to verify/falsify.

Is it possible to write statements like:

* if x == y == 7 ?

* x++ ?

* x+=7

Thanks.


r/pythoncoding • • May 09 '24

InterProcessPyObjects: Fast IPC for Sharing and Modifying Objects Across Processes

Thumbnail
github.com
4 Upvotes

r/pythoncoding • • May 09 '24

Frame - A DSL for Automata

Thumbnail self.statemachines
1 Upvotes

r/pythoncoding • • May 04 '24

/r/PythonCoding monthly "What are you working on?" thread

2 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.


r/pythoncoding • • Apr 30 '24

I made a Python app that turns your Figma design into code

Thumbnail
github.com
6 Upvotes

r/pythoncoding • • Apr 30 '24

ffmpeg takes too long on mac

Thumbnail self.ffmpeg
2 Upvotes

r/pythoncoding • • Apr 25 '24

A Python CLI tool to repurpose your videos by turning them into blog posts with context-aware screenshots

Thumbnail
github.com
5 Upvotes

r/pythoncoding • • Apr 21 '24

Searching OEIS tables

Thumbnail
paddy3118.blogspot.com
2 Upvotes

r/pythoncoding • • Apr 21 '24

Achieve true parallelism in Python 3.12

Thumbnail self.python
3 Upvotes

r/pythoncoding • • Apr 12 '24

I implemented the Seam Carving algorithm for fun! So, I decided to create a video explaining the magic behind this image processing technique 🪄

Thumbnail
youtube.com
2 Upvotes

r/pythoncoding • • Apr 09 '24

Pywayang - Apache Wayang's Python API

Thumbnail self.apachewayang
1 Upvotes

r/pythoncoding • • Apr 04 '24

/r/PythonCoding monthly "What are you working on?" thread

1 Upvotes

Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!

If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.