[Question] How to do versioning and packaging elegantly?: https://www.reddit.com/r/Python/comments/7s5cqg/question_how_to_do_versioning_and_packaging/
reddit
[Question] How to do versioning and packaging elegantly? • r/Python
Getting started in Python and looking for the canonical way to handle releases / versioning. I assume that my requirements are pretty standard: ...
Shutdown dask workers from client or scheduler: https://stackoverflow.com/questions/48305758/shutdown-dask-workers-from-client-or-scheduler
Stackoverflow
Shutdown dask workers from client or scheduler
In the API, there is a way to restart all workers and to shutdown the client completely, but I see no way to stop all workers while keeping the client unchanged. Is there a way to do this that I ca...
Question regarding Flask vs Serverless: https://www.reddit.com/r/Python/comments/7s6310/question_regarding_flask_vs_serverless/
reddit
Question regarding Flask vs Serverless • r/Python
Hey r/python, I'm very curious as to why the majority of posts concerning hosting your own websites and api are focusing on Flask or something...
Dependency Injector 3.10.0 has been released!: https://www.reddit.com/r/Python/comments/7s66us/dependency_injector_3100_has_been_released/
reddit
Dependency Injector 3.10.0 has been released! • r/Python
[Dependency Injector](https://github.com/ets-labs/python-dependency-injector) 3.10.0 has been released! **Changelog** - Add...
Python SQL queries with GPU: https://www.reddit.com/r/Python/comments/7s64ol/python_sql_queries_with_gpu/
reddit
Python SQL queries with GPU • r/Python
Hello! I've been studying Python for the last weeks and I'm trying to implement a way to use Python to improve SQL queries using the GPU (CUDA). I...
How to properly close mysql connections in sqlalchemy?: https://stackoverflow.com/questions/48213032/how-to-properly-close-mysql-connections-in-sqlalchemy
Stack Overflow
How to properly close mysql connections in sqlalchemy?
I would like to know what is proper way to close all mysql connections in sqlalchemy.
For the context, it is a Flask application and all the views share the same session object.
engine = create_...
For the context, it is a Flask application and all the views share the same session object.
engine = create_...
Real user with telegram api in python?: https://www.reddit.com/r/Python/comments/7s6r6k/real_user_with_telegram_api_in_python/
reddit
Real user with telegram api in python? • r/Python
I understand how to create telegram bots but I would like to use a real user with telegram in python. how should I approach this?
aiocrypto_prices - asyncio library for fetching cryptocurrency prices: https://www.reddit.com/r/Python/comments/7s6qpz/aiocrypto_prices_asyncio_library_for_fetching/
reddit
aiocrypto_prices - asyncio library for fetching... • r/Python
Hi, yesterday I threw together something for my use and I thought maybe others might like it too and decided to make a lib out of it. It's meant...
Looking for an interesting data set. I'm building a demo web app for a potential employer using Flask, Pandas, and Google BigQuery: https://www.reddit.com/r/Python/comments/7s7c2k/looking_for_an_interesting_data_set_im_building_a/
reddit
Looking for an interesting data set. I'm building a... • r/Python
Hello, TLDR: I'm looking for a data set, but I'm struggling to come up with an interesting data set, and I'm hoping I can crowdsource some...
Why does Python allocate memory dynamically, even for object types such as int (Python equivalent of primitive data types), and not statically (ie at the start of the program)?: https://www.reddit.com/r/Python/comments/7s7ejx/why_does_python_allocate_memory_dynamically_even/
reddit
Why does Python allocate memory dynamically, even for... • r/Python
1 points and 1 comments so far on reddit
Trying to figure out processing time might take on large dataset from code ran on sample dataset length: https://www.reddit.com/r/Python/comments/7s7gpu/trying_to_figure_out_processing_time_might_take/
reddit
Trying to figure out processing time might take on... • r/Python
This is the code snippet I used to find the time taken for the function to run on a dataframe of length 10. t0 = time.time() for n, value in...
Alembic migrate with existing SQLAlchemy engine: https://stackoverflow.com/questions/48350091/alembic-migrate-with-existing-sqlalchemy-engine
Stackoverflow
Alembic migrate with existing SQLAlchemy engine
I have a certain SQLAlchemy declarative Base that I create on a sqlite memory DB:
engine = create_engine('sqlite:///:memory:')
Base.metadata.create_all(engine)
With this I have my tables on the D...
engine = create_engine('sqlite:///:memory:')
Base.metadata.create_all(engine)
With this I have my tables on the D...
Algorithms and data structures challenges: https://www.reddit.com/r/Python/comments/7s7t8e/algorithms_and_data_structures_challenges/
reddit
Algorithms and data structures challenges • r/Python
I had algorithms and data structures class previous school year and want to brush up my knowledge(+ improve it) with some challenges, preferably...
Draw distance contours in low dimension representation in python: https://stackoverflow.com/questions/48332964/draw-distance-contours-in-low-dimension-representation-in-python
Stack Overflow
Draw distance contours in low dimension representation in python
I have a set of n_samples data points. Each data point has n_features (of the order of hundreds or thousands of features). I use K-Means clustering and Euclidean distance to cluster the points into
Count number of objects by date in daterange: https://stackoverflow.com/questions/48297178/count-number-of-objects-by-date-in-daterange
Stackoverflow
Count number of objects by date in daterange
In a Django project, I have these simplified models defined:
class People(models.Model):
name = models.CharField(max_length=96)
class Event(models.Model):
name = models.CharField(verbose...
class People(models.Model):
name = models.CharField(max_length=96)
class Event(models.Model):
name = models.CharField(verbose...