python
132 posts — page 5
-
Example of the `healpy` query disc function
Example of the `healpy` query disc function
-
Migrate from Travis-CI and ReadTheDocs to GitHub Actions
For a number of years I have been concerned about the duplication of work having to maintain continuous integration environments both on Travis-CI to run the unit tests and on Readthedocs to build and host the documentation.
-
Redirect readthedocs documentation to another website
This is useful if you switch to hosting your own documentation, for example using Sphinx Multiversion on Github pages, tutorial coming soon.
-
Dask array rounding
Dask array rounding float32
-
Handle white noise with healpy 3 not-uniform and partial sky coverage
Simulate white noise maps and use hitmaps
-
Handle white noise with healpy 2 partial sky coverage
Simulate white noise maps and use hitmaps
-
Handle white noise with healpy 1 Full sky coverage
Simulate white noise maps and use hitmaps
-
Import and export list of blocked users on Twitter
Back in 2015, Twitter provided the feature to export and import lists of blocked users, unfortunately they discontinued this service.
-
Minimal example of readthedocs configuration for conda
Prompted by the announced better support of conda in readthedocs, more memory! I setup a Python package with conda to automatically build the documentation on readthedocs.
-
White noise NET in radio-astronomy and cosmology
Create a white noise map and compare with power spectrum expected from the NET
-
Raise and check a flag array with numpy
Handle flag array bits with numpy bitwise operations
-
Kill Jupyter Notebook servers
Just today I learned how to properly stop previously running Jupyter Notebook servers, here for future reference: jupyter notebook stop
-
Migrate from Pelican to Fastpages
I have been using the Pelican static website generator for a few years, hosting the content on Github, automatically build on push via Travis-CI and deploy on Github pages to zonca.github.io.
-
Ship large files with Python packages
It is often useful to ship large data files together with a Python package, a couple of scenarios are: data necessary to the functionality provided by the package, for example images, any binary or large text dataset, they could be either required just for a subset of the functionality of the package or for all of it
-
Webinar about distributed computing with Python
Recording available of the webinar I gave about "Distributed computing with Python": Threads vs Processes, GIL