P Inviting Collaborators for a Differentiable Geometric Loss Function Library
Hello,
I am a grad student at Stanford, working on shape optimization for aircraft design.
I am looking for collaborators on a project for creating a differentiable geometric loss function library in pytorch.
I put a few initial commits on a repository here to give an idea of what things might look like:
Github repo
Inviting collaborators on twitter
/r/MachineLearning
https://redd.it/1ilzqdb
Hello,
I am a grad student at Stanford, working on shape optimization for aircraft design.
I am looking for collaborators on a project for creating a differentiable geometric loss function library in pytorch.
I put a few initial commits on a repository here to give an idea of what things might look like:
Github repo
Inviting collaborators on twitter
/r/MachineLearning
https://redd.it/1ilzqdb
GitHub
GitHub - atharvaaalok/geosimilarity: Differentiable curve and surface similarity measures.
Differentiable curve and surface similarity measures. - atharvaaalok/geosimilarity
HTTP queries parameters to MongoDB Query Language converter
I did develop a Python module for my company based on Regex to convert HTTP queries parameters sent from frontend app (React & Angular mainly) to our backend (FastAPI) in MongoDB Query Language (MQL). This way, frontend devs can easilly make specific queries without asking the backend devs.
It is working pretty well for a couple of years but it became pretty hard to maintain and update. I'm also asking myself, can I improve it ? Here is a couple of exemple that I've build over the years:
http://localhost:8000/api/v1/company?filter=category==507f1f77bcf86cd799439011^createdat=BETWEEN(2024-01-01,2025-06-30)^nbemployee>10
# Output in Python
from query import MongoQueryManager as mqm
query = mqm(filter="category==507f1f77bcf86cd799439011^createdat=BETWEEN(2024-01-01,2025-06-30)^nbemployee>10", page=0, limit=100, orderdir="asd", orderby="createdat", excludedkeys=)
print(query.mongoargs)
{'filter': {'$and': [{'category': '507f1f77bcf86cd799439011'}, {'createdat': {'$gte': 1704063600.0, '$lte': 1751234400.0}}, {'nbemployee': {'$gt': 10}}]}, 'sort': [('createdat', -1)], 'skip': 0}
Note :
There is some limitation, we can only put 3 logical operator if there is AND and OR at the same time. Example :
/r/Python
https://redd.it/1im5i4s
I did develop a Python module for my company based on Regex to convert HTTP queries parameters sent from frontend app (React & Angular mainly) to our backend (FastAPI) in MongoDB Query Language (MQL). This way, frontend devs can easilly make specific queries without asking the backend devs.
It is working pretty well for a couple of years but it became pretty hard to maintain and update. I'm also asking myself, can I improve it ? Here is a couple of exemple that I've build over the years:
http://localhost:8000/api/v1/company?filter=category==507f1f77bcf86cd799439011^createdat=BETWEEN(2024-01-01,2025-06-30)^nbemployee>10
# Output in Python
from query import MongoQueryManager as mqm
query = mqm(filter="category==507f1f77bcf86cd799439011^createdat=BETWEEN(2024-01-01,2025-06-30)^nbemployee>10", page=0, limit=100, orderdir="asd", orderby="createdat", excludedkeys=)
print(query.mongoargs)
{'filter': {'$and': [{'category': '507f1f77bcf86cd799439011'}, {'createdat': {'$gte': 1704063600.0, '$lte': 1751234400.0}}, {'nbemployee': {'$gt': 10}}]}, 'sort': [('createdat', -1)], 'skip': 0}
Note :
507f1f77bcf86cd799439011 is an ObjectId (specific to MongoDB).There is some limitation, we can only put 3 logical operator if there is AND and OR at the same time. Example :
arg1=1 AND arg2=2 AND arg3=3 OR arg4=4. I never find a way to code something stable/r/Python
https://redd.it/1im5i4s
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
SQLalchemy is driving me nuts
I want to set all timestamps in DB with timezone utc, but my DB uses its own local time as timezone instead. Can anyone spot what I am doing wrong?
My sqlalchemy defs looks like this.
import sqlalchemy as sa
import sqlalchemy.orm as so
from datetime import datetime, timezone
timestamp: so.Mapped[datetime] = so.mapped_column(sa.DateTime(timezone=True), default=lambda: datetime.now(timezone.utc))
When I pull the data from the DB I get something like this, where timezone seems to be the server timezone:
datetime.datetime(2025, 2, 9, 23, 33, 59, 666407, tzinfo=datetime.timezone(datetime.timedelta(seconds=3600)))
While I would want something like this:
datetime.datetime(2025, 2, 10, 12, 31, 56, 422389, tzinfo=datetime.timezone.utc)
/r/flask
https://redd.it/1im57ij
I want to set all timestamps in DB with timezone utc, but my DB uses its own local time as timezone instead. Can anyone spot what I am doing wrong?
My sqlalchemy defs looks like this.
import sqlalchemy as sa
import sqlalchemy.orm as so
from datetime import datetime, timezone
timestamp: so.Mapped[datetime] = so.mapped_column(sa.DateTime(timezone=True), default=lambda: datetime.now(timezone.utc))
When I pull the data from the DB I get something like this, where timezone seems to be the server timezone:
datetime.datetime(2025, 2, 9, 23, 33, 59, 666407, tzinfo=datetime.timezone(datetime.timedelta(seconds=3600)))
While I would want something like this:
datetime.datetime(2025, 2, 10, 12, 31, 56, 422389, tzinfo=datetime.timezone.utc)
/r/flask
https://redd.it/1im57ij
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
A Modern Python Repository Template with UV and Just
Hey folks, I wanted to share a Python repository template I've been using recently. It's not trying to be the ultimate solution, but rather a setup that works well for my needs and might be useful for others.
What My Project Does
It's a repository template that combines several modern Python tools, with a focus on speed and developer experience:
\- UV for package management
\- Just as a command runner
\- Ruff for linting and formatting
\- Mypy for type checking
\- Docker support with a multi-stage build
\- GitHub Actions CI/CD setup
The main goal was to create a clean starting point that's both fast and maintainable.
Target Audience
This template is meant for developers who want a production-ready setup but don't need all the bells and whistles of larger templates.
Comparison
The main difference from other templates is the use of Just instead of Make as the command runner. While this means an extra installation step, Just offers several advantages, such as a cleaner syntax, better dependency handling and others.
I also chose UV over pip for package management, but at this point I don't consider this as something unusual in the Python ecosystem.
You can find the template here: https://github.com/GiovanniGiacometti/python-repo-template
Happy to hear your thoughts and suggestions for improvement!
/r/Python
https://redd.it/1ime8ja
Hey folks, I wanted to share a Python repository template I've been using recently. It's not trying to be the ultimate solution, but rather a setup that works well for my needs and might be useful for others.
What My Project Does
It's a repository template that combines several modern Python tools, with a focus on speed and developer experience:
\- UV for package management
\- Just as a command runner
\- Ruff for linting and formatting
\- Mypy for type checking
\- Docker support with a multi-stage build
\- GitHub Actions CI/CD setup
The main goal was to create a clean starting point that's both fast and maintainable.
Target Audience
This template is meant for developers who want a production-ready setup but don't need all the bells and whistles of larger templates.
Comparison
The main difference from other templates is the use of Just instead of Make as the command runner. While this means an extra installation step, Just offers several advantages, such as a cleaner syntax, better dependency handling and others.
I also chose UV over pip for package management, but at this point I don't consider this as something unusual in the Python ecosystem.
You can find the template here: https://github.com/GiovanniGiacometti/python-repo-template
Happy to hear your thoughts and suggestions for improvement!
/r/Python
https://redd.it/1ime8ja
GitHub
GitHub - GiovanniGiacometti/python-repo-template: A Python template repository, featuring Just and UV
A Python template repository, featuring Just and UV - GiovanniGiacometti/python-repo-template
Tuesday Daily Thread: Advanced questions
# Weekly Wednesday Thread: Advanced Questions 🐍
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
## How it Works:
1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.
## Guidelines:
* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.
## Recommended Resources:
* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.
## Example Questions:
1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the
/r/Python
https://redd.it/1iml55r
# Weekly Wednesday Thread: Advanced Questions 🐍
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
## How it Works:
1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.
## Guidelines:
* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.
## Recommended Resources:
* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.
## Example Questions:
1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the
/r/Python
https://redd.it/1iml55r
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
Dynamic Templates help
Hello everyone.
I'm working on a project but I'm stuck in a part and I'm unsure on how to proceed on it.
I have a screen on my website where you're supposed to select an object, a Date based on said object and choose which action to take on that object and date.
I'd like to make it in such way that, if the user selects a Date from object A, that Actions appear or disappear based on whenever or not that object at that date has already done that action (it appears whenever A on Jan 09 has already done said action or not).
I already have a system by which I determine whenever that object has gone through that action at certain dates (just does an AND to a predetermined value), but I can't figure out how to change the actions list so that whenever the user chooses a Date on it , it swaps the value of A at that date and changes what values it should display.
If you could give me any suggestions I'd greatly appreciate it.
Thanks!
/r/djangolearning
https://redd.it/1iml37f
Hello everyone.
I'm working on a project but I'm stuck in a part and I'm unsure on how to proceed on it.
I have a screen on my website where you're supposed to select an object, a Date based on said object and choose which action to take on that object and date.
I'd like to make it in such way that, if the user selects a Date from object A, that Actions appear or disappear based on whenever or not that object at that date has already done that action (it appears whenever A on Jan 09 has already done said action or not).
I already have a system by which I determine whenever that object has gone through that action at certain dates (just does an AND to a predetermined value), but I can't figure out how to change the actions list so that whenever the user chooses a Date on it , it swaps the value of A at that date and changes what values it should display.
If you could give me any suggestions I'd greatly appreciate it.
Thanks!
/r/djangolearning
https://redd.it/1iml37f
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
How do you self learn to make production ready applications
Hi all,
I am a software engineer with around 2.7 years of experience. I had to work on a non technical repetitive task for like a year and the rest of the time I was either working on a project making small changes or I was on the bench.
I recently got into Django and my question is how do people self learn. Let's say I watch a tutorial but I'm always stuck when I start to make a self project. Without the guidance of someone how do I know what are the best practices. Also when working on a client project one has access to paid services that they need to integrate. How do I get the same learning curve while working on personal projects?
I would really appreciate some tips from people who self learned the django on how they approach a project. Or any suggestions on becoming a good programmer even if they're not related to Django. Please be kind 🙏
Tldr: I guess what I'm looking for is how do people who self learn become pro in a language and how do they keep themselves up to dated.
/r/django
https://redd.it/1imc9y5
Hi all,
I am a software engineer with around 2.7 years of experience. I had to work on a non technical repetitive task for like a year and the rest of the time I was either working on a project making small changes or I was on the bench.
I recently got into Django and my question is how do people self learn. Let's say I watch a tutorial but I'm always stuck when I start to make a self project. Without the guidance of someone how do I know what are the best practices. Also when working on a client project one has access to paid services that they need to integrate. How do I get the same learning curve while working on personal projects?
I would really appreciate some tips from people who self learned the django on how they approach a project. Or any suggestions on becoming a good programmer even if they're not related to Django. Please be kind 🙏
Tldr: I guess what I'm looking for is how do people who self learn become pro in a language and how do they keep themselves up to dated.
/r/django
https://redd.it/1imc9y5
Reddit
From the django community on Reddit
Explore this post and more from the django community
Inherit from "dict" or "UserDict"?
I'm working on a project where we need to integrate a dictionary with a ttk.Treeview. The easiest approach would have been to handle data and visualization separately, but due to project requirements, we opted for a combined structure where both are tightly linked.
The idea is straightforward in theory: any change to the dictionary should be reflected in the Treeview, and any modification in the Treeview should update the dictionary. To achieve this, we're implementing the most efficient communication path between the data structure and its visualization within a single class.
Our initial plan was to intercept accesses using __getitem__, __setitem__, and __delitem__ by inheriting directly from "dict". However, a teammate suggested we should use "UserDict" from "collections" instead. We did a quick switch with the little code we have so far, and in practice, both approaches seem to work exactly the same.
That said, how can we be sure which one is the better choice for extending dictionary functionality?
This has sparked some minor disagreements in our team. ChatGPT leans towards "UserDict", but some of us prefer minimizing intermediaries to ensure efficiency stays "bare-metal," if you know what I mean.
/r/Python
https://redd.it/1imhrqa
I'm working on a project where we need to integrate a dictionary with a ttk.Treeview. The easiest approach would have been to handle data and visualization separately, but due to project requirements, we opted for a combined structure where both are tightly linked.
The idea is straightforward in theory: any change to the dictionary should be reflected in the Treeview, and any modification in the Treeview should update the dictionary. To achieve this, we're implementing the most efficient communication path between the data structure and its visualization within a single class.
Our initial plan was to intercept accesses using __getitem__, __setitem__, and __delitem__ by inheriting directly from "dict". However, a teammate suggested we should use "UserDict" from "collections" instead. We did a quick switch with the little code we have so far, and in practice, both approaches seem to work exactly the same.
That said, how can we be sure which one is the better choice for extending dictionary functionality?
This has sparked some minor disagreements in our team. ChatGPT leans towards "UserDict", but some of us prefer minimizing intermediaries to ensure efficiency stays "bare-metal," if you know what I mean.
/r/Python
https://redd.it/1imhrqa
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
The Hidden Bias of Alembic and Django Migrations (and when to consider alternatives)
Hey all,
My name is Rotem, I'm one of the creators of [Atlas](https://atlasgo.io), a database schema-as-code tool. You can find us on [GitHub](https://github.com/ariga/atlas).
I recently wrote a blog post covering cases where you might want to consider an alternative to Alembic or Django migrations for your schema changes.
Don't get me wrong - alembic and Django migrations are great tools - among the best in the industry - if you are using them successfully, you should probably keep at it :-)
However, over the years, I've come to realize that these tools, having been built to fit the use case of serving an ORM, have biases that might hinder your project.
In case you are interested, you can [find the blog post here](https://atlasgo.io/blog/2025/02/10/the-hidden-bias-alembic-django-migrations?utm_source=reddit&utm_medium=post&utm_campaign=python).
Atlas has two capabilities that enable it to work very well inside ORM codebases, `external_schema` and `composite_schema`. Atlas has ORM integration plugins called "providers" that allow it to read the desired schema of the database from your ORM code, you can then use it like:
data "external_schema" "sqlalchemy" {
program = [
"atlas-provider-sqlalchemy",
/r/Python
https://redd.it/1im66lu
Hey all,
My name is Rotem, I'm one of the creators of [Atlas](https://atlasgo.io), a database schema-as-code tool. You can find us on [GitHub](https://github.com/ariga/atlas).
I recently wrote a blog post covering cases where you might want to consider an alternative to Alembic or Django migrations for your schema changes.
Don't get me wrong - alembic and Django migrations are great tools - among the best in the industry - if you are using them successfully, you should probably keep at it :-)
However, over the years, I've come to realize that these tools, having been built to fit the use case of serving an ORM, have biases that might hinder your project.
In case you are interested, you can [find the blog post here](https://atlasgo.io/blog/2025/02/10/the-hidden-bias-alembic-django-migrations?utm_source=reddit&utm_medium=post&utm_campaign=python).
Atlas has two capabilities that enable it to work very well inside ORM codebases, `external_schema` and `composite_schema`. Atlas has ORM integration plugins called "providers" that allow it to read the desired schema of the database from your ORM code, you can then use it like:
data "external_schema" "sqlalchemy" {
program = [
"atlas-provider-sqlalchemy",
/r/Python
https://redd.it/1im66lu
atlasgo.io
Atlas is a language-agnostic tool for managing and migrating database schemas using modern DevOps principles. It enables developers to automate schema changes through both declarative (schema-as-code) and versioned migration workflows, supporting inputs like…
Someone talk me down from using Yamale
...or push me over the edge; whichever. So I've been looking into YAML schema validators that can handle complex yaml files like, for example, the `ci.yml` file that configures GitHub actions.
The combined internet wisdom from searching google and conferring with Gemini and Claude 3.5 is to use `jsonschema.validate`. But that seems, IDK, like just wrong to the core. Besides aren't there a few things that you can do in .yml files that you can't in .json?
After some scrolling, I came across Yamale, which looks pretty awesome albeit underrated. I like the `includes` and 'recursions', but I have a few things about it that make me hesitate:
\- Is a really as popular as PyPy makes it seem (2M monthly dowloads)? When I search specifically for use cases and questions about it on SO, 🦗. Same here on Reddit. Maybe everyone using it is so happy and it works so well as to be invisible. Or maybe that "2M monthly downloads" means nothing?
\- Is it going to be around and supported much longer? From the GH repo
/r/Python
https://redd.it/1imc4we
...or push me over the edge; whichever. So I've been looking into YAML schema validators that can handle complex yaml files like, for example, the `ci.yml` file that configures GitHub actions.
The combined internet wisdom from searching google and conferring with Gemini and Claude 3.5 is to use `jsonschema.validate`. But that seems, IDK, like just wrong to the core. Besides aren't there a few things that you can do in .yml files that you can't in .json?
After some scrolling, I came across Yamale, which looks pretty awesome albeit underrated. I like the `includes` and 'recursions', but I have a few things about it that make me hesitate:
\- Is a really as popular as PyPy makes it seem (2M monthly dowloads)? When I search specifically for use cases and questions about it on SO, 🦗. Same here on Reddit. Maybe everyone using it is so happy and it works so well as to be invisible. Or maybe that "2M monthly downloads" means nothing?
\- Is it going to be around and supported much longer? From the GH repo
/r/Python
https://redd.it/1imc4we
Reddit
From the Python community on Reddit: Someone talk me down from using Yamale
Explore this post and more from the Python community
Controlling mouse with hand gesture. What are your thoughts.!
https://www.reddit.com/r/PythonProjects2/comments/1imvsya/lets\_talk\_about\_python\_opencv/
\#python #opencv
/r/Python
https://redd.it/1imwemv
https://www.reddit.com/r/PythonProjects2/comments/1imvsya/lets\_talk\_about\_python\_opencv/
\#python #opencv
/r/Python
https://redd.it/1imwemv
Reddit
From the PythonProjects2 community on Reddit: lets talk about #python #OpenCV
Explore this post and more from the PythonProjects2 community
Coursera Guided Project: Build a Data Science Web App with Streamlit and Python
Hi there, everyone! Does anyone have the Colab or Jupyter Python code for this Coursera guided project? If so, please share it in the comments or message me. Thanks in advance!
/r/Python
https://redd.it/1imh7nw
Hi there, everyone! Does anyone have the Colab or Jupyter Python code for this Coursera guided project? If so, please share it in the comments or message me. Thanks in advance!
/r/Python
https://redd.it/1imh7nw
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Boolean search query generator
I’m working on a project where I generate Boolean queries using an LLM (like ChatGPT), but I need to ensure that the generated queries are valid based on the data in my database. If certain terms in the query don’t exist in the database, I need to automatically remove or modify them.
For example:
LLM-Generated Query: ("iPhone 14" OR "Samsung Galaxy S22") AND ("128GB" OR "256GB") AND ("Red" OR "Blue")
Database Check:
My DB has entries for "iPhone 14" and "Samsung Galaxy S22".
It only has "128GB" as a storage option (no "256GB").
For colors, only "Red" is available (no "Blue").
Modified Query (after DB validation): ("iPhone 14" OR "Samsung Galaxy S22") AND "128GB" AND "Red"
How to efficiently verify and modify these Boolean queries based on the DB contents? Are there existing libraries or tools that could help streamline this process?
Keep in mind that I can only use one llm cal for this purpose.
/r/Python
https://redd.it/1in2fbu
I’m working on a project where I generate Boolean queries using an LLM (like ChatGPT), but I need to ensure that the generated queries are valid based on the data in my database. If certain terms in the query don’t exist in the database, I need to automatically remove or modify them.
For example:
LLM-Generated Query: ("iPhone 14" OR "Samsung Galaxy S22") AND ("128GB" OR "256GB") AND ("Red" OR "Blue")
Database Check:
My DB has entries for "iPhone 14" and "Samsung Galaxy S22".
It only has "128GB" as a storage option (no "256GB").
For colors, only "Red" is available (no "Blue").
Modified Query (after DB validation): ("iPhone 14" OR "Samsung Galaxy S22") AND "128GB" AND "Red"
How to efficiently verify and modify these Boolean queries based on the DB contents? Are there existing libraries or tools that could help streamline this process?
Keep in mind that I can only use one llm cal for this purpose.
/r/Python
https://redd.it/1in2fbu
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Open-source AI influencer in Python
* **What My Project Does** – Open-source project to create a virtual AI influencer in Python
* **Target Audience** – Developers
* **Comparison** – Built on top of free to use open-source technologies
Link to project :- [https://github.com/SamurAIGPT/Ai-Influencer/](https://github.com/SamurAIGPT/Ai-Influencer/)
/r/Python
https://redd.it/1in0zhc
* **What My Project Does** – Open-source project to create a virtual AI influencer in Python
* **Target Audience** – Developers
* **Comparison** – Built on top of free to use open-source technologies
Link to project :- [https://github.com/SamurAIGPT/Ai-Influencer/](https://github.com/SamurAIGPT/Ai-Influencer/)
/r/Python
https://redd.it/1in0zhc
GitHub
GitHub - SamurAIGPT/AI-Influencer: Create and customize your AI influencer open-source
Create and customize your AI influencer open-source - SamurAIGPT/AI-Influencer
Dockerize a Django App
I need help. I want to deploy a project that I've been working with. It's fairly simple, here's the repo: https://github.com/gabrielpistore/SiGOS-UFCAT. I've been thinking about using docker. Anyone could give me some advices on how should I do it.
/r/django
https://redd.it/1imvnfk
I need help. I want to deploy a project that I've been working with. It's fairly simple, here's the repo: https://github.com/gabrielpistore/SiGOS-UFCAT. I've been thinking about using docker. Anyone could give me some advices on how should I do it.
/r/django
https://redd.it/1imvnfk
GitHub
GitHub - gabrielpistore/SiGOS-UFCAT
Contribute to gabrielpistore/SiGOS-UFCAT development by creating an account on GitHub.
Plutus Is a Command Line Income and Expense Tracker
Hi,
Plutus helps you quickly analyze your income and expenses from the command line using a single CSV file as your data source.
Source code
[https://github.com/nickjj/plutus](https://github.com/nickjj/plutus)
Documentation / demo video
The repo has as extensive readme file
A demo video is on [YouTube ](https://www.youtube.com/watch?v=mwVnKbne9v4)(no ads) and is also linked in the readme
Target audience / why
You can use this to help with budgeting or getting your numbers in order for filing taxes.
You just want to keep track of your income from a few sources, separate out personal / business expenses and keep tabs on how much you paid in taxes. You want to get your numbers and move on with life.
Features and benefits
A single CSV data source
Have peace of mind it won't get corrupted from a tool upgrade
Easily trackable in git
Pipe its output to other tools
View it in any spreadsheet tool if you want ad hoc visualizations
Friendly towards sending it to an accountant
Categories and subcategories are unrestricted along with being easy to change later
A category is just text in a specific CSV column
Flexible report generating with a
/r/Python
https://redd.it/1imydyo
Hi,
Plutus helps you quickly analyze your income and expenses from the command line using a single CSV file as your data source.
Source code
[https://github.com/nickjj/plutus](https://github.com/nickjj/plutus)
Documentation / demo video
The repo has as extensive readme file
A demo video is on [YouTube ](https://www.youtube.com/watch?v=mwVnKbne9v4)(no ads) and is also linked in the readme
Target audience / why
You can use this to help with budgeting or getting your numbers in order for filing taxes.
You just want to keep track of your income from a few sources, separate out personal / business expenses and keep tabs on how much you paid in taxes. You want to get your numbers and move on with life.
Features and benefits
A single CSV data source
Have peace of mind it won't get corrupted from a tool upgrade
Easily trackable in git
Pipe its output to other tools
View it in any spreadsheet tool if you want ad hoc visualizations
Friendly towards sending it to an accountant
Categories and subcategories are unrestricted along with being easy to change later
A category is just text in a specific CSV column
Flexible report generating with a
/r/Python
https://redd.it/1imydyo
GitHub
GitHub - nickjj/plutus: A CLI tool for income and expense tracking.
A CLI tool for income and expense tracking. Contribute to nickjj/plutus development by creating an account on GitHub.
D What happened to SSMs and linear attentions?
Someone who is upto date with this area of research can summarize what is current state of SSMs and softmax attention alternatives? Are they used in cusomer focused models yet or are still in research? Does their promise only appears to be in benchmarks on a paper? or are the hardware accelerators have etched the attention so that it is fully juiced up and using SSMs or linear attention alternatives only provide marginal gains which does appeal with the level of complexity in them?
/r/MachineLearning
https://redd.it/1in9y30
Someone who is upto date with this area of research can summarize what is current state of SSMs and softmax attention alternatives? Are they used in cusomer focused models yet or are still in research? Does their promise only appears to be in benchmarks on a paper? or are the hardware accelerators have etched the attention so that it is fully juiced up and using SSMs or linear attention alternatives only provide marginal gains which does appeal with the level of complexity in them?
/r/MachineLearning
https://redd.it/1in9y30
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Wednesday Daily Thread: Beginner questions
# Weekly Thread: Beginner Questions 🐍
Welcome to our Beginner Questions thread! Whether you're new to Python or just looking to clarify some basics, this is the thread for you.
## How it Works:
1. Ask Anything: Feel free to ask any Python-related question. There are no bad questions here!
2. Community Support: Get answers and advice from the community.
3. Resource Sharing: Discover tutorials, articles, and beginner-friendly resources.
## Guidelines:
This thread is specifically for beginner questions. For more advanced queries, check out our [Advanced Questions Thread](#advanced-questions-thread-link).
## Recommended Resources:
If you don't receive a response, consider exploring r/LearnPython or join the Python Discord Server for quicker assistance.
## Example Questions:
1. What is the difference between a list and a tuple?
2. How do I read a CSV file in Python?
3. What are Python decorators and how do I use them?
4. How do I install a Python package using pip?
5. What is a virtual environment and why should I use one?
Let's help each other learn Python! 🌟
/r/Python
https://redd.it/1indhda
# Weekly Thread: Beginner Questions 🐍
Welcome to our Beginner Questions thread! Whether you're new to Python or just looking to clarify some basics, this is the thread for you.
## How it Works:
1. Ask Anything: Feel free to ask any Python-related question. There are no bad questions here!
2. Community Support: Get answers and advice from the community.
3. Resource Sharing: Discover tutorials, articles, and beginner-friendly resources.
## Guidelines:
This thread is specifically for beginner questions. For more advanced queries, check out our [Advanced Questions Thread](#advanced-questions-thread-link).
## Recommended Resources:
If you don't receive a response, consider exploring r/LearnPython or join the Python Discord Server for quicker assistance.
## Example Questions:
1. What is the difference between a list and a tuple?
2. How do I read a CSV file in Python?
3. What are Python decorators and how do I use them?
4. How do I install a Python package using pip?
5. What is a virtual environment and why should I use one?
Let's help each other learn Python! 🌟
/r/Python
https://redd.it/1indhda
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
Preswald: A full-stack Python SDK for building and deploying interactive data apps
Hi everyone,
Preswald is a lightweight, full-stack SDK that helps you build, deploy, and manage interactive data applications. all with minimal Python and SQL. It brings together data ingestion, storage, transformation, and visualization into one simple framework.
Source Code: https://github.com/StructuredLabs/preswald
Slack: Community
Features:Target Audience / Why Use It:
Build apps with minimal Python/SQL.
Handle ingestion, ETL, and visualization in one SDK.
Connect to CSV, JSON, Parquet, or SQL databases easily.
Customize your app’s look with simple tweaks in
Deploy locally or to Google Cloud Run with one command.
Lightweight and simple, no need for a huge data stack.
If you’re tired of juggling tools to get simple data apps up and running, this might make life easier. It’s good for quick internal tools, dashboards, or just experimenting with data.
/r/Python
https://redd.it/1ind8kn
Hi everyone,
Preswald is a lightweight, full-stack SDK that helps you build, deploy, and manage interactive data applications. all with minimal Python and SQL. It brings together data ingestion, storage, transformation, and visualization into one simple framework.
Source Code: https://github.com/StructuredLabs/preswald
Slack: Community
Features:Target Audience / Why Use It:
Build apps with minimal Python/SQL.
Handle ingestion, ETL, and visualization in one SDK.
Connect to CSV, JSON, Parquet, or SQL databases easily.
Customize your app’s look with simple tweaks in
preswald.toml.Deploy locally or to Google Cloud Run with one command.
Lightweight and simple, no need for a huge data stack.
If you’re tired of juggling tools to get simple data apps up and running, this might make life easier. It’s good for quick internal tools, dashboards, or just experimenting with data.
/r/Python
https://redd.it/1ind8kn
GitHub
GitHub - StructuredLabs/preswald: Preswald is a WASM packager for Python-based interactive data apps: bundle full complex data…
Preswald is a WASM packager for Python-based interactive data apps: bundle full complex data workflows, particularly visualizations, into single files, runnable completely in-browser, using Pyodide...