• Stars
    star
    103
  • Rank 322,254 (Top 7 %)
  • Language
    HTML
  • License
    BSD 3-Clause "New...
  • Created over 13 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The NumPy home page

Numpy.org

Getting Started

To contribute to the website, you'll first need to install the extended version of Hugo.

The Hugo install page has instructions for different platforms and installers; make sure you end up with the extended version.

On Linux it may be easiest to pick up a tarball of the latest extended version from the release page and install it per https://gohugo.io/getting-started/installing/#install-hugo-from-tarball.

Next, clone this repository, and install the theme:

git submodule update --init --recursive

The development web server is started with:

make serve

If you don't have make available (e.g., on Windows), use this instead:

python gen_config.py
hugo server

after which the site should be served at http://localhost:1313.

You'll see

error: failed to transform resource: TOCSS: failed to transform "style.sass"

if you don't have the Hugo extended version.

User Experience (UX)

NumPy Color Palette

#013243 Warm Black RGB 1/50/67 | HEX #013243 | NumPy Warm Black

#4D77CF Han Blue RGB 77/119/207 | HEX #4D77CF | NumPy Deep Blue

#4DABCF Maximum Blue RGB 77/171/207 | HEX #4DABCF | NumPy Ndarray Blue

#6C7A89 Aurometalsaurus RGB 108/122/137 | HEX #6C7A89 | NumPy Slate Gray

#EEEEEE Isabelline RGB 238/238/238 | HEX #EEEEEE | NumPy Cloud Gray

#FFC553 Mustard RGB 255/197/83 | HEX #FFC553 | NumPy Yellow

#FFFFFF White RGB 255/255/255 | HEX #FFFFFF | White

Deployment

Submit pull requests first, those get run on Netlify and you can see a build preview by clicking on the details link at the bottom.

Build previews

Team lists

To update the teams gallery in numpy.org site, you need to run make teams Makefile target. It uses the team_query.py tool provided by scientific-python-hugo-theme. The following pre-requisites need to be met in numpy.org build environment:

  • The team_query.py tool requires python requests package. Make sure it is installed in your numpy.org build environment before invoking make teams Makefile target.

  • GitHub token with read:org permissions is required for requesting numpy.org team data from GitHub. The token has to be exported as GH_TOKEN.

export GH_TOKEN=xxxxxxxxxx
make teams

Upgrade Hugo

Change the version in netlify.toml.

Analytics

A self-hosted version of Plausible.io is used to gather simple and privacy-friendly analytics for the site. The dashboard can be accessed here.

More Repositories

1

numpy

The fundamental package for scientific computing with Python.
Python
26,137
star
2

numpy-tutorials

NumPy tutorials & educational content in notebook format
Python
413
star
3

numpy-financial

Standalone package of the NumPy financial functions
Python
295
star
4

numpy-stubs

Experimental typing stubs for NumPy
Python
281
star
5

numpydoc

Numpy's Sphinx extensions
Python
251
star
6

SVML

Vendored files from Intel's SVML
Assembly
30
star
7

numpy-refactor

INACTIVE - abandoned refactoring effort
C
27
star
8

numpy-dtypes

Repository for the development of user dtypes for numpy.
C
22
star
9

numpy-newsletter

Content for the NumPy newsletter, which anyone can sign up for in the numpy.org footer
15
star
10

archive

Archive of documents related to the project governance and management
Jupyter Notebook
13
star
11

numpy-user-dtypes

Repository for example user DTypes using the new API
C
11
star
12

doc

Home of NumPy user and reference documentation
HTML
10
star
13

numpy-surveys

Prepare content for surveys, and code/tools to analyze the results
10
star
14

bitgenerators

Additional bitgenerators for the random generators within numpy.
C
9
star
15

windows-wheel-builder

INACTIVE - this repo is no longer maintained
C
8
star
16

devdocs

Latest auto-generated development docs
HTML
7
star
17

datetime

Repo for datetime improvements
Python
6
star
18

neps

Auto-generated NumPy Enhancement Proposals
HTML
5
star
19

numpy-vendor

Upstream source code for dependencies
Fortran
5
star
20

numpy.github.com

Auto-generated NumPy website. Since this is an auto-generated directory, do *not* submit pull requests against this repository. The actual sources are in https://github.com/numpy/numpy.org
HTML
5
star
21

numpyorg-benchmarks

Benchmarks used in the numpy.org website content
Python
4
star
22

user-survey-2020-details

Analysis and publication of NumPy community survey results
Python
2
star
23

numpy-readthedocs-redirect

Python
1
star
24

.github

default community health files for all repos in the NumPy GitHub org
1
star