Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
More work in improving documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Jun 25, 2014
1 parent f4414c2 commit 77996d6
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 56 deletions.
12 changes: 6 additions & 6 deletions ANNOUNCE.txt
Expand Up @@ -13,12 +13,12 @@ https://github.com/Blosc/bcolz/wiki/Release-Notes
What it is
----------

bcolz is a columnar and compressed data container. Column storage allows
for efficiently querying tables with a large number of columns. It also
allows for cheap addition and removal of column. In addition, bcolz objects
are compressed by default for reducing memory/disk I/O needs. The
compression process is carried out internally by Blosc, a high-performance
compressor that is optimized for binary data.
bcolz provides columnar and compressed data containers. Column storage
allows for efficiently querying tables with a large number of columns.
It also allows for cheap addition and removal of column. In addition,
bcolz objects are compressed by default for reducing memory/disk I/O
needs. The compression process is carried out internally by Blosc, a
high-performance compressor that is optimized for binary data.

bcolz can use numexpr internally so as to accelerate many vector and
query operations (although it can use pure NumPy for doing so too).
Expand Down
31 changes: 16 additions & 15 deletions README.rst
@@ -1,15 +1,15 @@
bcolz: A columnar data container
================================

bcolz: columnar and compressed data containers
==============================================

**Note:** This is a renaming of the original **carray** project.

bcolz is a columnar and compressed data container. Column storage allows
for efficiently querying tables with a large number of columns. It also
allows for cheap addition and removal of column. In addition, bcolz objects
are compressed by default for reducing memory/disk I/O needs. The
compression process is carried out internally by Blosc, a high-performance
compressor that is optimized for binary data.
bcolz provides columnar and compressed data containers. Column
storage allows for efficiently querying tables with a large number of
columns. It also allows for cheap addition and removal of column. In
addition, bcolz objects are compressed by default for reducing
memory/disk I/O needs. The compression process is carried out
internally by Blosc, a high-performance compressor that is optimized
for binary data.

bcolz can use numexpr internally so as to accelerate many vector and
query operations (although it can use pure NumPy for doing so too).
Expand All @@ -32,8 +32,8 @@ In other words, the ultimate goal for bcolz is not only reducing the
memory needs of large arrays, but also making bcolz operations to go
faster than using a traditional ndarray object from NumPy. That is
already the case for some special cases now, but will happen more
generally in a short future, when bcolz will be able to take
advantage of newer CPUs integrating more cores and wider vector units.
generally in a short future, when bcolz will be able to take advantage
of newer CPUs integrating more cores and wider vector units.

Requisites
----------
Expand Down Expand Up @@ -69,9 +69,9 @@ Install it as a typical Python package::
Documentation
-------------

Please refer to the doc/ directory. The HTML manual is in doc/html/,
and the PDF version is in doc/bcolz-manual.pdf. Of course, you can
always access docstrings from the console (i.e. help(bcolz.ctable)).
Please refer to the doc/ directory. The HTML manual is in doc/html,
but of course, you can always access docstrings from the console
(i.e. help(bcolz.ctable)).

Also, you may want to look at the bench/ directory for some examples
of use.
Expand All @@ -83,7 +83,7 @@ Visit the main bcolz site repository at:
http://github.com/Blosc/bcolz

Manual:
http://bcolz.blosc.org/docs/manual
http://bcolz.blosc.org

Home of Blosc compressor:
http://blosc.org
Expand All @@ -103,5 +103,6 @@ Share your experience
Let us know of any bugs, suggestions, gripes, kudos, etc. you may
have.

**Enjoy Data!**

Francesc Alted
48 changes: 14 additions & 34 deletions releasing.txt
Expand Up @@ -7,51 +7,30 @@ Instructions for releasing a new version of bcolz
- Make sure that ``ANNOUNCE.txt`` and ``RELEASE-NOTES.txt``
do contain the most relevant notes for the release.

