dusko + python   101

modoboa - Mail hosting made simple
Modoboa is a mail hosting and management platform including a modern and simplified Web User Interface. It provides useful components such as an administration panel or a webmail.
mailserver  postfix  dovecot  mysql  mariadb  python  sysadmin 
9 days ago by dusko
zedenv ZFS Boot Environment Manager
I just finished the first alpha release of zedenv, ZFS Boot Environment Manager for FreeBSD and Linux. I created the project because I enjoyed having the use of a boot environment manager while using my FreeBSD servers, and missed having access to one when I was on Linux. zedenv works similarly to the FreeBSD beadm, which is in turn based on the Solaris beadm.

zedenv is written completely in Python 3, and is is open source and licensed under the BSD-3-Clause License. If anyone would like to contribute, the code is available on GitHub.
----

Boot Environments

To skip ahead to creating a boot environment, see the next section

First of all, for anyone not familiar with the idea, what does a boot environment manager do? Boot environments are basically a way to have a snapshot of a system, so that changes to a system can be made without having the fear of bringing the system into an unusable state. It’s not a new idea, and they’ve been used on Solaris, FreeBSD, and to some extent on Linux, however not to the amount they have been used on the prior two systems.
sysadmin  zfs  snapshot  python 
9 days ago by dusko
MkDocs - Project documentation with Markdown.
MkDocs is a fast, simple and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.
markdown  staticsitegenerator  documentation  python 
14 days ago by dusko
Our Lessons - Software Carrpentry Workshopw
A Software Carpentry workshop is taught by two trained and badged instructors. Over two days, they teach our three core topics: the Unix shell, version control with Git, and a programming language (Python or R). Curricula for these lessons in English and Spanish (select lessons only) are below.

Lessons:
- The Unix Shell
- Version Control with Git
- Programming with Python
- Plotting and Programming with R
- R for Reproducible Scientific Analysis
coding  programming  data  learning  tutorial  versioncontrol  shell  unix  python  diagram 
29 days ago by dusko
PyRoom - distraction free writing
Just you and your thoughts

Writing prose in a world as busy as the online world can be hard. Instant messengers, busy websites and other distractions can always get into your way when all you want to do is write.
Enter PyRoom

PyRoom is a free editor that stays out your way - and keeps other things out of your way, too. As a fullscreen editor without buttons, widgets, formatting options, menus and with only the minimum of required dialog windows, it doesn't have any distractions and lets you focus on writing and only writing. It is distributed under the GNU General Public Licence v3.
editor  writing  plaintext  python  terminal  shell  cli 
4 weeks ago by dusko
ttsiodras/utils: Short shell/perl/python utils I wrote that I use every day
Shell / perl / python scripts that I wrote and use on a daily basis - i.e. my own dogfood :-).
script  shell  unix  python  perl 
4 weeks ago by dusko
Economics Nobel laureate Paul Romer is a Python programming convert
Romer believes that open-source notebooks are the way forward for sharing research. He believes they support integrity, while proprietary software encourage secrecy. “The more I learn about proprietary software, the more I worry that objective truth might perish from the earth,” he wrote.
python  coding  programming  opensource  data 
5 weeks ago by dusko
Sitarba is a simple backup tool to create full, differential or incremental tarballs
Sitarba is a simple backup tool to create full, differential or incremental tarballs of given file sets. Each backup belongs to an epoch (e.g. hour, day, week, month, year). Sitarba keeps for every epoch a configured number of backups.

Features:

Full, differential and incremental backups.
Restoring backups using tar. Afraid that backup creation did not work as expected? – Just have a look into the tarball!
Cronjob friendly: automated decision on mode and epoch when creating backups and automatically pruning old backups. No need to manually decide which backup is to be pruned.
User defined epochs to, e.g., to run a backup every other hour or on a biweekly basis.
Exclude patterns for tar (globally, per file set, per epoch).

I use sitarba on my notebook in two ways:

I create a backup every week (differentially), every month (full) and every year of my notebook to an external USB hard drive.

Using a shell script, which is called by cron, and sshfs I create every hour (incrementally), every day (differentially) and every week (full) a backup of parts of my home directory that are stored on my office computer. In particular, for the hourly backups the thunderbird directory is excluded, as the mails reside on IMAP servers anyhow.

