setuptools
Python-docker
Our great sponsors
setuptools | Python-docker | |
---|---|---|
21 | 17 | |
2,305 | 2,456 | |
2.2% | 1.4% | |
9.9 | 8.3 | |
5 days ago | 14 days ago | |
Python | Shell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
setuptools
-
My User Experience Porting Off Setup.py
To be fair, that seems to have been a 2 year warning:
https://github.com/pypa/setuptools/commit/3544de73b3662a27fa...
-
Python 3.12.0 from a supply chain security perspective
There was/is some discussion in setuptools about how to normalize the tarball (https://github.com/pypa/setuptools/issues/2133#issuecomment-...) coudl something similar be applied to Building Python itself ?
-
ERROR after python3.11 update
❯ yay -Sy python-setuptools python-jaraco.text ❯ pip show setuptools Name: setuptools Version: 67.7.0 Summary: Easily download, build, install, upgrade, and uninstall Python packages Home-page: https://github.com/pypa/setuptools Author: Python Packaging Authority Author-email: [email protected] License: Location: /usr/lib/python3.11/site-packages Requires: jaraco.text, more-itertools, ordered-set, packaging, platformdirs, tomli, validate-pyproject Required-by: Cerberus, fs, httpie, input-remapper, pecan, pycountry, python-lsp-server, reuse, setuptools-scm, zc.lockfile
- InvalidVersion Exception on Setuptools 66
-
PIP fails to install correctly in Ubuntu 20.04.Need help.
Link: https://github.com/pypa/setuptools/issues/3772
- If there’s gonna be a Python 4.0 one day, what’s a breaking change you’d like to see? Let’s explore the ideas you have that can make Python even better!
-
So how do you actually deploy code/scripts?
For example, when it comes to Python, one option is to use the same packaging system that a huge number of open-source libraries and tools are published with. You can use setuptools or Hatch to build a "packaged" version of your code, and publish it to either the public PyPi repository or an internal one that you set up. Then your users can use pip to install your package, automatically fetch its dependencies, and keep it up to date, just like any other Python module.
-
What’s the most convenient way for a non-programmer to run a Python code?
You could maybe make it a click Application, and use setuptools.
-
turbo encabulator compliant
Not sure how advisable it is to depend on setup.py given the setuptools team has very clearly stated that they are not interested in supporting any cli commands anymore including setup.py install. Relavant PR
- [BUG] There was an error checking the latest version of pip · Issue #3333 · pypa/setuptools
Python-docker
-
Containers Demystified 🐳🤔
This defines which image to inherit from, In this case we are using a Python image with the Python 3.11 version running on a slim version of the Bookwork version of Debian linux. Image definitions can be viewed from the DockerHub TAG link such as the python:3.11-slim-bookworm and official images like this one typically have pretty complicated definitions in order to get them highly optimized.
-
Ask HN: Why is there no major push towards Android for Servers and Desktops?
> You are going to eventually run into the same issue most people trying to use Alpine Linux just because of simplicity and being lightweight run: musl is not a completely ABI-compatible seamless replacement to glibc and might cause issue with statically linked binaries, and other annoying issues you won't foresee.
Well, if all you need is the server to run Docker/Podman, SSH and some other limited amount of packages, it shouldn't be too bad. Of course, there are also horror stories of Alpine resulting in way worse performance in select use cases: https://github.com/docker-library/python/issues/509 and there's the fact that Alpine might be popular inside of containers, but way less so outside.
Also, because of the short EOL cycle, I personally ditched Debian on servers (and Alpine in containers) myself for Ubuntu everywhere: https://blog.kronis.dev/articles/using-ubuntu-as-the-base-fo... A bit of a polarizing move (though RPM distros aren't much better at the moment), but it seems to have worked out for me in the end.
Doesn't mean that someone can't try, though, maybe their use case is suitable for Alpine.
-
What is the point of intermediate CMD layers in Docker images?
This is the actual raw Dockerfile: https://github.com/docker-library/python/blob/master/3.9/slim-bullseye/Dockerfile
-
Imaging ADO build agent with python dependencies installed
I usually cannibalize Docker Community's examples: Here
-
Why does the official Docker image of Python not create a user but the node one does?
Official Docker image of Python 3.10.5-slim
-
Installing python inside docker container
If you want Python v3.7, perhaps try FROM python:3.7 (link)
- Latest Python 3.9/3.8 images break encoding
-
Installing Python3 in Linux
Navigate into the Python directory and configure and ensure enable-optimization option is added as shown in the command below.
-
I can't run pip for the docker build
It looks like you are running into this bug: https://github.com/docker-library/python/issues/674
- We don't have any control over the signing process of Docker images we publish
What are some alternatives?
hatch - Modern, extensible Python project management
WhatsApp-Scraping - Python script to get WhatsApp iformation frrom WhatsApp Web
bottlerocket - An operating system designed for hosting containers
pymodbus - A full modbus protocol written in python
python-adblock - Brave's adblock library in Python
tensorflow_macos - TensorFlow for macOS 11.0+ accelerated using Apple's ML Compute framework.
htop - htop - an interactive process viewer
FFXIV-Craft - An FFXIV Queue Crafting System/manager
build - A simple, correct Python build frontend
ismrmrd-python - Python API for the ISMRMRD file format
hosts - 🔒 Consolidating and extending hosts files from several well-curated sources. Optionally pick extensions for porn, social media, and other categories.
simple_to-do_list - A simple to do list application for your desktop.