- Generate a tarball of the version to release:
- Generate a tarball of manual of the version to release:
+ $ cd /tmp
+ $ git clone git://github.com/Blosc/bcolz.git
+ $ cd bcolz
+ $ paver sdist
+ $ export VERSION="x.y.z" # x.y.z is the version to release
+ $ mv doc/bcolz-manual.pdf ../bcolz-manual-$VERSION.pdf
+ $ mv dist/bcolz-$VERSION.tar.gz ..
+ $ cd ..
+ $ tar xvfz bcolz-$VERSION.tar.gz
+ $ tar cvfz bcolz-manual-$VERSION-html.tar.gz bcolz-$VERSION/doc/html/

- Generate binaries for Windows
+ Generate for Python 2.6 and 2.7 (using MSVC 2008 and distutils)
+ *Test* Windows packages
+ Put the resulting .exe in the same directory than the tarball and docs

- Upload the next packages in the download area
+ $ scp bcolz-$VERSION.tar.gz bcolz-manual* xodo.blosc.org:/tmp
+ Log-in in xodo as user bcolz
+ Go to download area:
$ cd ~/srv/www/bcolz.blosc.org/download
+ Create another directory for the new version and copy the files there:
$ export VERSION="x.y.z" # x.y.z is the version to release
$ mkdir bcolz-$VERSION
$ cd bcolz-$VERSION
$ cp /tmp/bcolz-$VERSION.tar.gz /tmp/bcolz-manual* /tmp/bcolz*.exe .
+ Compute and save the MD5 of new files:
$ cfv -C -t md5 -f bcolz-$VERSION.md5 *
+ Point the 'stable' the symbolic link to the new version
$ cd ..
$ rm stable; ln -s bcolz-$VERSION stable
Check that the new packages are accessible at:
http://bcolz.blosc.org/download/bcolz-$VERSION/

- Update on-line HTML manual
$ cd ~/srv/www/bcolz.blosc.org/docs
$ tar xvfz ../download/bcolz-$VERSION/bcolz-manual-$VERSION-html.tar.gz
$ mv bcolz-$VERSION/doc/html manual-$VERSION
$ rmdir bcolz-$VERSION/doc ; rmdir bcolz-$VERSION
$ rm manual; ln -sf manual-$VERSION manual
Check that the manual is accessible at:
http://bcolz.blosc.org/docs/manual/
- Update the on-line HTML manual
+ $ scp bcolz-manual* xodo.blosc.org:/tmp
+ Log-in in xodo as user blosc
+ $ cd ~/srv/www/bcolz.blosc.org/docs
+ $ export VERSION="x.y.z" # x.y.z is the version to release
+ $ tar xvfz /tmp/bcolz-manual-$VERSION-html.tar.gz
+ $ mv bcolz-$VERSION/doc/html bcolz-$VERSION
+ $ rm -r bcolz-$VERSION
+ $ rm manual; ln -sf manual-$VERSION manual
+ Check that the manual is accessible at:
http://bcolz.blosc.org/
- Add the 'RELEASE_NOTES' to::
https://github.com/Blosc/bcolz/wiki/Release-$VERSION
https://github.com/Blosc/bcolz/wiki/Release-Notes

- Announcing
+ Register the new package in PyPI::
Expand All @@ -60,6 +39,7 @@ Instructions for releasing a new version of bcolz
+ Wait about 24 hours to give time to people there to test the package
+ If everything goes well, do the post-release actions ("post-release.txt")
+ Do a more general annoucement to:
- blosc@googlegroups.com (https://groups.google.com/forum/#!forum/blosc)
- numpy-discussion@scipy.org (with copy to scipy-user@scipy.org)
- python-announce@python.org
(remember to put a prefix ANN: in the mail subject).
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -158,7 +158,7 @@ def check_import(pkgname, pkgver):
"""
setup(name = "bcolz",
version = VERSION,
description = 'A columnar and compressed data container.',
description = 'columnar and compressed data containers.',
long_description = """\
bcolz provides columnar and compressed data containers. Column storage
Expand Down

0 comments on commit 77996d6

Please sign in to comment.