Usage
backup  shell  cli  python  sysadmin 
6 weeks ago by dusko
PyX - Python graphics package
PyX is a Python package for the creation of PostScript, PDF, and SVG files. It combines an abstraction of the PostScript drawing model with a TeX/LaTeX interface. Complex tasks like 2d and 3d plots in publication-ready quality are built out of these primitives.
tex  latex  diagram  graph  svg  python  documentation 
7 weeks ago by dusko
Jazzband - a collaborative community to share the responsibility of maintaining Python-based projects
Jazzband is a collaborative community to share the responsibility of maintaining Python-based projects.

It gives maintainers and contributors the ability to “play in the same band” instead of being forced into “artist” and “audience” roles
python 
7 weeks ago by dusko
Tool recommendations - Python Packaging User Guide
Tool recommendations

If you’re familiar with Python packaging and installation, and just want to know what tools are currently recommended, then here it is.
python 
7 weeks ago by dusko
aafigure -- ASCII art figures can be parsed and output as SVG, PNG, JPEG, PDF and more
ASCII art figures can be parsed and output as SVG, PNG, JPEG, PDF and more. This project provides a python package and a command line script.

This project provides a python package and a command line script.

Manual:
https://aafigure.readthedocs.io/en/latest/
ascii  diagram  graph  documentation  python  svg  pdf 
7 weeks ago by dusko
ASCII Tables (astropy.io.ascii)
astropy.io.ascii provides methods for reading and writing a wide range of ASCII data table formats via built-in Extension Reader classes. The emphasis is on flexibility and ease of use, although readers can optionally use a less flexible C/Cython engine for reading and writing for improved performance.

The following shows a few of the ASCII formats that are available, while the section on Supported formats contains the full list.

Basic: basic table with customizable delimiters and header configurations
Cds: CDS format table (also Vizier and ApJ machine readable tables)
Daophot: table from the IRAF DAOphot package
Ecsv: ECSV format for lossless round-trip of data tables
FixedWidth: table with fixed-width columns (see also Fixed-width Gallery)
Ipac: IPAC format table
HTML: HTML format table contained in a <table> tag
Latex: LaTeX table with datavalue in the tabular environment
Rdb: tab-separated values with an extra line after the column definition line
SExtractor: SExtractor format table
ascii  csv  tsv  python  data  dataanalysis  plaintext 
april 2018 by dusko
Astropy - Python Datamining for Astronomy
The Astropy Project is a community effort to develop a core package for astronomy using the Python programming language and improve usability, interoperability, and collaboration between astronomy Python packages. The core astropy package contains functionality aimed at professional astronomers and astrophysicists, but may be useful to anyone developing astronomy software. The Astropy Project also includes "affiliated packages," Python packages that are not necessarily developed by the core development team, but share the goals of Astropy, and often build from the core package's code and infrastructure.
python  data 
april 2018 by dusko
Asciitable — asciitable 0.8.0 documentation
Generate output in tabular form (in a number of formats) as well as parsing data presented in that form and converting it to, for instance, a list of lists.
====

Warning

This package is no longer being developed.

The asciitable package has been moved into the Astropy project and is now known as astropy.io.ascii. This new version is very compatible with asciitable and most existing code should work.

The astropy.io.ascii package is being actively developed and contains many new features and bug fixes relative to asciitable. Users are strongly encouraged to migrate to astropy.io.ascii. If you have any questions or problems please send mail to the AstroPy mailing list (astropy@scipy.org).
python  plaintext  ascii 
april 2018 by dusko
Beautiful Soup
Beautiful Soup is a Python library designed for quick turnaround projects like screen-scraping.
python 
december 2017 by dusko
Backup and Recovery with Native OS Tools
* Linux Complete Backup and Recovery HOWTO - Charles Curley
http://www.tldp.org/HOWTO/pdf/Linux-Complete-Backup-and-Recovery-HOWTO.pdf

* Linux Complete Backup and Recovery HOWTO - Charles Curley
http://www.tldp.org/HOWTO/Linux-Complete-Backup-and-Recovery-HOWTO/index.html

* Chapter 8. Backup and Restore Procedures - Charles Curley
http://www.tldp.org/LDP/lame/LAME/linux-admin-made-easy/backup-and-restore.html

* Linux / UNIX Tar Full and Incremental Tape Backup Shell Script
https://bash.cyberciti.biz/backup/tar-full-incremental-tape-backup-script/

* Full System Backup with rsync - ArchWiki
http://wiki.archlinux.org/index.php/Full_System_Backup_with_rsync
backup

* FreeBSD - Backup Basics
https://www.freebsd.org/doc/handbook/backup-basics.html

