Difference between revisions of "SAM"

From DUNE
Jump to navigation Jump to search
(Created page with "SAM (Sequential Access via Metadata) is a system by and at Fermilab for providing a database that ties metadata to file locations, allows file set definition and query, and ot...")
 
Line 19: Line 19:
 
== Installation ==
 
== Installation ==
  
On fnal.gov machines, use UPS to set up your environment to use a centrally installed instance of the SAM Web Client "product". For all other users, it needs to be installed.
+
* On fnal.gov machines, it is [https://cdcvs.fnal.gov/redmine/projects/sam/wiki/User_Guide_for_SAM#Setting-up-samweb-Tools available under UPS]
  
=== Via pip ===
+
* To install see [https://github.com/DUNE/sam-web-client/blob/master/README.md these instructions]
 
 
To install into your current Python environment (eg, one created with [[Virtualenv]]) simply do:
 
 
 
pip install sam-web-client
 
 
 
In your central user area add <code>--user</code>
 
 
 
pip install --user sam-web-client
 
 
 
=== From source ===
 
 
 
git clone https://github.com/DUNE/sam-web-client.git
 
cd sam-web-client
 
python setup.py install
 
 
 
=== For development ===
 
 
 
git clone git@github.com:DUNE/sam-web-client.git
 
cd sam-web-client
 
python setup.py develop
 

Revision as of 18:02, 13 January 2016

SAM (Sequential Access via Metadata) is a system by and at Fermilab for providing a database that ties metadata to file locations, allows file set definition and query, and other features. See also Metadata.

SAM Web

SAM may be accessed via an HTTP API called SAM Web Services.

Some information resources about SAM Web

Client

Access to SAM Web is made easier through the SAM Web Client client-side Python module and command line interface tool called samweb.

Installation