[CODE4LIB] LC Call # splitting/sorting scripts?

2014-07-11 Thread Robert Dumas
​Hey all:

Does anyone know of any scripts (preferably in Ruby or Python) which can slice 
up an LC call number and sort a table of items by LC call number? 
 
-- 
Rob Dumas 
Chicago Public Library
Woodson Regional


Re: [CODE4LIB] LC Call # splitting/sorting scripts?

2014-07-11 Thread Jon Stroop

This?

https://code.google.com/p/library-callnumber-lc/

On 07/11/2014 12:01 PM, Robert Dumas wrote:

​Hey all:

Does anyone know of any scripts (preferably in Ruby or Python) which can slice 
up an LC call number and sort a table of items by LC call number?
  


Re: [CODE4LIB] LC Call # splitting/sorting scripts?

2014-07-11 Thread Doran, Michael D
Hi Rob,

> Does anyone know of any scripts (preferably in Ruby or Python) which can
> slice up an LC call number and sort a table of items by LC call number?

Here be perl:

sortLC: for sorting LC call numbers
http://rocky.uta.edu/doran/sortlc/

-- Michael

# Michael Doran, Systems Librarian
# University of Texas at Arlington
# 817-272-5326 office
# 817-688-1926 mobile
# do...@uta.edu
# http://rocky.uta.edu/doran/



> -Original Message-
> From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
> Robert Dumas
> Sent: Friday, July 11, 2014 11:01 AM
> To: CODE4LIB@LISTSERV.ND.EDU
> Subject: [CODE4LIB] LC Call # splitting/sorting scripts?
> 
> ​Hey all:
> 
> Does anyone know of any scripts (preferably in Ruby or Python) which can
> slice up an LC call number and sort a table of items by LC call number?
> 
> --
> Rob Dumas
> Chicago Public Library
> Woodson Regional


Re: [CODE4LIB] LC Call # splitting/sorting scripts?

2014-07-11 Thread Eric Phetteplace
Bill Dueber wrote a gem for that:
https://github.com/billdueber/lc_callnumber

Since he did specifically ask for Ruby or Python. Looks like the Google
Code link has a Python solution in it.

Best,
Eric


On Fri, Jul 11, 2014 at 9:44 AM, Doran, Michael D  wrote:

> Hi Rob,
>
> > Does anyone know of any scripts (preferably in Ruby or Python) which can
> > slice up an LC call number and sort a table of items by LC call number?
>
> Here be perl:
>
> sortLC: for sorting LC call numbers
> http://rocky.uta.edu/doran/sortlc/
>
> -- Michael
>
> # Michael Doran, Systems Librarian
> # University of Texas at Arlington
> # 817-272-5326 office
> # 817-688-1926 mobile
> # do...@uta.edu
> # http://rocky.uta.edu/doran/
>
>
>
> > -Original Message-
> > From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
> > Robert Dumas
> > Sent: Friday, July 11, 2014 11:01 AM
> > To: CODE4LIB@LISTSERV.ND.EDU
> > Subject: [CODE4LIB] LC Call # splitting/sorting scripts?
> >
> > ​Hey all:
> >
> > Does anyone know of any scripts (preferably in Ruby or Python) which can
> > slice up an LC call number and sort a table of items by LC call number?
> >
> > --
> > Rob Dumas
> > Chicago Public Library
> > Woodson Regional
>


Re: [CODE4LIB] LC Call # splitting/sorting scripts?

2014-07-11 Thread Roy

Well, if you can accommodate Perl, here's software that will enable that:

   http://homepages.wmich.edu/~zimmer/other_index.html

and look at cnparse.lib


On 7/11/2014 12:01 PM, Robert Dumas wrote:

​Hey all:

Does anyone know of any scripts (preferably in Ruby or Python) which can slice 
up an LC call number and sort a table of items by LC call number?
  


Re: [CODE4LIB] LC Call # splitting/sorting scripts?

2014-07-11 Thread Doran, Michael D
Rob,

I recommend you try them all and then write a comparative review for the 
Code4lib Journal. ;-)

-- Michael

> -Original Message-
> From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of
> Eric Phetteplace
> Sent: Friday, July 11, 2014 11:56 AM
> To: CODE4LIB@LISTSERV.ND.EDU
> Subject: Re: [CODE4LIB] LC Call # splitting/sorting scripts?
> 
> Bill Dueber wrote a gem for that:
> https://github.com/billdueber/lc_callnumber
> 
> Since he did specifically ask for Ruby or Python. Looks like the Google
> Code link has a Python solution in it.
> 
> Best,
> Eric
> 
> 
> On Fri, Jul 11, 2014 at 9:44 AM, Doran, Michael D  wrote:
> 
> > Hi Rob,
> >
> > > Does anyone know of any scripts (preferably in Ruby or Python) which
> can
> > > slice up an LC call number and sort a table of items by LC call
> number?
> >
> > Here be perl:
> >
> > sortLC: for sorting LC call numbers
> > http://rocky.uta.edu/doran/sortlc/
> >
> > -- Michael
> >
> > # Michael Doran, Systems Librarian
> > # University of Texas at Arlington
> > # 817-272-5326 office
> > # 817-688-1926 mobile
> > # do...@uta.edu
> > # http://rocky.uta.edu/doran/
> >
> >
> >
> > > -Original Message-----
> > > From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf
> Of
> > > Robert Dumas
> > > Sent: Friday, July 11, 2014 11:01 AM
> > > To: CODE4LIB@LISTSERV.ND.EDU
> > > Subject: [CODE4LIB] LC Call # splitting/sorting scripts?
> > >
> > > ​Hey all:
> > >
> > > Does anyone know of any scripts (preferably in Ruby or Python) which
> can
> > > slice up an LC call number and sort a table of items by LC call
> number?
> > >
> > > --
> > > Rob Dumas
> > > Chicago Public Library
> > > Woodson Regional
> >