* FreeBSD UFS/ZFS Snapshot Management Environment
https://people.freebsd.org/~rse/snapshot/

* Howto: Backup and restore your system! (Ubuntu forums)
https://ubuntuforums.org/showthread.php?t=35087

* Bare Metal Recovery by Charles Curley
http://www.linuxjournal.com/article/4175

* Creating a clone of current server
http://www.softpanorama.org/Commercial_linuxes/RHEL/creating_a_clone_of_current_server.shtml

* Cloning a server in RHEL 4
https://community.hpe.com/t5/General/Cloning-a-server-in-RHEL-4/td-p/3934548

* Copying config files from one RHEL server to another
http://www.softpanorama.org/Commercial_linuxes/RHEL/Installation/copying_config_files_to_a_new_server.shtml

* Cloning Hard Drives with GNU/Linux
https://www.netadmintools.com/art165.html

* DAR -- Disk ARchive
http://dar.sourceforge.net

* tar -- Unix Tape Archiver
http://www.softpanorama.org/Tools/tar.shtml

* Tar options for bare metal recovery
http://www.softpanorama.org/Admin/Backup/tar_options_for_bare_metal_recovery.shtml

* Easy Automated Snapshot-Style Backups with Linux and Rsync
http://www.mikerubel.org/computers/rsync_snapshots/
https://web.archive.org/web/20171025184011/http://www.mikerubel.org/computers/rsync_snapshots/

* How To Backup Your Entire Linux System Using Rsync
https://www.ostechnix.com/backup-entire-linux-system-using-rsync/

* Rsnapshot
http://www.softpanorama.org/Admin/Backup/rsnapshot.shtml

* Clonezilla
http://www.softpanorama.org/Admin/Backup/Cloning/clonezilla.shtml

* rclone - rsync for cloud storage and local filesystem
https://rclone.org

* Disk and Partition Backup and Cloning
http://www.softpanorama.org/Unixification/disk_backup.shtml

* Cloning systems, disks and partitions
http://www.softpanorama.org/Admin/Backup/Cloning/index.shtml

* Cloning parition table on a new disk
http://www.softpanorama.org/Admin/Backup/Cloning/cloning_of_partition_table_on_a_new_disk.shtml

* BackInTime
http://backintime.le-web.org/

* TimeShift - functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS.
http://www.teejeetech.in/p/timeshift.html
https://launchpad.net/timeshift

* SUSE Backup and Restore
http://www.softpanorama.org/Commercial_linuxes/Suse/Backup/index.shtml

* Usage of Knoppix with Partimage
http://www.softpanorama.org/Freenix/knoppix.shtml

* Solaris Backup/Restore
http://www.softpanorama.org/Solaris/Backup/index.shtml

* Solaris snapshots
http://www.softpanorama.org/Solaris/Disks_and_filesystems/solaris_snapshots.shtml

* Usage of Relax-and-Recover on RHEL
http://www.softpanorama.org/Admin/Backup/Relax_and_restore/index.shtml

* GNU tar: an archiver tool
http://www.softpanorama.org/Tools/Tar/tar_tutorial.shtml#SEC93

* cpio command
http://www.softpanorama.org/Tools/cpio.shtml

* Cloning harddrives and partitions using dd
http://www.softpanorama.org/Tools/DD/cloning_hardrives_using_dd.shtml

* DD Command
http://www.softpanorama.org/Tools/dd.shtml

* GNU ddrescue
http://www.softpanorama.org/Commercial_linuxes/Backup/ddrescue.shtml

* Linux LVM-based Snapshots
http://www.softpanorama.org/Internals/Unix_filesystems/snapshots.shtml

* Recovery of LVM partitions
http://www.softpanorama.org/Commercial_linuxes/LVM/recovery_of_lvm_partitions.shtml

* Back Up (And Restore) LVM Partitions With LVM Snapshots
https://www.howtoforge.com/linux_lvm_snapshots

* Perl and Shell Backup Scripts
http://www.softpanorama.org/Admin/Backup/perl_backup_scripts.shtml

* luckyBackup - a powerful, fast and reliable backup and sync tool
http://luckybackup.sourceforge.net/index.html

* rotate-backups
https://pypi.python.org/pypi/rotate-backups

* bash-backup-rotation-script
https://github.com/todiadiyatmo/bash-backup-rotation-script

* Shell script to mirror backups to another server in pull mode using rsync
https://bash.cyberciti.biz/backup/shell-script-to-mirror-backups-to-another-server-in-pull-mode-using-rsync/

* Continuous Archiving for Postgres
https://github.com/wal-e/wal-e

* Macrium Reflect - Free backup, disk imaging and cloning solution for personal and commercial use
https://www.macrium.com/reflectfree

* storeBackup's Top Features
Restore easily - even without storeBackup! The most important aspect of a backup tool is easy restoring from a transparent (native) storage format.
Copies / compresses files to another disk and generates backups with time stamps while saving space by recognizing files with identical contents (even if renamed or copied) and hardlinking them (so each backup is totally complete, independent and autonomous)
Detects identical files in different, independent backups (eg. of different computers)
Splits big image files (from e.g., TrueCrypt, mbox, Xen, KVM, VMware, etc.) or complete devices into small pieces and saves only differences to existing backups, thereby saving space and time
Sophisticated possibilities for including and excluding files and directories.
Support of sparse files.
Supports isolated incremental backups (e.g., when travelling with a laptop) and later integration in master backup.
Supports time shifted replication of backups to additional other disks / locations, even for complex schemes.
Supports checking of backups via md5 sums to eg. recognize bit rot of the hard disk.
Enables checking of (old) files in the source directory with md5 sums in the backup to eg. recognize bit rot of the hard disk.
Fast backups even over slow or high latency network connections.
Contains an entire suite of backup-related tools.
http://www.nongnu.org/storebackup/en/node2.html

>> storeBackup
http://storebackup.org
http://savannah.nongnu.org/projects/storebackup

>> storeBackup Documentation
http://www.nongnu.org/storebackup/en/

✭ Copy hard disk or partition image to another system using a network and netcat (nc)
http://www.cyberciti.biz/tips/howto-copy-compressed-drive-image-over-network.html

* Shell Script To Dump All MySQL Databases Every Hour To NAS Storage
https://bash.cyberciti.biz/backup/dump-all-mysql-databases/

* Back Up and Restore MySQL Server (MariaDB) Databases
http://php.about.com/od/learnmysql/ss/mysql_backup_2.htm

* MySQL Server (MaridaDB) Backups
http://www.databasejournal.com/features/mysql/article.php/3421751/MySQL-backups.htm

* MySQL Backup Bash Shell Script
https://vbtechsupport.com/528/

* Shell script to backup all db's (MySQL Server / MariaDB)
https://gist.github.com/branquito/4229640

✭ How do I clone an OpenLDAP database - Stack Overflow
http://stackoverflow.com/questions/792563/how-do-i-clone-an-openldap-database
http://stackoverflow.com/questions/792563/how-do-i-clone-an-openldap-database#2902158

* Keep a Backup of Installed Packages
You might prefer to have a clean system on reinstall but sometimes it is nice to reinstall applications from a previous machine/setup. Keeping a backup list of packages will make this a snap. Just give your package manager a list of all the packages you want it to install and let it rip.
- Here are the backup and restore methods for each of the major distros/package managers.
https://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/

----

https://www.howtoforge.com/creating-mysql-backups-with-automysqlbackup

https://www.databasejournal.com/sqletc/article.php/1584401/Synchronizing-Your-MySQL-Databases-Using-a-Free-MySQL-Admin-Tool---SQLyog.htm

https://www.howtoforge.com/mirroring_with_rsync

http://www.mezzoblue.com/archives/2005/09/22/web_server_b/index.php

http://www.onlamp.com/pub/a/onlamp/2005/06/16/MySQLian.html

https://www.experts-exchange.com/questions/26472806/How-to-do-backup-and-restore-with-rsync-on-linux.html

https://www.experts-exchange.com/questions/26626296/Backup-with-rsync-and-tar.html

http://en.community.dell.com/techcenter/virtualization/w/wiki/3048.vmware-virtual-infrastructure-test-environment

http://www.windley.com/archives/2007/08/p2v_how_to_make_a_physical_linux_box_into_a_virtual_machine.shtml
backup  linux  freebsd  sysadmin  tar  rsync  perl  snapshot  lvm  config  zfs  cli  commandline  shell  python  from notes
december 2017 by dusko
NoPriv.py - Easy IMAP Email Backup. - Raymii.org
NoPriv.py is a python script to backup any IMAP capable email account to a bowsable HTML archive and a Maildir folder. Not one huge file (mbox), only needing a web browser to view and no proprietary code, so you can make sure I won't steal your password.

https://raymii.org/s/software/Nopriv-IMAP-backup.html
backup  email  imap  python 
november 2017 by dusko
NetworkX - Software for complex networks
NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
====
Features

Data structures for graphs, digraphs, and multigraphs
Many standard graph algorithms
Network structure and analysis measures
Generators for classic graphs, random graphs, and synthetic networks
Nodes can be "anything" (e.g., text, images, XML records)
Edges can hold arbitrary data (e.g., weights, time-series)
Open source 3-clause BSD license
Well tested with over 1800 unit tests and >90% code coverage
Additional benefits from Python include fast prototyping, easy to teach, and multi-platform
python  graph 
august 2017 by dusko
Outline to Graphviz - Convert a tab-delimited outline into a Graphviz diagram
Here's a script ( http://radio.weblogs.com/0104369/stories/2004/02/17/o2g.html ) that converts a tab-delimited outline into a high quality graphviz diagram (generating dotscript and running the Graphviz tools under the hood).
python  graph 
august 2017 by dusko
IPython
IPython provides a rich architecture for interactive computing with:
* A powerful interactive shell.
* A kernel for Jupiter (https://jupyter.org/).
* Support for interactive data visualization and use of GUI toolkits (http://ipython.org/ipython-doc/stable/interactive/reference.html#gui-event-loop-support).
* Flexible, embeddable (http://ipython.org/ipython-doc/stable/interactive/reference.html#embedding-ipython) interpreters to load into your own projects.
* Easy to use, high performance tools for parallel computing (https://ipyparallel.readthedocs.io/en/latest/).
====
To get started with IPython in the Jupyter Notebook, see our official example collection (http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/Index.ipynb). Our notebook gallery (https://github.com/ipython/ipython/wiki/A-gallery-of-interesting-IPython-Notebooks) is an excellent way to see the many things you can do with IPython while learning about a variety of topics, from basic programming to advanced statistics or quantum mechanics.
====
To learn more about IPython, you can download our talks and presentations (http://ipython.org/presentation.html), or read our extensive documentation (http://ipython.org/documentation.html).
====
Jupyter and the future of IPython: IPython is a growing project, with increasingly language-agnostic components. IPython 3.x was the last monolithic release of IPython, containing the notebook server, qtconsole, etc. As of IPython 4.0, the language-agnostic parts of the project: the notebook format, message protocol, qtconsole, notebook web application, etc. have moved to new projects under the name Jupyter (https://jupyter.org/). IPython itself is focused on interactive Python, part of which is providing a Python kernel for Jupyter.
python 
july 2017 by dusko
Project Jupyter
Project Jupyter is an open source project was born out of the IPython Project (https://ipython.org/) in 2014 as it evolved to support interactive data science and scientific computing across all programming languages. Jupyter will always be 100% open source software, free for all to use and released under the liberal terms of the modified BSD license (https://opensource.org/licenses/BSD-3-Clause).
python 
july 2017 by dusko
ParaText: CSV parsing at 2.5 GB per second
A library for reading text files over multiple cores. ---- Despite extensive use of distributed databases and filesystems in data-driven workflows, there remains a persistent need to rapidly read text files on single machines. Surprisingly, most modern text file readers fail to take advantage of multi-core architectures, leaving much of the I/O bandwidth unused on high performance storage systems. Introduced here, ParaText, reads text files in parallel on a single multi-core machine to consume more of that bandwidth. The alpha release includes a parallel Comma Separated Values (CSV) reader with Python bindings. ----For almost 50 years, CSV has been the format of choice for tabular data. Given the ubiquity of CSV and the pervasive need to deal with CSV in real workflows  - where speed, accuracy, and fault tolerance is a must  - we decided to build a CSV reader that runs in parallel.
cvs  tsv  python  dataanalysis 
july 2017 by dusko
Interactive Python
Interactive Python is a project of Runestone Interactive. We host a growing number of Open Source, interactive textbooks you can use in a course. Written by award winning authors. Used by some of the best schools.
programming  python 
december 2016 by dusko
PyMOTW-3 - Python 3 Module of the Week
PyMOTW-3 is a series of articles written by Doug Hellmann (http://doughellmann.com/) to demonstrate how to use the modules of the Python 3 (http://www.python.org/) standard library. It is based on the original PyMOTW (http://pymotw.com/2/) series, which covered Python 2.7. See About Python Module of the Week (https://pymotw.com/3/about.html) for details including the version of Python and tools used.
sysadmin  programming  python 
december 2016 by dusko
PyMOTW - Python Module of the Week - Python 2
The Python Module of the Week (http://www.doughellmann.com/PyMOTW/) series, or PyMOTW, is a tour of the Python (http://www.python.org/) standard library through short examples.
sysadmin  programming  python 
december 2016 by dusko
Dive Into Python - Python from novice to pro
Dive Into Python is a free Python book for experienced programmers. It was originally hosted at DiveIntoPython.org, but the author has pulled down all copies. It is being mirrored here. You can read the book online (http://www.diveintopython.net/toc/index.html), or download it (http://www.diveintopython.net/index.html#download) in a variety of formats. It is also available in multiple languages.
sysadmin  programming  python 
november 2016 by dusko
EasyInstall - Python
PEAK (Python Enterprise Application Kt) Easy Install ---- Easy Install is a python module (easy_install) bundled with setuptools that lets you automatically download, build, install, and manage Python packages.
python 
july 2016 by dusko
waybackpack - Download the entire Wayback Machine archive for a given URL
Waybackpack is a command-line tool that lets you download the entire Wayback Machine archive for a given URL.
web  archive  tool  python  script 
may 2016 by dusko
Requests - Python HTTP requests for Humans
Python HTTP Requests for Humans (http://python-requests.org) ---- Requests allows you to send organic, grass-fed HTTP/1.1 requests, without the need for manual labor. There's no need to manually add query strings to your URLs, or to form-encode your POST data. Keep-alive and HTTP connection pooling are 100% automatic, powered by urllib3 (https://github.com/shazow/urllib3), which is embedded within Requests.
http  python 
april 2016 by dusko
Data Science iPython Notebooks
Continually updated data science Python notebooks: Deep learning (TensorFlow, Theano, Caffe), scikit-learn, Kaggle, big data (Spark, Hadoop MapReduce, HDFS), matplotlib, pandas, NumPy, SciPy, Python essentials, AWS, and various command lines. https://bit.ly/data-notes
data  python 
april 2016 by dusko
DevOps Wiki - A wiki of Devops Tools, Tutorials and Scripts
I generally have to google for these so i created a list of Vim/Bash/Python/Perl/linux Guides/Tutorials and cheatsheets <-- https://www.reddit.com/r/vim/comments/44fpoi/i_generally_have_to_google_for_these_so_i_created/

A wiki of Devops Tools, Tutorials and Scripts
http://techarena51.com
devops  vim  linux  cheatsheet  python 
december 2015 by dusko
Python Packaging Authority
The Python Packaging Authority (PyPA) is a working group that maintains many of the relevant projects in Python packaging. ==== They host projects on github (https://github.com/pypa) and bitbucket (https://bitbucket.org/pypa), and discuss issues on the pypa-dev (https://groups.google.com/forum/#!forum/pypa-dev) and distutils-sig (http://mail.python.org/mailman/listinfo/distutils-sig) mailing lists. ==== For a listing of their most important projects, see here (https://packaging.python.org/en/latest/projects/#pypa-projects). ==== For a user introduction to packaging, see the Python Packaging User Guide (https://packaging.python.org/).
sysadmin  programming  python 
october 2015 by dusko
Setuptools bootstrapping installer
Run this script to install or upgrade setuptools.
pip  sysadmin  programming  python 
october 2015 by dusko
Pip Installer - Pip bootstrap
You may be wondering what this giant blob of binary data here is, you might even be worried that we're up to something nefarious (good for you for being paranoid!). This is a base85 encoding of a zip file, this zip file contains an entire copy of pip. ==== Pip is a thing that installs packages, pip itself is a package that someone might want to install, especially if they're looking to run this get-pip.py script. ==== Pip has a lot of code to deal with the security of installing packages, various edge cases on various platforms, and other such sort of "tribal knowledge" that has been encoded in its code base. Because of this we basically include an entire copy of pip inside this blob. We do this because the alternatives are attempt to implement a "minipip" that probably doesn't do things correctly and has weird edge cases, or compress pip itself down into a single file. ==== If you're wondering how this is created, it is using an invoke task located in tasks/generate.py called "installer". It can be invoked by using ``invoke generate.installer``.
pip  sysadmin  programming  python 
october 2015 by dusko
Bokeh - A Python interactive visualization library
Bokeh can help anyone who would like to quickly and easily create interactive plots, dashboards, and data applications.
python  data  graph 
october 2015 by dusko
« earlier      
per page:    204080120160

Copy this bookmark:



description:


tags: