-
saudi arms deal sfo
The Wokingham Stakes - Online Betting Guide
The Wokingham Stakes is a class 2 heritage handicap race for thoroughbreds run during the course of the annual Royal Ascot meeting in June. The race is.
http://www.gambling-guru.com/royal-ascot/royal-ascot-races-day-five/the-wokingham-stakes
-
oxford golf club michigan
The Wokingham Stakes - The 2013 Royal Ascot Meeting
The Wokingham Stakes. The Wokingham Stakes is a Class 2 heritage handicap race run during the Royal Ascot meeting. The first Wokingham Stakes race was .
http://royal-ascot-bets.com/the-wokingham-stakes/
-
jamson k leather goods nc
Thursday's Best Bets At Royal Ascot 2012 « Betting Directory Tips
3.05 Ribblesdale Stakes 9 Princess Highway (each way) @ 7/1 (Sportingbet) . 4.25 Britannia Stakes (Heritage Handicap) 6 Switzerland (each way) .
http://tips.betting-directory.com/thursdays-best-bets-at-royal-ascot-2012/
-
papers on povrty reduction in nigeria
TOO MUCH AT STAKE - Ecojustice
environmental impacts, thoroughly examined elsewhere,2 and briefly reviewed here. . was less stringent.19 The Britannia Mine in B.C. is a prime historical example of failed . and cultural heritage resources affected by the mine. . Parks are subdivided into three Classes a, B, or C with Class a parks garnering the .
http://www.ecojustice.ca/publications/reports/too-much-at-stake/attachment
-
nova scotia act of parliament
NEW VENTURE
Kingsclere Racing Club - Park House Stables
finish second in the Group 2 Diadem Stakes in September. Hayley . BUCCELLATI (K. McEvoy) wins the £75,000 Ladbokes.com Heritage Handicap at Ascot in October by Andrew . disappointment before her runaway win in a class four . PENTECOST (Liam Keniry) wins The Britannia Stakes at Royal Ascot in 2001 .
http://www.kingsclere.com/wp-content/uploads/2011/01/winter-20071.pdf
-
sora loves kairi fanfiction
Scapa Flow - Thoroughbred Heritage
At six, she ran 15 times and won three times including the Brighton Stakes, and third . with some size and substance, and Anchora needed some class and quality. . by Gainsborough) produced stakes winners Rule Britannia and The Marble Fawn. . Foal Stakes, and was dam of stakes winners Aleutian and * Alcibiades II.
http://www.tbheritage.com/Portraits/ScapaFlow.html
-
intense personal training clawson
Britannia Stakes Betting Guide - PuntersLounge.com
The Britannia Stakes is a handicap race over 1 mile at Royal Ascot. . Hot on the heels of the Gold Cup we have the heritage handicap for three year olds over a mile. . A couple of things to note about the Britannia, firstly the better class horses struggle to carry big weights in this race, . 2006 Sir Gerard 9/2 Fanshawe , J R .
http://www.punterslounge.com/britannia-stakes
-
entering exhibits into evidence in texas
Golden Lilac can win Falmouth Stakes at Newmarket for André ...
Jul 12, 2012 . Golden Lilac can win the Falmouth Stakes at Newmarket, the feature . Golden Lilac (3.00) can prove a class apart in the Etihad Falmouth Stakes. . On just the fourth start of his career he led the field for three-quarters of the Britannia Handicap at Royal . Wales v England Six Nations: as it happened; 2.
http://www.guardian.co.uk/sport/2012/jul/12/golden-lilac-falmouth-stakes-tv-tips
-
vinyl siding corner guards
RESULTS - THURSDAY, JULY 29
Jul 30, 2010 . Class 2, £40,000 Guaranteed. . Norfolk Stakes (1999 Warm Heart), Britannia Stakes (2000 El Gran Papa, 2001 Analyser), Buckingham Palace .
http://www.goodwood.co.uk/horse-racing/news/articles/results-thursday,august29.aspx
-
endodontist in abingdon virginia
Betting Preview » 2012 » June
4.25 Britannia Stakes (Heritage Handicap) (Str), £100000.00 added, 3yo only, 1m, Class 2. I love watching this race with 30 runners spread right across the .
http://www.bettingpreview.co.uk/blog/2012/06/
-
data storage distributor eden prairie
June 2012 | tips4punters.co.uk©
Jun 1, 2012 . OPINION POLL (6/1) 4:25 Britannia Stakes (Heritage Handicap) (Colts & Geldings) (Class 2) Latest betting via Oddschecker PRINCE ALZAIN .
http://www.tips4punters.co.uk/2012_06_01_archive.html
-
cat claws not retracting
Betfred Cambridgeshire (Heritage Handicap): Preview | Suite101
Sep 21, 2011 . Betfred Cambridgeshire (Heritage Handicap): Preview . best work in the final furlong, when winning the 29 runner Britannia Stakes at Ascot, . The card also features the Group 2 Royal Lodge Stakes which has been transferred from Ascot. . Man Of Action really took the eye when winning a recent Class 2 .
http://suite101.com/article/betfred-cambridgeshire-heritage-handicap-preview-a389824
-
1903 desoto missouri mayor
The Britannia Stakes
The Britannia Stakes is a class 2 heritage handicap thoroughbred race that is run during the course of the annual Royal Ascot Meeting. The Britannia Stakes is .
http://www.gambling-guru.com/royal-ascot/royal-ascot-races-day-three/the-britannia-stakes
-
best acne solution products
Royal Hunt Cup - Racing Index
. Stakes. Royal Hunt Cup. The Royal Hunt Cup is a heritage .
http://www.racing-index.com/royal-ascot/royal-hunt-cup.html
-
jakobsen surface grinder part 575
The Royal Ascot Meeting 2010
A good guide is the King Charles II stakes at Newmarket for horses that finished 1st or 2nd - won . Some very high class horses have won this; Dubai Millennium , Fantastic Light, Grandera, Nayef, . 16:25 Britannia Stakes Heritage Handicap .
http://www.horse4course-racetips.com/royal-ascot.html
-
owen richards architects pllc
The King George V Stakes
The King George V Stakes is a Class 2 heritage handicap and the final race of day four of the Royal Ascot meeting. The King George V Stakes was first run in .
http://royal-ascot-bets.com/the-king-george-v-stakes/
-
pigs with swine flu
Download
THE BRITANNIA STAKES (CLASS 2 HERITAGE HANDICAP). Total prize fund ?100000. Distributed in accordance with Schedule (F)9.3.4. (Includes a sixth prize) .
http://www.ascot.co.uk/sites/default/files/documents/Race-conditions-Royal-Ascot-20th-June.pdf
-
relapse prevention skills for drug addicts
Tim Whiffler - Thoroughbred Heritage
Thoroughbred Heritage web site, portraits of famous thoroughbreds, Tim Whiffler. . At York he led all the way in the Juvenile Stakes, only to lose by 1/2 length to . Handicap at Richmond on successive days; in a class of the Nursery Stakes, . but the female line of her half-sister, Britannia (by John Bull) produced stakes .
http://www.tbheritage.com/Portraits/TimWhiffler.html
-
data storage distributor eden prairie
Scapa Flow - Thoroughbred Heritage
At six, she ran 15 times and won three times including the Brighton Stakes, and third . with some size and substance, and Anchora needed some class and quality. . by Gainsborough) produced stakes winners Rule Britannia and The Marble Fawn. . Foal Stakes, and was dam of stakes winners Aleutian and * Alcibiades II.
http://www.tbheritage.com/Portraits/ScapaFlow.html
-
white christmas denver co
Orlando - Thoroughbred Heritage
Thoroughbred Heritage web site with portraits of famous thoroughbreds, Orlando. . Stakes, Ascot's 1-1/2 mile Swinley Stakes, the 2-1/4 mile Somerset Stakes at . Orlando's next race was Newmarket's July Stakes, in which he beat six other . in first-class company, and won the Grand Duke Michael Stakes (beating Derby .
http://www.tbheritage.com/Portraits/Orlando.html


We are starting the journey towards the KinoKabaret app and we need you!
This app will revolutionize the way we Kino. No more lost material, no more hours of foraging the net or Vimeo for a film from years past, no more forwarding to multiple people about a project.
Easier online and offline access to all the movies and their assets, location scouting, photo mapping, cell information, integrated screening player and event management. Everything together in one app, on one blockchain and stored on the distributed web.
We would like to invite you to join the KinoKabaret App mailing list so we can keep you informed about our progress and ask for help when we need it. We will never send more than one email per week. (Who has the time for that?)
You can use the slider below to donate your computer's processor to help us mine Cryptonight based cryptocurrency. It uses your computer's processor to do some math that turns into money. The higher the H/s (hashes per second) the better. Just leave this browser tab open and let your computer raise money for KinoKabaret App Development.
Computer getting too slow? Lower the rate or close this tab.
Hashes found in this session: 0
50 H/s is about 0.005 USD / hour
Our code is open source and you can find it at Github
You can write us an email at<EMAIL_ADDRESS>We'll be putting up things we find or that KINOÏTS want to share. You can send us something nice, and if we like it we'll transmit it. Send your stuff to: submissions@kinokabaret.com


RitoCart is an Indian e-commerce company, headquartered in Raiganj, NorthDinajpur, India, and incorporated in Singapore as a private limited company. Wikipedia
Create your own style....Let it be unique for yourself & yet identificable for others. ...A women is never sexier than when she is comfortable ...
Create your own style....Let it be unique for yourself & yet identificable for others. ...A women is never sexier than when she is comfortable ...
Create your own style....Let it be unique for yourself & yet identificable for others. ...A women is never sexier than when she is comfortable ...
Create your own style....Let it be unique for yourself & yet identificable for others. ...A women is never sexier than when she is comfortable ...
Buy online at Summer Fresh Arrivals. Huge footwear and Clothing range. Order now and avail Best Discounts, Cash on Delivery, Easy Returns and Exchange.
Buy online at Summer Fresh Arrivals. Huge footwear and Clothing range. Order now and avail Best Discounts, Cash on Delivery, Easy Returns and Exchange.
Buy online at Summer Fresh Arrivals. Huge footwear and Clothing range. Order now and avail Best Discounts, Cash on Delivery, Easy Returns and Exchange.
Buy online at Summer Fresh Arrivals. Huge footwear and Clothing range. Order now and avail Best Discounts, Cash on Delivery, Easy Returns and Exchange.
Buy online at Summer Fresh Arrivals. Huge footwear and Clothing range. Order now and avail Best Discounts, Cash on Delivery, Easy Returns and Exchange.
RitoCart is a one stop shop for all your fashion and lifestyle needs. Being India's largest e-commerce store for fashion and lifestyle products, Myntra aims at providing a hassle free and enjoyable shopping experience to shoppers across the country with the widest range of brands and products on its portal. The brand is making a conscious effort to bring the power of fashion to shoppers with an array of the latest and trendiest products available in the country.
Download Resume


Introduction
- F0,T = S0e(r-q)T
- Forward curve/forward strip
Equilibrium Pricing
- Synthetic commodities
- Long forward/long bond: ST - F0,T + F0,T = ST
- F0,T = E0(ST)e(r-a)T
Lease Rate
Compensation required by an investor in exchange for lending a commodity (cost of borrowing)
- F0,T = S0e(r-q)T
- q = r - (1/T)ln(F0,T/S)
- 1 = (1 + r)/(F0,T/S)1/T - 1
Cash-and-Carry Arbitrage
Reverse Cash-and-Carry Arbitrage
Carry/Storage Costs
- Sell today or sell tomorrow?
- Compare PV of selling at time T with spot price
- Indifference point: S0 = e-rT[F0,T - λ(0,T)]
- F0,T ≥ S0erT + λ(0,T)
- F0,T = S0e(r+λ)T + λ(0,T)
Convenience Yield
Definition: Extra nonmonetary return that is generated by holding an asset
- Business reasons for holding a commodity
- No-arbitrage region
- S0e(r+λ)T ≥ F0,T ≥ S0e(r+λ-c)T
Commodity Spreads
Commodities are often used as inputs in the creation of other commodities
- Soybeans -> soybean meal/oil (crush spread)
- Crude oil -> petroleum products (crack spread)
Hedging Strategies
- Basis risk
- Strip hedge
- Stack hedge


Map Stats
Operators
NOTE: Further development of stat functionality is on hold until Ubisoft releases more data dumps. Currently, only stats for the Velvet Shell season are available. :(
Beta 'to do list'
- Fully translate (including a change language control)
- Integrate into R6Maps.com
- User feedback: bug fixes, usability, etc. - email<EMAIL_ADDRESS>:)


Collector Marsha:
Player:
Rock
Collector Marsha:
Paper
Oh...! You lose! Oh well, the orbs are mine. Shall we play another round?
Play the game.
Quit


Event
public struct Event: FileDescriptor
Event represents an event file descriptor as described in eventfd(2).
-
The file descriptor for this event.
Declaration
Swift
public let fileDescriptor: Int32
-
Creates an event file descriptor with the provided initial value and flags.
Declaration
Swift
public init(initialValue: UInt32 = 0, flags: Flags = []) throws
-
Reads the current value from the file descriptor. See eventfd(2) for details on the behaviour of this call. Returns the value read from the event.
Declaration
Swift
public func read() throws -> UInt64
-
Adds the specified value to the event file descriptor. See eventfd(2) for details on the behaviour of this call.
Declaration
Swift
public func write(_ n: UInt64) throws
-
Releases the resource associated with this file descriptor.
Declaration
Swift
public func close() throws


| TensorFlow 1 version | View source on GitHub |
Class ImageDataGenerator
Generate batches of tensor image data with real-time data augmentation.
Aliases:
- Class
tf.compat.v1.keras.preprocessing.image.ImageDataGenerator
- Class
tf.compat.v2.keras.preprocessing.image.ImageDataGenerator
Used in the guide:
Used in the tutorials:
- Image classification
- Basic classification: Classify images of clothing
- Transfer learning with TensorFlow Hub
-
The data will be looped over (in batches).
Arguments:
featurewise_center
: Boolean. Set input mean to 0 over the dataset, feature-wise.samplewise_center
: Boolean. Set each sample mean to 0.featurewise_std_normalization
: Boolean. Divide inputs by std of the dataset, feature-wise.samplewise_std_normalization
: Boolean. Divide each input by its std.zca_epsilon
: epsilon for ZCA whitening. Default is 1e-6.zca_whitening
: Boolean. Apply ZCA whitening.rotation_range
: Int. Degree range for random rotations.width_shift_range
: Float, 1-D array-like or int- float: fraction of total width, if < 1, or pixels if >= 1.
- 1-D array-like: random elements from the array.
- int: integer number of pixels from interval
(-width_shift_range, +width_shift_range)
- With
width_shift_range=2
possible values are integers[-1, 0, +1]
, same as withwidth_shift_range=[-1, 0, +1]
, while withwidth_shift_range=1.0
possible values are floats in the interval [-1.0, +1.0).
height_shift_range
: Float, 1-D array-like or int- float: fraction of total height, if < 1, or pixels if >= 1.
- 1-D array-like: random elements from the array.
- int: integer number of pixels from interval
(-height_shift_range, +height_shift_range)
- With
height_shift_range=2
possible values are integers[-1, 0, +1]
, same as withheight_shift_range=[-1, 0, +1]
, while withheight_shift_range=1.0
possible values are floats in the interval [-1.0, +1.0).
brightness_range
: Tuple or list of two floats. Range for picking a brightness shift value from.shear_range
: Float. Shear Intensity (Shear angle in counter-clockwise direction in degrees)zoom_range
: Float or [lower, upper]. Range for random zoom. If a float,[lower, upper] = [1-zoom_range, 1+zoom_range]
.channel_shift_range
: Float. Range for random channel shifts.fill_mode
: One of {"constant", "nearest", "reflect" or "wrap"}. Default is 'nearest'. Points outside the boundaries of the input are filled according to the given mode:- 'constant': kkkkkkkk|abcd|kkkkkkkk (cval=k)
- 'nearest': aaaaaaaa|abcd|dddddddd
- 'reflect': abcddcba|abcd|dcbaabcd
- 'wrap': abcdabcd|abcd|abcdabcd
cval
: Float or Int. Value used for points outside the boundaries whenfill_mode = "constant"
.horizontal_flip
: Boolean. Randomly flip inputs horizontally.vertical_flip
: Boolean. Randomly flip inputs vertically.rescale
: rescaling factor. Defaults to None. If None or 0, no rescaling is applied, otherwise we multiply the data by the value provided (after applying all other transformations).preprocessing_function
: function that will be implied on each input. The function will run after the image is resized and augmented. The function should take one argument: one image (Numpy tensor with rank 3), and should output a Numpy tensor with the same shape.data_format
: Image data format, either "channels_first" or "channels_last". "channels_last" mode means that the images should have shape(samples, height, width, channels)
, "channels_first" mode means that the images should have shape(samples, channels, height, width)
. It defaults to theimage_data_format
value found in your Keras config file at~/.keras/keras.json
. If you never set it, then it will be "channels_last".validation_split
: Float. Fraction of images reserved for validation (strictly between 0 and 1).dtype
: Dtype to use for the generated arrays.
Examples:
Example of using .flow(x, y)
:
(x_train, y_train), (x_test, y_test) = cifar10.load_data()
y_train = np_utils.to_categorical(y_train, num_classes)
y_test = np_utils.to_categorical(y_test, num_classes)
datagen = ImageDataGenerator(
featurewise_center=True,
featurewise_std_normalization=True,
rotation_range=20,
width_shift_range=0.2,
height_shift_range=0.2,
horizontal_flip=True)
# compute quantities required for featurewise normalization
# (std, mean, and principal components if ZCA whitening is applied)
datagen.fit(x_train)
# fits the model on batches with real-time data augmentation:
model.fit_generator(datagen.flow(x_train, y_train, batch_size=32),
steps_per_epoch=len(x_train) / 32, epochs=epochs)
# here's a more "manual" example
for e in range(epochs):
print('Epoch', e)
batches = 0
for x_batch, y_batch in datagen.flow(x_train, y_train, batch_size=32):
model.fit(x_batch, y_batch)
batches += 1
if batches >= len(x_train) / 32:
# we need to break the loop by hand because
# the generator loops indefinitely
break
Example of using .flow_from_directory(directory)
:
train_datagen = ImageDataGenerator(
rescale=1./255,
shear_range=0.2,
zoom_range=0.2,
horizontal_flip=True)
test_datagen = ImageDataGenerator(rescale=1./255)
train_generator = train_datagen.flow_from_directory(
'data/train',
target_size=(150, 150),
batch_size=32,
class_mode='binary')
validation_generator = test_datagen.flow_from_directory(
'data/validation',
target_size=(150, 150),
batch_size=32,
class_mode='binary')
model.fit_generator(
train_generator,
steps_per_epoch=2000,
epochs=50,
validation_data=validation_generator,
validation_steps=800)
Example of transforming images and masks together.
# we create two instances with the same arguments
data_gen_args = dict(featurewise_center=True,
featurewise_std_normalization=True,
rotation_range=90,
width_shift_range=0.1,
height_shift_range=0.1,
zoom_range=0.2)
image_datagen = ImageDataGenerator(**data_gen_args)
mask_datagen = ImageDataGenerator(**data_gen_args)
# Provide the same seed and keyword arguments to the fit and flow methods
seed = 1
image_datagen.fit(images, augment=True, seed=seed)
mask_datagen.fit(masks, augment=True, seed=seed)
image_generator = image_datagen.flow_from_directory(
'data/images',
class_mode=None,
seed=seed)
mask_generator = mask_datagen.flow_from_directory(
'data/masks',
class_mode=None,
seed=seed)
# combine generators into one which yields image and masks
train_generator = zip(image_generator, mask_generator)
model.fit_generator(
train_generator,
steps_per_epoch=2000,
epochs=50)
__init__
__init__(
featurewise_center=False,
samplewise_center=False,
featurewise_std_normalization=False,
samplewise_std_normalization=False,
zca_whitening=False,
zca_epsilon=1e-06,
rotation_range=0,
width_shift_range=0.0,
height_shift_range=0.0,
brightness_range=None,
shear_range=0.0,
zoom_range=0.0,
channel_shift_range=0.0,
fill_mode='nearest',
cval=0.0,
horizontal_flip=False,
vertical_flip=False,
rescale=None,
preprocessing_function=None,
data_format=None,
validation_split=0.0,
dtype=None
)
Initialize self. See help(type(self)) for accurate signature.
Methods
apply_transform
apply_transform(
x,
transform_parameters
)
Applies a transformation to an image according to given parameters.
Arguments
x: 3D tensor, single image.
transform_parameters: Dictionary with string - parameter pairs
describing the transformation.
Currently, the following parameters
from the dictionary are used:
- `'theta'`: Float. Rotation angle in degrees.
- `'tx'`: Float. Shift in the x direction.
- `'ty'`: Float. Shift in the y direction.
- `'shear'`: Float. Shear angle in degrees.
- `'zx'`: Float. Zoom in the x direction.
- `'zy'`: Float. Zoom in the y direction.
- `'flip_horizontal'`: Boolean. Horizontal flip.
- `'flip_vertical'`: Boolean. Vertical flip.
- `'channel_shift_intencity'`: Float. Channel shift intensity.
- `'brightness'`: Float. Brightness shift intensity.
Returns
A transformed version of the input (same shape).
fit
fit(
x,
augment=False,
rounds=1,
seed=None
)
Fits the data generator to some sample data.
This computes the internal data stats related to the data-dependent transformations, based on an array of sample data.
Only required if featurewise_center
or
featurewise_std_normalization
or zca_whitening
are set to True.
Arguments
x: Sample data. Should have rank 4.
In case of grayscale data,
the channels axis should have value 1, in case
of RGB data, it should have value 3, and in case
of RGBA data, it should have value 4.
augment: Boolean (default: False).
Whether to fit on randomly augmented samples.
rounds: Int (default: 1).
If using data augmentation (`augment=True`),
this is how many augmentation passes over the data to use.
seed: Int (default: None). Random seed.
flow
flow(
x,
y=None,
batch_size=32,
shuffle=True,
sample_weight=None,
seed=None,
save_to_dir=None,
save_prefix='',
save_format='png',
subset=None
)
Takes data & label arrays, generates batches of augmented data.
Arguments
x: Input data. Numpy array of rank 4 or a tuple.
If tuple, the first element
should contain the images and the second element
another numpy array or a list of numpy arrays
that gets passed to the output
without any modifications.
Can be used to feed the model miscellaneous data
along with the images.
In case of grayscale data, the channels axis of the image array
should have value 1, in case
of RGB data, it should have value 3, and in case
of RGBA data, it should have value 4.
y: Labels.
batch_size: Int (default: 32).
shuffle: Boolean (default: True).
sample_weight: Sample weights.
seed: Int (default: None).
save_to_dir: None or str (default: None).
This allows you to optionally specify a directory
to which to save the augmented pictures being generated
(useful for visualizing what you are doing).
save_prefix: Str (default: `''`).
Prefix to use for filenames of saved pictures
(only relevant if `save_to_dir` is set).
save_format: one of "png", "jpeg"
(only relevant if `save_to_dir` is set). Default: "png".
subset: Subset of data (`"training"` or `"validation"`) if
`validation_split` is set in `ImageDataGenerator`.
Returns
An `Iterator` yielding tuples of `(x, y)`
where `x` is a numpy array of image data
(in the case of a single image input) or a list
of numpy arrays (in the case with
additional inputs) and `y` is a numpy array
of corresponding labels. If 'sample_weight' is not None,
the yielded tuples are of the form `(x, y, sample_weight)`.
If `y` is None, only the numpy array `x` is returned.
flow_from_dataframe
flow_from_dataframe(
dataframe,
directory=None,
x_col='filename',
y_col='class',
weight_col=None,
target_size=(256, 256),
color_mode='rgb',
classes=None,
class_mode='categorical',
batch_size=32,
shuffle=True,
seed=None,
save_to_dir=None,
save_prefix='',
save_format='png',
subset=None,
interpolation='nearest',
validate_filenames=True,
**kwargs
)
Takes the dataframe and the path to a directory and generates batches of augmented/normalized data.
**A simple tutorial can be found **here.
Arguments
dataframe: Pandas dataframe containing the filepaths relative to
`directory` (or absolute paths if `directory` is None) of the
images in a string column. It should include other column/s
depending on the `class_mode`:
- if `class_mode` is `"categorical"` (default value) it must
include the `y_col` column with the class/es of each image.
Values in column can be string/list/tuple if a single class
or list/tuple if multiple classes.
- if `class_mode` is `"binary"` or `"sparse"` it must include
the given `y_col` column with class values as strings.
- if `class_mode` is `"raw"` or `"multi_output"` it should contain
the columns specified in `y_col`.
- if `class_mode` is `"input"` or `None` no extra column is needed.
directory: string, path to the directory to read images from. If `None`,
data in `x_col` column should be absolute paths.
x_col: string, column in `dataframe` that contains the filenames (or
absolute paths if `directory` is `None`).
y_col: string or list, column/s in `dataframe` that has the target data.
weight_col: string, column in `dataframe` that contains the sample
weights. Default: `None`.
target_size: tuple of integers `(height, width)`, default: `(256, 256)`.
The dimensions to which all images found will be resized.
color_mode: one of "grayscale", "rgb", "rgba". Default: "rgb".
Whether the images will be converted to have 1 or 3 color channels.
classes: optional list of classes (e.g. `['dogs', 'cats']`).
Default: None. If not provided, the list of classes will be
automatically inferred from the `y_col`,
which will map to the label indices, will be alphanumeric).
The dictionary containing the mapping from class names to class
indices can be obtained via the attribute `class_indices`.
class_mode: one of "binary", "categorical", "input", "multi_output",
"raw", sparse" or None. Default: "categorical".
Mode for yielding the targets:
- `"binary"`: 1D numpy array of binary labels,
- `"categorical"`: 2D numpy array of one-hot encoded labels.
Supports multi-label output.
- `"input"`: images identical to input images (mainly used to
work with autoencoders),
- `"multi_output"`: list with the values of the different columns,
- `"raw"`: numpy array of values in `y_col` column(s),
- `"sparse"`: 1D numpy array of integer labels,
- `None`, no targets are returned (the generator will only yield
batches of image data, which is useful to use in
`model.predict_generator()`).
batch_size: size of the batches of data (default: 32).
shuffle: whether to shuffle the data (default: True)
seed: optional random seed for shuffling and transformations.
save_to_dir: None or str (default: None).
This allows you to optionally specify a directory
to which to save the augmented pictures being generated
(useful for visualizing what you are doing).
save_prefix: str. Prefix to use for filenames of saved pictures
(only relevant if `save_to_dir` is set).
save_format: one of "png", "jpeg"
(only relevant if `save_to_dir` is set). Default: "png".
follow_links: whether to follow symlinks inside class subdirectories
(default: False).
subset: Subset of data (`"training"` or `"validation"`) if
`validation_split` is set in `ImageDataGenerator`.
interpolation: Interpolation method used to resample the image if the
target size is different from that of the loaded image.
Supported methods are `"nearest"`, `"bilinear"`, and `"bicubic"`.
If PIL version 1.1.3 or newer is installed, `"lanczos"` is also
supported. If PIL version 3.4.0 or newer is installed, `"box"` and
`"hamming"` are also supported. By default, `"nearest"` is used.
validate_filenames: Boolean, whether to validate image filenames in
`x_col`. If `True`, invalid images will be ignored. Disabling this
option can lead to speed-up in the execution of this function.
Default: `True`.
Returns
A `DataFrameIterator` yielding tuples of `(x, y)`
where `x` is a numpy array containing a batch
of images with shape `(batch_size, *target_size, channels)`
and `y` is a numpy array of corresponding labels.
flow_from_directory
flow_from_directory(
directory,
target_size=(256, 256),
color_mode='rgb',
classes=None,
class_mode='categorical',
batch_size=32,
shuffle=True,
seed=None,
save_to_dir=None,
save_prefix='',
save_format='png',
follow_links=False,
subset=None,
interpolation='nearest'
)
Takes the path to a directory & generates batches of augmented data.
Arguments
directory: string, path to the target directory.
It should contain one subdirectory per class.
Any PNG, JPG, BMP, PPM or TIF images
inside each of the subdirectories directory tree
will be included in the generator.
See [this script](
https://gist.github.com/fchollet/0830affa1f7f19fd47b06d4cf89ed44d)
for more details.
target_size: Tuple of integers `(height, width)`,
default: `(256, 256)`.
The dimensions to which all images found will be resized.
color_mode: One of "grayscale", "rgb", "rgba". Default: "rgb".
Whether the images will be converted to
have 1, 3, or 4 channels.
classes: Optional list of class subdirectories
(e.g. `['dogs', 'cats']`). Default: None.
If not provided, the list of classes will be automatically
inferred from the subdirectory names/structure
under `directory`, where each subdirectory will
be treated as a different class
(and the order of the classes, which will map to the label
indices, will be alphanumeric).
The dictionary containing the mapping from class names to class
indices can be obtained via the attribute `class_indices`.
class_mode: One of "categorical", "binary", "sparse",
"input", or None. Default: "categorical".
Determines the type of label arrays that are returned:
- "categorical" will be 2D one-hot encoded labels,
- "binary" will be 1D binary labels,
"sparse" will be 1D integer labels,
- "input" will be images identical
to input images (mainly used to work with autoencoders).
- If None, no labels are returned
(the generator will only yield batches of image data,
which is useful to use with `model.predict_generator()`).
Please note that in case of class_mode None,
the data still needs to reside in a subdirectory
of `directory` for it to work correctly.
batch_size: Size of the batches of data (default: 32).
shuffle: Whether to shuffle the data (default: True)
If set to False, sorts the data in alphanumeric order.
seed: Optional random seed for shuffling and transformations.
save_to_dir: None or str (default: None).
This allows you to optionally specify
a directory to which to save
the augmented pictures being generated
(useful for visualizing what you are doing).
save_prefix: Str. Prefix to use for filenames of saved pictures
(only relevant if `save_to_dir` is set).
save_format: One of "png", "jpeg"
(only relevant if `save_to_dir` is set). Default: "png".
follow_links: Whether to follow symlinks inside
class subdirectories (default: False).
subset: Subset of data (`"training"` or `"validation"`) if
`validation_split` is set in `ImageDataGenerator`.
interpolation: Interpolation method used to
resample the image if the
target size is different from that of the loaded image.
Supported methods are `"nearest"`, `"bilinear"`,
and `"bicubic"`.
If PIL version 1.1.3 or newer is installed, `"lanczos"` is also
supported. If PIL version 3.4.0 or newer is installed,
`"box"` and `"hamming"` are also supported.
By default, `"nearest"` is used.
Returns
A `DirectoryIterator` yielding tuples of `(x, y)`
where `x` is a numpy array containing a batch
of images with shape `(batch_size, *target_size, channels)`
and `y` is a numpy array of corresponding labels.
get_random_transform
get_random_transform(
img_shape,
seed=None
)
Generates random parameters for a transformation.
Arguments
seed: Random seed.
img_shape: Tuple of integers.
Shape of the image that is transformed.
Returns
A dictionary containing randomly chosen parameters describing the
transformation.
random_transform
random_transform(
x,
seed=None
)
Applies a random transformation to an image.
Arguments
x: 3D tensor, single image.
seed: Random seed.
Returns
A randomly transformed version of the input (same shape).
standardize
standardize(x)
Applies the normalization configuration in-place to a batch of inputs.
x
is changed in-place since the function is mainly used internally
to standarize images and feed them to your network. If a copy of x
would be created instead it would have a significant performance cost.
If you want to apply this method without changing the input in-place
you can call the method creating a copy before:
standarize(np.copy(x))
Arguments
x: Batch of inputs to be normalized.
Returns
The inputs, normalized.


This is a simple model of a piston in a cylinder:
The translational flange is connected to the piston, the cylinder has a flowPort at the bottom.
The position of the piston within the cylinder goes from 0 at the bottom to L (length of the cylinder) at the top of the cylinder. If the piston leaves the cylinder, an assertion is triggered.
The piston is considered without mass.
Note: Take care of the initial conditions. The position of the piston (relative to the support) should be in the range (0, L). The position of the flange (as well as of the support, if useSupport=true) is influenced by connected components.


Download This Plugin
Back To jQueryScript.Net
jQuery List DragSort Examples
Simple 1D list:
bread
vegetables
meat
milk
butter
ice cream
2D list with drag and drop between lists:
10
11
12
13
14
15
16
17
18
1
2
3
4
5
6
7
8
9


We specialize in Donating Organ, Blood & Tissue
Many people who need transplants of organs and tissues cannot get them because of a shortage of donations. Of the 123,000 Americans currently on the waiting list for a lifesaving organ transplant, more than 101,000 need a kidney, but only 17,000 people receive one each year. Every day 12 people die waiting for a kidney. Organ and tissue donation helps others by giving them a second chance at life.
VISION: The cycle of life and death is a very beautiful, undeniable phenomenon that is in the hands of a power that is beyond human. But saving lives and giving the gift of breath is in our power and is completely human. How do we do that? By donating our organs. Organ donation is the need of the day and a hope for the brighter future of those who are not as blessed as most of us. There are those who need an organ to survive and then there are those who have transcended into a different world and whose organs could infuse life in many who are still in this world. Our non-profit organisation, Donate Life, serves as the bridge between the two.
Contact us and we'll get back to you within 24 hours.
LUCKNOW, INDIA
+00<PHONE_NUMBER>
myemail@something.com


Instructions:
Use the BST Delete algorith to delete the values in the array. Click on a node to erase its value, or if there is a previously erased value, to move the value into the erased node or replace the node.


{% include 'peering/ix/inc/sessions_table.html' with bulk_edit_url='peering:internetexchangepeeringsession_bulk_edit' bulk_delete_url='peering:internetexchangepeeringsession_bulk_delete' %}
{% include 'utils/search_form.html' %}
Import Peering Sessions from {{ internet_exchange.router }}
Do you want to import all peering sessions found on {{ internet_exchange.router }} matching the following prefixes?
{% for ix_prefix in internet_exchange.get_prefixes %}


Simpson Quotes should appear here - if not then the API may be down!
Author
Quotes sourced from Simpsons Quote API by JLuboff


API¶
rundeck¶
| summary: | rundeckrun package |
|---|---|
| license: | Apache License, Version 2.0 |
| author: | Mark LaPerriere |
| contact: |<EMAIL_ADDRESS>|
| copyright: | Mark LaPerriere 2015 |
rundeck.api¶
| summary: | Direct interaction with Rundeck server API |
|---|---|
| license: | Apache License, Version 2.0 |
| author: | Mark LaPerriere |
| contact: |<EMAIL_ADDRESS>|
| copyright: | Mark LaPerriere 2015 |
-
class
rundeck.api.
RundeckApi
(server='localhost', protocol='http', port=4440, api_token=None, **kwargs)¶ Same as RundeckApiTolerant and complains on every Rundeck Server error or 4xx/5xx HTTP status code.
-
class
rundeck.api.
RundeckApiTolerant
(server='localhost', protocol='http', port=4440, api_token=None, **kwargs)¶ As close to the Rundeck API as possible. The “Tolerant” class does not throw exceptions when HTTP status codes are returned. Probably don’t want/need to use this.
IVariables: - connection :
RundeckConnection
a
RundeckConnection
instance
-
__init__
(server='localhost', protocol='http', port=4440, api_token=None, **kwargs)¶ Initialize a Rundeck API instance
Parameters: - server : str
hostname of the Rundeck server (default: localhost)
- protocol : str (‘http’|’https’)
(default: ‘http’)
- port : int
Rundeck server port (default: 4440)
- api_token : str
valid Rundeck user API token
Keywords: - base_path : str
Custom base URL path for Rundeck server URLs [default: None]
- usr : str
Rundeck user name (used in place of api_token)
- pwd : str
Rundeck user password (used in combo with usr)
- api_version : int
Rundeck API version
- connection :
RundeckConnection
an instance of a
RundeckConnection
or instance of a subclass ofRundeckConnection
-
delete_job
(job_id, **kwargs)¶ Wraps Rundeck API DELETE /job/[ID]
Parameters: - job_id : str
Rundeck Job ID
Returns: A Requests response
Return type: requests.models.Response
-
execution
(execution_id, **kwargs)¶ Wraps Rundeck API GET /execution/[ID]
Parameters: - execution_id : str
Rundeck Job Execution ID
Returns: Return type:
-
execution_abort
(execution_id, **kwargs)¶ Wraps Rundeck API GET /execution/[ID]/output
Parameters: - execution_id : str
Rundeck Job Execution ID
Keywords: - asUser : str
specifies a username identifying the user who aborted the execution
Returns: A Requests response
Return type: requests.models.Response
-
execution_output
(execution_id, **kwargs)¶ Wraps Rundeck API GET /execution/[ID]/output
Parameters: - execution_id : str
Rundeck Job Execution ID
Keywords: - fmt : str
the format of the response one of
ExecutionOutputFormat
values
(default: ‘text’)- offset : int
byte offset to read from in the file, 0 indicates the beginning
- lastlines : int
number of lines to retrieve from the end of the available output, overrides offset
- lastmod : int
a unix millisecond timestamp; return output data received after this timestamp
- maxlines : int
maximum number of lines to retrieve forward from the specified offset
Returns: A Requests response
Return type: requests.models.Response
-
executions
(project, **kwargs)¶ Wraps Rundeck API GET /executions
Parameters: - project : str
name of the project
Keywords: - statusFilter : str
one of
Status
values
- abortedbyFilter : str
user name that aborted the execution
- userFilter : str
user name that initiated the execution
- recentFilter | str
Use a simple text format to filter executions that completed within a period of time; the format is “XY” where ‘X’ is an integer and ‘Y’ is one of:
- h:hour
- d:day
- w:week
- m:month
- y:year
So a value of “2w” would return executions that completed within the last two weeks
- begin : int | str
either a unix millisecond timestamp or a W3C dateTime “yyyy-MM-ddTHH:mm:ssZ”
- end : int | str
either a unix millisecond timestamp or a W3C dateTime “yyyy-MM-ddTHH:mm:ssZ”
- adhoc : bool
includes adhoc executions
- jobIdListFilter : str | list
one or more job ids to include
- excludeJobIdListFilter : str | list
one or more job ids to exclude
- jobListFilter : str | list
one or more full job group/name to include
- excludeJobListFilter : str | list
one or more full job group/name to include
- groupPath : str
a group or partial group path to include, special “-” setting matches top level jobs only
- groupPathExact : str
an exact group path to include, special “-” setting matches top level jobs only
- excludeGroupPath : str
a group or partial group path to exclude, special “-” setting matches top level jobs only
- excludeGroupPathExact : str
an exact group path to exclude, special “-” setting matches top level jobs only
- jobExactFilter : str
an exact job name
- exludeJobExactFilter : str
an exact job name to exclude
- max : int
maximum number of results to include in response (default: 20)
- offset : int
offset for result set (default: 0)
Returns: Return type:
-
executions_running
(project, **kwargs)¶ Wraps Rundeck API GET /executions/running
Parameters: - project : str
the name of a project
Returns: Return type:
-
history
(project, **kwargs)¶ Wraps Rundeck API GET /history
Parameters: - project : str
name of the project
Keywords: - jobIdFilter : str
include event for a job ID
- reportIdFilter : str
include events for an event name
- userFilter : str
include events created by user
- statFilter : str
one of
Status
values
- jobListFilter : str | list
one or more full job group/name to include
- excludeJobListFilter : str | list
one or more full job group/name to include
- recentFilter | str
Use a simple text format to filter executions that completed within a period of time; the format is “XY” where ‘X’ is an integer and ‘Y’ is one of:
- h:hour
- d:day
- w:week
- m:month
- y:year
So a value of “2w” would return executions that completed within the last two weeks
- begin : int | str
either a unix millisecond timestamp or a W3C dateTime “yyyy-MM-ddTHH:mm:ssZ”
- end : int | str
either a unix millisecond timestamp or a W3C dateTime “yyyy-MM-ddTHH:mm:ssZ”
- max : int
maximum number of results to include in response (default: 20)
- offset : int
offset for result set (default: 0)
Returns: Return type:
-
job
(job_id, **kwargs)¶ Wraps Rundeck API GET /job/[ID]
Parameters: - job_id : str
Rundeck Job ID
Keywords: - fmt : str
the format of the response one of
JobDefFormat
values
(default: ‘xml’)
Returns: A Requests response
Return type: requests.models.Response
-
job_executions
(job_id, **kwargs)¶ Wraps Rundeck API GET /job/[ID]/executions
Parameters: - job_id : str
a Job ID
Keywords: - status : str
one of
Status
values
- max : int
maximum number of results to include in response (default: 20)
- offset : int
offset for result set (default: 0)
Returns: Return type:
-
job_run
(job_id, **kwargs)¶ Wraps Rundeck API GET /job/[ID]/run
Parameters: - job_id : str
Rundeck Job ID
Keywords: - argString : str | dict
argument string to pass to job - if str, will be passed as-is else if dict will be converted to compatible string
- loglevel : str(‘DEBUG’, ‘VERBOSE’, ‘INFO’, ‘WARN’, ‘ERROR’)
logging level (default: ‘INFO’)
- asUser : str
user to run the job as
- exclude-precedence : bool
set the exclusion precedence (default True)
- hostname : str
hostname inclusion filter
- tags : str
tags inclusion filter
- os-name : str
os-name inclusion filter
- os-family : str
os-family inclusion filter
- os-arch : str
os-arch inclusion filter
- os-version : str
os-version inclusion filter
- name : str
name inclusion filter
- exlude-hostname : str
hostname exclusion filter
- exlude-tags : str
tags exclusion filter
- exlude-os-name : str
os-name exclusion filter
- exlude-os-family : str
os-family exclusion filter
- exlude-os-arch : str
os-arch exclusion filter
- exlude-os-version : str
os-version exclusion filter
- exlude-name : str
name exclusion filter
Returns: Return type:
-
jobs
(project, **kwargs)¶ Wraps Rundeck API GET /jobs
Parameters: - project : str
the name of a project
Keywords: - idlist : str | list(str, ...)
specify a comma-separated string or a list of Job IDs to include
- groupPath : str
specify a group or partial group path to include all jobs within that group path or “*” for all groups or “-” to match top level jobs only (default: “*”)
- jobFilter : str
specify a job name filter; will match any job name that contains this string
- jobExactFilter : str
specify an exact job name to match
- groupPathExact : str
specify an exact group path to match or “-” to match the top level jobs only
Returns: Return type:
-
jobs_delete
(idlist, **kwargs)¶ Wraps Rundeck API POST /jobs/delete
Parameters: - ids : str | list(str, ...)
a list of job ids or a string of comma seperated job ids to delete
Returns: Return type:
-
jobs_export
(project, **kwargs)¶ Wraps Rundeck API GET /jobs/export
Parameters: - name : str
name of the project
Keywords: - fmt : str (‘xml’|’yaml’)
format of the definition string (default: ‘xml’)
- idlist : list(str, ...)
a list of job ids to return
- groupPath : str
a group path, partial group path or the special top level only char ‘-‘
- jobFilter: str
find job names that include this string
Returns: A Requests response
Return type: requests.models.Response
-
jobs_import
(definition, **kwargs)¶ Wraps Rundeck API POST /jobs/import
Parameters: - definition : str
a string representing a job definition
Keywords: - fmt : str (‘xml’|’yaml’)
format of the definition string (default: ‘xml’)
- dupeOption : str (‘skip’|’create’|’update’)
a value to indicate the behavior when importing jobs which already exist (default: ‘create’)
- project : str
specify the project that all job definitions should be imported to otherwise all job definitions must define a project
- uuidOption : str (‘preserve’|’remove’)
preserve or remove UUIDs in imported jobs - preserve may fail if a UUID already exists
Returns: Return type:
-
project
(project, **kwargs)¶ Wraps Rundeck API /project/[NAME]
Parameters: - project : str
name of Project
Keywords: - create : bool
Create the project if it is not found (requires API version >11) [default: True for API version >11 else False]
Returns: A
RundeckResponse`
Return type:
-
project_jobs
(project, **kwargs)¶ - Simulates Rundeck API GET /project/[NAME]/jobs
- Note: Can’t find any difference between this and /jobs, so this method is just a
- synonym for the jobs method
Parameters: - project : str
name of the project
Keywords: - idlist : list(str, ...)
a list of job ids to return
- groupPath : str
a group path, partial group path or the special top level only char ‘-‘
- jobFilter: str
find job names that include this string
- jobExactFilter : str
a specific job name to return
- groupPathExact : str
a exact group path to match or the special top level only char ‘-‘
Returns: Return type:
-
project_resources
(project, **kwargs)¶ Wraps Rundeck API GET /project/[NAME]/resources
Parameters: - project : str
name of the project
Keywords: - fmt : str
the format of the response one of
ExecutionOutputFormat
values
(default: ‘text’)- hostname : str
hostname inclusion filter
- tags : str
tags inclusion filter
- os-name : str
os-name inclusion filter
- os-family : str
os-family inclusion filter
- os-arch : str
os-arch inclusion filter
- os-version : str
os-version inclusion filter
- name : str
name inclusion filter
- exlude-hostname : str
hostname exclusion filter
- exlude-tags : str
tags exclusion filter
- exlude-os-name : str
os-name exclusion filter
- exlude-os-family : str
os-family exclusion filter
- exlude-os-arch : str
os-arch exclusion filter
- exlude-os-version : str
os-version exclusion filter
- exlude-name : str
name exclusion filter
Returns: Return type:
-
project_resources_refresh
(project, providerURL=None, **kwargs)¶ Wraps Rundeck API POST /project/[NAME]/resources/refresh
Parameters: - project : str
name of the project
- providerURL : str
Specify the Resource Model Provider URL to refresh the resources from; otherwise the configured provider URL in the project.properties file will be used
Returns: Return type:
-
project_resources_update
(project, nodes, **kwargs)¶ Wraps Rundeck API POST /project/[NAME]/resources
Parameters: - project : str
name of the project
- nodes : list(RundeckNode, ...)
a list of RundeckNode objects
Returns: Return type:
-
projects
(method='get', **kwargs)¶ An interface to the Rundeck projects API endpoint support
Parameters: - method : str
GET will retrieve a project, POST will create a project
Returns: Return type:
-
run_command
(project, command, **kwargs)¶ Wraps Rundeck API GET /run/command
Parameters: - project : str
name of the project
- command : str
the shell command string to run
Keywords: - nodeThreadcount : int
the number of threads to use
- nodeKeepgoing : bool
if True, continue executing on other nodes even if some fail
- asUser : str
specifies a username identifying the user who ran the command; requires runAs permission
- hostname : str
hostname inclusion filter
- tags : str
tags inclusion filter
- os-name : str
os-name inclusion filter
- os-family : str
os-family inclusion filter
- os-arch : str
os-arch inclusion filter
- os-version : str
os-version inclusion filter
- name : str
name inclusion filter
- exlude-hostname : str
hostname exclusion filter
- exlude-tags : str
tags exclusion filter
- exlude-os-name : str
os-name exclusion filter
- exlude-os-family : str
os-family exclusion filter
- exlude-os-arch : str
os-arch exclusion filter
- exlude-os-version : str
os-version exclusion filter
- exlude-name : str
name exclusion filter
Returns: Return type:
-
run_script
(project, scriptFile, **kwargs)¶ Wraps Rundeck API POST /run/script
Parameters: - project : str
name of the project
- scriptFile : str
a string containing the script file content
Keywords: - argString : str | dict
argument string to pass to job - if str, will be passed as-is else if dict will be converted to compatible string
- nodeThreadcount : int
the number of threads to use
- nodeKeepgoing : bool
if True, continue executing on other nodes even if some fail
- asUser : str
specifies a username identifying the user who ran the command; requires runAs permission
- scriptInterpreter : str
a command to use to run the script (requires API version 8 or higher)
- interpreterArgsQuoted : bool
if True the script file and arguments will be quoted as the last argument to the scriptInterpreter (requires API version 8 or higher)
- hostname : str
hostname inclusion filter
- tags : str
tags inclusion filter
- os-name : str
os-name inclusion filter
- os-family : str
os-family inclusion filter
- os-arch : str
os-arch inclusion filter
- os-version : str
os-version inclusion filter
- name : str
name inclusion filter
- exlude-hostname : str
hostname exclusion filter
- exlude-tags : str
tags exclusion filter
- exlude-os-name : str
os-name exclusion filter
- exlude-os-family : str
os-family exclusion filter
- exlude-os-arch : str
os-arch exclusion filter
- exlude-os-version : str
os-version exclusion filter
- exlude-name : str
name exclusion filter
Returns: Return type:
-
run_url
(project, scriptURL, **kwargs)¶ Wraps Rundeck API POST /run/url Requires API version >4
Parameters: - project : str
name of the project
- scriptURL : str
a URL referencing a script to download and run
Keywords: - argString : str | dict
argument string to pass to job - if str, will be passed as-is else if dict will be converted to compatible string
- nodeThreadcount : int
the number of threads to use
- nodeKeepgoing : bool
if True, continue executing on other nodes even if some fail
- asUser : str
specifies a username identifying the user who ran the command; requires runAs permission
- scriptInterpreter : str
a command to use to run the script (requires API version 8 or higher)
- interpreterArgsQuoted : bool
if True the script file and arguments will be quoted as the last argument to the scriptInterpreter (requires API version 8 or higher)
- hostname : str
hostname inclusion filter
- tags : str
tags inclusion filter
- os-name : str
os-name inclusion filter
- os-family : str
os-family inclusion filter
- os-arch : str
os-arch inclusion filter
- os-version : str
os-version inclusion filter
- name : str
name inclusion filter
- exlude-hostname : str
hostname exclusion filter
- exlude-tags : str
tags exclusion filter
- exlude-os-name : str
os-name exclusion filter
- exlude-os-family : str
os-family exclusion filter
- exlude-os-arch : str
os-arch exclusion filter
- exlude-os-version : str
os-version exclusion filter
- exlude-name : str
name exclusion filter
Returns: Return type:
-
system_info
(**kwargs)¶ Wraps Rundeck API GET /system/info
Returns: A RundeckResponse
Return type: RundeckResponse
- connection :
-
class
rundeck.api.
RundeckNode
(name, hostname, username, **kwargs)¶ Represents a Rundeck node; mainly for serializing to XML
IVariables: - name : str
name of the node
- hostname : str
hostname of the node
- username : str
username used for the remote connection
- description : str
node description
- osArch : str
the node’s operating system architecture
- osFamily : str
the node’s operating system system family
- osName : str
the node’s operating system name
- tags : list(str, ...)
a list of filtering tags
- editUrl : str
URL to an external resource model editor service
- remoteUrl : str
URL to an external resource model service
- attributes : dict
a dictionary of name/value pairs to be used as node attributes
-
__init__
(name, hostname, username, **kwargs)¶ Initialize a RundeckNode instance
Parameters: - name : str
name of the node
- hostname : str
hostname of the node
- username : str
username used for the remote connection
Keywords: - description : str
node description
- osArch : str
the node’s operating system architecture
- osFamily : str
the node’s operating system system family
- osName : str
the node’s operating system name
- tags : list(str, ...)
a list of filtering tags
- editUrl : str
URL to an external resource model editor service
- remoteUrl : str
URL to an external resource model service
- attributes : dict
a dictionary of name/value pairs to be used as node attributes
-
serialize
()¶ serializes the instance to XML
Return type: str Returns: an XML string
-
xml
¶
-
rundeck.api.
api_version_check
(api_version, required_version)¶ Raises a NotImplementedError if the api_version of the connection isn’t sufficient
rundeck.client¶
| summary: | Python client for interacting with Rundeck API |
|---|---|
| license: | Apache License, Version 2.0 |
| author: | Mark LaPerriere |
| contact: |<EMAIL_ADDRESS>|
| copyright: | Mark LaPerriere 2015 |
-
class
rundeck.client.
Rundeck
(server='localhost', protocol='http', port=4440, api_token=None, **kwargs)¶ -
__init__
(server='localhost', protocol='http', port=4440, api_token=None, **kwargs)¶ Initialize a Rundeck API Client
Parameters: - server : str
hostname of the Rundeck server (default: localhost)
- protocol : str (‘http’|’https’)
(default: ‘http’)
- port : int
Rundeck server port (default: 4440)
- api_token : str
valid Rundeck user API token
Keywords: - base_path : str
Custom base URL path for Rundeck server URLs [default: None]
- usr : str
Rundeck user name (used in place of api_token)
- pwd : str
Rundeck user password (used in combo with usr)
- api_version : int
Rundeck API version
- api : RundeckApi
an instance of a RundeckApi or subclass of RundeckApi
- connection : RundeckConnection
an instance of a RundeckConnection or instance of a subclass of RundeckConnection
-
abort_execution
(*args, **kwargs)¶ Abort a running Job Execution
Parameters: - execution_id : str
Rundeck Job Execution ID
Keywords: - asUser : str
specifies a username identifying the user who aborted the execution
Returns: abort status information
Return type: dict
-
create_project
(*args, **kwargs)¶ Create a project Requires API version >11
Parameters: - project : str
name of the project
Keywords: - config : dict
a dictionary of key/value pairs for the project config
Returns: detailed information about a project
Return type: dict
-
delete_job
(job_id, **kwargs)¶ Delete a job
Parameters: - job_id : str
Rundeck Job ID
Returns: success
Return type: bool
-
delete_jobs
(idlist, **kwargs)¶ Bulk Job delete
Parameters: - idlist : str | list(str, ...)
a list of job ids or a string of comma seperated job ids to delete
Returns: results of the bulk delete with details
Return type: dict
Example Response:
{ 'requestCount': 3, 'allsuccessful': False, 'succeeded': { 'id': '1234-123-123-12345', 'message': 'success', }, 'failed': { 'id': '9876-986-987-98765', 'message': 'Job ID 9876-986-987-98765 does not exist', }, }
-
execution_status
(*args, **kwargs)¶ Get the status of an execution
Parameters: - execution_id : int
Rundeck Job Execution ID
Returns: an Execution
Return type: dict
-
export_job
(job_id, **kwargs)¶ Export a job definition in XML or YAML format
Parameters: - job_id : str
Rundeck Job ID
Keywords: - fmt : str
the format of the response one of JobDefFormat.values (default: ‘xml’)
Returns: a Job definition
Return type: str
-
get_execution_output
(execution_id, **kwargs)¶ Get the output for an execution in various formats
Parameters: - execution_id : str
Rundeck Job Execution ID
Keywords: - fmt : str
the format of the response one of ExecutionOutputFormat.values (default: ‘json’)
- raw : bool
return the results of the Execution output request unmodified (default: False)
- offset : int
byte offset to read from in the file, 0 indicates the beginning
- lastlines : int
number of lines to retrieve from the end of the available output, overrides offset
- lastmod : int
a unix millisecond timestamp; return output data received after this timestamp
- maxlines : int
maximum number of lines to retrieve forward from the specified offset
Returns: Execution output
Return type: str | dict | RundeckResponse
-
get_job_id
(project, name=None, **kwargs)¶ - Fetch a Job ID that matches the filter criterea specified
- WARNING: if there is more than one job that matches the specified criteria, this
- will return the first job that Rundeck server includes in the list of matches
Parameters: - project : str
the name of a project
Keywords: - idlist : str | list(str, ...)
specify a comma-separated string or a list of Job IDs to include
- groupPath : str
specify a group or partial group path to include all jobs within that group path or “*” for all groups or “-” to match top level jobs only (default: “*”)
- jobFilter : str
specify a job name filter; will match any job name that contains this string
- jobExactFilter : str
specify an exact job name to match
- groupPathExact : str
specify an exact group path to match or “-” to match the top level jobs only
Returns: a Rundeck Job ID
Return type: str
-
get_job_ids
(project, **kwargs)¶ Fetch a list of Job IDs that match the filter criterea specified
Parameters: - project : str
the name of a project
Keywords: - limit : int
limit the result set to 1 or more jobs
- idlist : str | list(str, ...)
specify a comma-separated string or a list of Job IDs to include
- groupPath : str
specify a group or partial group path to include all jobs within that group path or “*” for all groups or “-” to match top level jobs only (default: “*”)
- jobFilter : str
specify a job name filter; will match any job name that contains this string
- jobExactFilter : str
specify an exact job name to match
- groupPathExact : str
specify an exact group path to match or “-” to match the top level jobs only
Returns: a list of Job IDs
Return type: list
-
get_project
(*args, **kwargs)¶ Fetch a project details
Parameters: - project : str
the name of a project
Returns: detailed information about a project
Return type: dict
-
get_project_history
(*args, **kwargs)¶ List history events for a project
Parameters: - project : str
name of the project
Keywords: - jobIdFilter : str
include event for a job ID
- reportIdFilter : str
include events for an event name
- userFilter : str
include events created by user
- statFilter : str
one of Status.values
- jobListFilter : str | list
one or more full job group/name to include
- excludeJobListFilter : str | list
one or more full job group/name to include
- recentFilter | str
Use a simple text format to filter executions that completed within a period of time; the format is “XY” where ‘X’ is an integer and ‘Y’ is one of:
- h:hour
- d:day
- w:week
- m:month
- y:year
So a value of “2w” would return executions that completed within the last two weeks
- begin : int | str
either a unix millisecond timestamp or a W3C dateTime “yyyy-MM-ddTHH:mm:ssZ”
- end : int | str
either a unix millisecond timestamp or a W3C dateTime “yyyy-MM-ddTHH:mm:ssZ”
- max : int
maximum number of results to include in response (default: 20)
- offset : int
offset for result set (default: 0)
Returns: A RundeckResponse
Return type:
-
import_job
(*args, **kwargs)¶ Import a job definition string in XML or YAML format
Parameters: - definition : str
a string representing a job definition
Keywords: - fmt : str (‘xml’|’yaml’)
format of the definition string (default: ‘xml’)
- dupeOption : str (‘skip’|’create’|’update’)
a value to indicate the behavior when importing jobs which already exist (default: ‘create’)
- project : str
specify the project that all job definitions should be imported to otherwise all job definitions must define a project
- uuidOption : str (‘preserve’|’remove’)
preserve or remove UUIDs in imported jobs - preserve may fail if a UUID already exists
Returns: the results of the job import
Return type: dict
-
import_job_file
(file_path, **kwargs)¶ Read in the contents of a job definition file for import
Parameters: - file_path : str
the path to a readable job definition file
Keywords: - file_format : str (‘xml’|’yaml’)
if not specified it will be derived from the file extension (default: ‘xml’)
Raises IOError: raised if job definition file can not be found or is not readable
Returns: a dict object representing a set of Rundeck status messages
Return type: dict
-
jobs_export
(project, **kwargs)¶ Export a the job definitions for a project in XML or YAML format
Parameters: - name : str
name of the project
Keywords: - fmt : str (‘xml’|’yaml’)
format of the definition string (default: ‘xml’)
- idlist : list(str, ...)
a list of job ids to return
- groupPath : str
a group path, partial group path or the special top level only char ‘-‘
- jobFilter: str
find job names that include this string
Returns: a job definition
Return type: str
-
list_job_executions
(*args, **kwargs)¶ Get a list of executions of a Job
Parameters: - job : str
A Job ID
Keywords: - status : str
one of Status.values
- max : int
maximum number of results to include in response (default: 20)
- offset : int
offset for result set (default: 0)
Returns: a list of Job Executions
Return type: list(dict, ...)
-
list_jobs
(*args, **kwargs)¶ Fetch a listing of jobs for a project
Parameters: - project : str
the name of a project
Keywords: - limit : int
limit the result set to 1 or more jobs
- idlist : str | list(str, ...)
specify a comma-separated string or a list of Job IDs to include
- groupPath : str
specify a group or partial group path to include all jobs within that group path or “*” for all groups or “-” to match top level jobs only (default: “*”)
- jobFilter : str
specify a job name filter; will match any job name that contains this string
- jobExactFilter : str
specify an exact job name to match
- groupPathExact : str
specify an exact group path to match or “-” to match the top level jobs only
Returns: a list of Jobs
Return type: list(dict, ...)
-
list_project_resources
(project, **kwargs)¶ Retrieve the list of resources for a project. If fmt is unspecified, a python dictionary will be returned
Parameters: - project : str
name of the project
Keywords: - fmt : str
- the format of the response, either ‘python’ (dict), ‘xml’ or ‘yaml’
(default: ‘python’)
- hostname : str
hostname inclusion filter
- tags : str
tags inclusion filter
- os-name : str
os-name inclusion filter
- os-family : str
os-family inclusion filter
- os-arch : str
os-arch inclusion filter
- os-version : str
os-version inclusion filter
- name : str
name inclusion filter
- exlude-hostname : str
hostname exclusion filter
- exlude-tags : str
tags exclusion filter
- exlude-os-name : str
os-name exclusion filter
- exlude-os-family : str
os-family exclusion filter
- exlude-os-arch : str
os-arch exclusion filter
- exlude-os-version : str
os-version exclusion filter
- exlude-name : str
name exclusion filter
Returns: A list of resources or a string representing the requested resources in the requested format
Return type: list({‘name’: str, ‘hostname’: str, ‘username’: str)) | str
-
list_projects
(*args, **kwargs)¶ Get a list of projects
Returns: a list of Rundeck projects Return type: list(dict, ...)
-
list_running_executions
(*args, **kwargs)¶ Retrieve running executions
Parameters: - project : str
the name of a project (use “*” for all projects - API v9+ required)
Returns: a list of Job Executions
Return type: list(dict, ...)
-
query_executions
(*args, **kwargs)¶ Execution query
Parameters: - project : str
name of the project
Keywords: - statusFilter : str
one of Status.values
- abortedbyFilter : str
user name that aborted the execution
- userFilter : str
user name that initiated the execution
- recentFilter | str
Use a simple text format to filter executions that completed within a period of time; the format is “XY” where ‘X’ is an integer and ‘Y’ is one of:
- h:hour
- d:day
- w:week
- m:month
- y:year
So a value of “2w” would return executions that completed within the last two weeks
- begin : int | str
either a unix millisecond timestamp or a W3C dateTime “yyyy-MM-ddTHH:mm:ssZ”
- end : int | str
either a unix millisecond timestamp or a W3C dateTime “yyyy-MM-ddTHH:mm:ssZ”
- adhoc : bool
includes adhoc executions
- jobIdListFilter : str | list
one or more job ids to include
- excludeJobIdListFilter : str | list
one or more job ids to exclude
- jobListFilter : str | list
one or more full job group/name to include
- excludeJobListFilter : str | list
one or more full job group/name to include
- groupPath : str
a group or partial group path to include, special “-” setting matches top level jobs only
- groupPathExact : str
an exact group path to include, special “-” setting matches top level jobs only
- excludeGroupPath : str
a group or partial group path to exclude, special “-” setting matches top level jobs only
- excludeGroupPathExact : str
an exact group path to exclude, special “-” setting matches top level jobs only
- jobExactFilter : str
an exact job name
- exludeJobExactFilter : str
an exact job name to exclude
- max : int
maximum number of results to include in response (default: 20)
- offset : int
offset for result set (default: 0)
Returns: a list of Job Executions
Return type: list(dict, ...)
-
refresh_project_resources
(*args, **kwargs)¶ Refresh the resources for a project via its Resource Model Provider URL
Parameters: - project : str
name of the project
- providerURL : str
Specify the Resource Model Provider URL to refresh the resources from; otherwise the configured provider URL in the project.properties file will be used
Returns: success message
Return type: dict
-
run_adhoc_command
(*args, **kwargs)¶ Run a command
Parameters: - project : str
name of the project
- command : str
the shell command string to run
Keywords: - nodeThreadcount : int
the number of threads to use
- nodeKeepgoing : bool
if True, continue executing on other nodes even if some fail
- asUser : str
specifies a username identifying the user who ran the command; requires runAs permission
- hostname : str
hostname inclusion filter
- tags : str
tags inclusion filter
- os-name : str
os-name inclusion filter
- os-family : str
os-family inclusion filter
- os-arch : str
os-arch inclusion filter
- os-version : str
os-version inclusion filter
- name : str
name inclusion filter
- exlude-hostname : str
hostname exclusion filter
- exlude-tags : str
tags exclusion filter
- exlude-os-name : str
os-name exclusion filter
- exlude-os-family : str
os-family exclusion filter
- exlude-os-arch : str
os-arch exclusion filter
- exlude-os-version : str
os-version exclusion filter
- exlude-name : str
name exclusion filter
Returns: Execution ID
Return type: int
-
run_adhoc_script
(*args, **kwargs)¶ Run a script downloaded from a URL
Parameters: - project : str
name of the project
- scriptFile : str
a string containing the script file content
Keywords: - argString : str | dict
argument string to pass to job - if str, will be passed as-is else if dict will be converted to compatible string
- nodeThreadcount : int
the number of threads to use
- nodeKeepgoing : bool
if True, continue executing on other nodes even if some fail
- asUser : str
specifies a username identifying the user who ran the command; requires runAs permission
- scriptInterpreter : str
a command to use to run the script (requires API version 8 or higher)
- interpreterArgsQuoted : bool
if True the script file and arguments will be quoted as the last argument to the scriptInterpreter (requires API version 8 or higher)
- hostname : str
hostname inclusion filter
- tags : str
tags inclusion filter
- os-name : str
os-name inclusion filter
- os-family : str
os-family inclusion filter
- os-arch : str
os-arch inclusion filter
- os-version : str
os-version inclusion filter
- name : str
name inclusion filter
- exlude-hostname : str
hostname exclusion filter
- exlude-tags : str
tags exclusion filter
- exlude-os-name : str
os-name exclusion filter
- exlude-os-family : str
os-family exclusion filter
- exlude-os-arch : str
os-arch exclusion filter
- exlude-os-version : str
os-version exclusion filter
- exlude-name : str
name exclusion filter
Returns: Execution ID
Return type: int
-
run_adhoc_url
(*args, **kwargs)¶ Run a script downloaded from a URL
Parameters: - project : str
name of the project
- scriptUrl : str
a URL referencing a script to download and run
Keywords: - argString : str | dict
argument string to pass to job - if str, will be passed as-is else if dict will be converted to compatible string
- nodeThreadcount : int
the number of threads to use
- nodeKeepgoing : bool
if True, continue executing on other nodes even if some fail
- asUser : str
specifies a username identifying the user who ran the command; requires runAs permission
- scriptInterpreter : str
a command to use to run the script (requires API version 8 or higher)
- interpreterArgsQuoted : bool
if True the script file and arguments will be quoted as the last argument to the scriptInterpreter (requires API version 8 or higher)
- hostname : str
hostname inclusion filter
- tags : str
tags inclusion filter
- os-name : str
os-name inclusion filter
- os-family : str
os-family inclusion filter
- os-arch : str
os-arch inclusion filter
- os-version : str
os-version inclusion filter
- name : str
name inclusion filter
- exlude-hostname : str
hostname exclusion filter
- exlude-tags : str
tags exclusion filter
- exlude-os-name : str
os-name exclusion filter
- exlude-os-family : str
os-family exclusion filter
- exlude-os-arch : str
os-arch exclusion filter
- exlude-os-version : str
os-version exclusion filter
- exlude-name : str
name exclusion filter
Returns: Execution ID
Return type: int
-
run_job
(job_id, **kwargs)¶ - Wraps job_run method and implements a blocking mechanism to wait for the job to
complete (within reason, i.e. timeout and interval)
See Rundeck.job_run docstring for additional keyword args
Parameters: - job_id : str
Rundeck Job ID
Keywords: - timeout : int | float
how many seconds to wait for a completed status (default: 60)
- interval : int | float
how many seconds to sleep between polling cycles (default: 3)
Returns: Details about the Job Execution
Return type: dict
-
system_info
(*args, **kwargs)¶ Get Rundeck Server System Info
Returns: a dict object representing the Rundeck system information Return type: dict
-
update_project_resources
(*args, **kwargs)¶ Update the resources for a project
Parameters: - project : str
name of the project
- nodes : list
a list of nodes in the form of a three tuple ((name, hostname, username)) or a dictionary at least the following keys ‘name’, ‘hostname’ and ‘username’
Returns: success message
Return type: dict
-
-
rundeck.client.
is_job_id
(job_id)¶ - Checks if a Job ID “looks” like a UUID. It does not check if it exists as a job in Rundeck.
- And of course, a Rundeck Job ID does not have to be a “UUID”. Any unique string will do so be prepared for false negatives if you customize your job ids.
Parameters: - job_id : str
a Rundeck Job ID
Return type: bool
rundeck.connection¶
| summary: | Connection object for Rundeck client |
|---|---|
| license: | Apache License, Version 2.0 |
| author: | Mark LaPerriere |
| contact: |<EMAIL_ADDRESS>|
| copyright: | Mark LaPerriere 2015 |
| requires: | requests |
-
class
rundeck.connection.
RundeckConnection
(server='localhost', protocol='http', port=4440, api_token=None, **kwargs)¶ -
request
(method, url, params=None, headers=None, data=None, files=None, quiet=False)¶ Override to call raise_for_status forcing non-successful HTTP responses to bubble up as as exceptions
Parameters: - method : str
the HTTP request method
- url : str
API URL
- params : dict({str: str, ...})
a dict of query string params (default: None)
- data : str
the url encoded payload necessary for some commands (default: None)
- files : dict({str: str, ...})
a dict of files to upload (default: None)
- quiet : bool
suppress calling raise_for_status (default: False)
Return type: requests.Response
-
-
class
rundeck.connection.
RundeckConnectionTolerant
(server='localhost', protocol='http', port=4440, api_token=None, **kwargs)¶ -
__init__
(server='localhost', protocol='http', port=4440, api_token=None, **kwargs)¶ Initialize a Rundeck API client connection
Parameters: - server : str
hostname of the Rundeck server (default: localhost)
- protocol : str
either http or https (default: ‘http’)
- port : int
Rundeck server port (default: 4440)
- api_token : str
**Preferred method of authentication - valid Rundeck user API token (default: None)
Keywords: - base_path : str
Custom base URL path for Rundeck server URLs [default: None]
- usr : str
Rundeck user name (used in place of api_token)
- pwd : str
Rundeck user password (used in combo with usr)
- api_version : int
Rundeck API version
- verify_cert : bool
Server certificate verification (HTTPS only)
-
call
(method, url, params=None, headers=None, data=None, files=None, parse_response=True, **kwargs)¶ Format the URL in preparation for making the HTTP request and return a RundeckResponse if requested/necessary
Parameters: - method : str
the HTTP request method
- url : str
API URL
- params : dict({str: str, ...})
a dict of query string params (default: None)
- headers : dict({str: str, ...})
a dict of HTTP headers
- data : str
the XML or YAML payload necessary for some commands (default: None)
- files : dict({str: str, ...})
a dict of files to upload
- parse_response : bool
parse the response as an xml message
Keywords: passed along to RundeckConnection.request
Return type: requests.Response
-
make_api_url
(api_url)¶ Creates a valid Rundeck URL based on the API and the base url of the RundeckConnection
Parameters: - api_url : str
the Rundeck API URL
Return type: str
Returns: full Rundeck API URL
-
make_url
(path)¶ Creates a valid Rundeck URL based base url of the RundeckConnection
Parameters: - path : str
the Rundeck http URL path
Return type: str
Returns: full Rundeck URL
-
request
(method, url, params=None, headers=None, data=None, files=None)¶ Sends the HTTP request to Rundeck
Parameters: - method : str
the HTTP request method
- url : str
API URL
- params : dict({str: str, ...})
a dict of query string params (default: None)
- data : str
the url encoded payload necessary for some commands (default: None)
- files : dict({str: str, ...})
a dict of files to upload
Return type: requests.Response
-
-
class
rundeck.connection.
RundeckResponse
(response, client_api_version, as_dict_method=None)¶ -
__init__
(response, client_api_version, as_dict_method=None)¶ Parses an XML string into a convenient Python object
Parameters: - response : requests.Response
an instance of the requests.Response returned by the associated command request
-
api_version
¶
-
as_dict
¶
-
message
¶
-
pprint
(*args, **kwargs)¶
-
raise_for_error
(msg=None)¶
-
success
¶
-
-
rundeck.connection.
memoize
(obj)¶
rundeck.defaults¶
| summary: | Default values |
|---|---|
| license: | Apache License, Version 2.0 |
| author: | Mark LaPerriere |
| contact: |<EMAIL_ADDRESS>|
| copyright: | Mark LaPerriere 2015 |
-
class
rundeck.defaults.
DupeOption
¶ -
CREATE
= 'create'¶
-
SKIP
= 'skip'¶
-
UPDATE
= 'update'¶
-
keys
= ['SKIP', 'CREATE', 'values', 'UPDATE']¶
-
values
= ['skip', 'create', 'update']¶
-
-
class
rundeck.defaults.
ExecutionOutputFormat
¶ -
TEXT
= 'text'¶
-
XML
= 'xml'¶
-
YAML
= 'yaml'¶
-
keys
= ['XML', 'YAML', 'values', 'TEXT']¶
-
values
= ['xml', 'yaml', 'text']¶
-
-
class
rundeck.defaults.
JobDefFormat
¶ -
XML
= 'xml'¶
-
YAML
= 'yaml'¶
-
keys
= ['XML', 'YAML', 'values']¶
-
values
= ['xml', 'yaml']¶
-
-
class
rundeck.defaults.
Status
¶ -
ABORTED
= 'aborted'¶
-
FAILED
= 'failed'¶
-
PENDING
= 'pending'¶
-
RUNNING
= 'running'¶
-
SKIPPED
= 'skipped'¶
-
SUCCEEDED
= 'succeeded'¶
-
keys
= ['FAILED', 'RUNNING', 'SKIPPED', 'values', 'ABORTED', 'SUCCEEDED', 'PENDING']¶
-
values
= ['failed', 'running', 'skipped', 'aborted', 'succeeded', 'pending']¶
-
-
class
rundeck.defaults.
UuidOption
¶ -
PRESERVE
= 'preserve'¶
-
REMOVE
= 'remove'¶
-
keys
= ['PRESERVE', 'values', 'REMOVE']¶
-
values
= ['preserve', 'remove']¶
-
-
rundeck.defaults.
enum
(name, *sequential, **named)¶
rundeck.exceptions¶
| summary: | Exceptions |
|---|---|
| license: | Apache License, Version 2.0 |
| author: | Mark LaPerriere |
| contact: |<EMAIL_ADDRESS>|
| copyright: | Mark LaPerriere 2015 |
-
exception
rundeck.exceptions.
ApiVersionNotSupported
¶ This library does not support the version of the API requested
-
exception
rundeck.exceptions.
InvalidAuthentication
¶ The method of authentication is not valid
-
exception
rundeck.exceptions.
InvalidDupeOption
¶ The dupeOption specified is invalid
-
exception
rundeck.exceptions.
InvalidJobArgument
¶ The Job name or ID is not valid
-
exception
rundeck.exceptions.
InvalidJobDefinitionFormat
¶ The specified job definition format is not supported
-
exception
rundeck.exceptions.
InvalidResourceSpecification
¶ The resource specified does not meet requirements.
-
exception
rundeck.exceptions.
InvalidResponseFormat
¶ The requested response format is not supported
-
exception
rundeck.exceptions.
InvalidUuidOption
¶ The uuidOption specified is invalid
-
exception
rundeck.exceptions.
JobNotFound
¶ The Job could not be found in the Project
-
exception
rundeck.exceptions.
MissingProjectArgument
¶ The requested action requires a Project name to be supplied
rundeck.transforms¶
| summary: | Transformations for RundeckResponses to simple dicts for consumption |
|---|---|
| license: | Apache License, Version 2.0 |
| author: | Mark LaPerriere |
| contact: |<EMAIL_ADDRESS>|
| copyright: | Mark LaPerriere 2015 |
| requires: | requests |
-
rundeck.transforms.
events
(resp)¶
-
rundeck.transforms.
execution
(resp)¶
-
rundeck.transforms.
execution_abort
(resp)¶
-
rundeck.transforms.
execution_output
(resp)¶
-
rundeck.transforms.
executions
(resp)¶
-
rundeck.transforms.
is_transform
(func)¶ A simple decorator that marks a function as a “trasform” which allows the transform decorator to only reference functions that are specifically intended to transform client method call responses.
-
rundeck.transforms.
job_import_status
(resp)¶
-
rundeck.transforms.
jobs
(resp)¶
-
rundeck.transforms.
jobs_delete
(resp)¶
-
rundeck.transforms.
project
(resp)¶
-
rundeck.transforms.
project_resources
(resp)¶
-
rundeck.transforms.
projects
(resp)¶
-
rundeck.transforms.
run_execution
(resp)¶
-
rundeck.transforms.
success_message
(resp)¶
-
rundeck.transforms.
system_info
(resp)¶
-
rundeck.transforms.
transform
(resp_type)¶ A decorator to take a RundeckResponse and pass it through one of the is_transform marked functions above
rundeck.util¶
| summary: | Utility functions for the package |
|---|---|
| license: | Apache License, Version 2.0 |
| author: | Mark LaPerriere |
| contact: |<EMAIL_ADDRESS>|
| copyright: | Mark LaPerriere 2015 |
-
rundeck.util.
attr2dict
(el)¶ Turns an elements attrib dict into... wait for it... a dict. Yea, it’s silly to me too. But, according to the ElementTree docs, using the Element.attrib attribute directly is not recommended - don’t look at me - I just work here.
Parameters: el : ElementTree.Element Returns: a dictionary of element attrib key/value pairs Return type: dict
-
rundeck.util.
child2dict
(el)¶ Turns an ElementTree.Element’s children into a dict using the node names as dict keys and and the node text as dict values
Parameters: el : ElementTree.Element Returns: a dictionary of element key(tag name)/value(node text) pairs Return type: dict
-
rundeck.util.
cull_kwargs
(api_keys, kwargs)¶ Strips out the api_params from kwargs based on the list of api_keys !! modifies kwargs inline
Parameters: - api_keys : list | set | tuple
an iterable representing the keys of the key value pairs to pull out of kwargs
- kwargs : dict
a dictionary of kwargs
Returns: a dictionary the API params
Return type: dict
-
rundeck.util.
dict2argstring
(argString)¶ Converts an argString dict into a string otherwise returns the string unchanged
Parameters: - argString : str | dict
argument string to pass to job - if str, will be passed as-is else if dict will be converted to compatible string
Returns: an argString
Return type: str
-
rundeck.util.
node2dict
(el)¶ Combines both the attr2dict and child2dict functions


Class Schedule (
)
Credits:
buzz.min.js by Jay Salvat.
Bell mp3 by Daniel Simon. Downloaded from soundbible.com


Several weeks ago, as part of our Dev Bootcamp prep phase, we had to take a quiz that would help determine our Gregorc Thinking Style so we could be more aware of how we think and learn. With this knowledge we could adjust our training so we could be more successful, hopefully. There are 4 types of mind styles and we could have some atributes of each, although most likely one or two would be dominant.
Read More
This is a simple cheat sheet about JavaScript objects.
Read More
Pairing was something I was initial afraid to do. It was another opportunity to expose my knowledge, or lack there of, to others in an environment where I could be critized. In prior pairing sessions, my experiences were not pleasant and seemed a waste of at least one person's time. The person driving did all the work and the other person was left out of the process other than to watch and do small talk. But at Dev Bootcamp, I have learned how to pair correctly.
Read More
Often we need to sort data as part of our processing logic, and it is also a common interview question to construct a sort. There various methods to generate a sorted list of items. In this post I will take a look at sorting array data with Ruby. I will look at merge sort, quick sort and the bubble sort.
Read More
Blogging did not come easily for me. It's like flossing. You kow you should do it, and you are better for having done it, but it just does not flow like coding does. A couple of years ago, I signed up for an account with WordPress, and went through the process of customizing the look of the site, but I could not get myself to write anything. I felt that I would be judged by what I wrote and so any topic I chose, I had to know as much as anyone and do a really great job on it.
Read More
For week 7 of Phase 0 at DBC we have been given the task to write about the following.
Revisit your "Affirming your Values" blog post and relate it to what you learned about stereotype threat.
How do you feel when you think about your values? Do you think it can help you mediate stereotype threat
if you recognize you are in it? Can you think of any other exercises you can use to help you when you are
feeling down (for whatever reason) at DBC?
Read More
SQL Injection is a form of web attack in which the attacking software (bot) attempts to learn about the database of a website,
or to alter the database or data, by passing extra SQL commands as part of data being sent to a web server by a web page.
Most commonly, this works by the bot appending SQL commands to a form field that is then sent and
executed against a database as in this example from Wikipedia.
An innocent select statement can be altered into something malicious.
Read More
What is stereotype threat? It is a condition that can affect minorities and women in which their performance of a task can confirm a negative stereotype of their group despite their abilities being better. This performance hit is caused by anxiety caused by having to prove an attribute, like intelligence, and thinking that it would be viewed in racial or gender terms.
Read More
Object Oriented Programming (OO) and Functional programming are two very different approaches to writing programs. OO approaches programming with classes as the main construct to create programs. Functional programming uses functions as the main construct.
Read More
There is a debate raging in the software community about software quality. Specifically the lack of it, or more likely, the mis-placement of it. Many of us became aware of quality issues in the recent launch of the government medical insurance site, healthcare.gov. Where the system could not handle the volume of users an possibly did not function even when the demand was down. And if you are a Rails developer, you have probably heard David Heinemeier Hansson's talk about unit testing and Test Driven Development (TDD).
Read More
Classes are an important component of Ruby programming. They can be used to model
real objects that have properties and behavior. In Ruby the properties are called instance variables. The behavior happens in methods. With these, one can simulate almost anything.
Read More
Map is a method of the enumerable class. It is considered one of the most important functional methods in Ruby. It works by iterating over the elements of an array, returning an array which is composed of the results of the block that is executed on each element. If no block is provided an enumerator is returned for each element of the array. From Ruby Docs we see the following code example.
Read More
This week we watched a video by Shereef Bishay. Although the video was recorded about a year an a half ago, he explains the Dev Bootcamp experience from how it started to how it still works today. That experience can best be described by the title of this week's blog: Chefs in the Kitchen. The meaning behind this is that instead of a traditional learning environment where the curriculum is detailed and served to you like a meal in a restaurant, at Dev Bootcamp, the student is placed in the kitchen and invited to get involved in the creative process with the chefs.
Read More
JavaScript's current popularity did not happen overnight. It was created in 1995
by Brendan Eich at Netscape to give some small scripting ability to their Navigator
browser. Since then the language has slowly improved over time and become a
language known by all web developers.
Read More
Every HTML element on a web page occupies a space that can be thought of as a box. In web design terms this is referred to as the "Box Model". This box is composed of four parts: the content, the padding, the border, and the margin.
Read More
1) When you think of the times in your life where you’ve been the happiest, the proudest, or the most satisfied, which of the following values come to mind?
Read More
This is an analysis of three of my favorite websites.
Read More


|
|
Thursday, February 5, 2004 Updated 12:55 a.m. CST
Schizophrenic convicted murderer gets 60-day reprieve
A federal judge on Wednesday granted an execution stay for a schizophrenic murderer, reopening the debate over how Texas treats mentally ill violent offenders. Scott Panetti was granted a 60-day stay a day before he was to be executed for the 1992 shooting deaths of his estranged wife's parents.
|
|
John Everett / Chronicle
Fourteen players from the LaMarque High School state championship football team pose for a picture after they signed to play college football. Of the three Houston-area high schools to win state championships in football, La Marque has the most to sign on national signing day.
Full story.
|
Rebuilding of Smith Street delayed by mayor
Heavy rain, flooding may make morning a mess
Dems turn to South as next battleground
Gay couples in Massachusetts to be first to wed
Witness says Stewart took tip, sold stock
Network, NFL clamp down in wake of scandal
Suspect questioned in missing girl case
Metropolitan
Rodeo sales a little slow out of chute
Prairie View students can register and vote
Mother pushes for meningitis immunizations
Area police question statistics on searches
Dome redevelopers want more time for study
Nation
Pair allegedly forced child to deliver food to corpse
Tenet will go to bat over Iraq
Rumsfeld defends WMD data
Few clues found in ricin probe as Senate convenes
Ford Sport Trac fares worst in rollover test
Ridge: Recent steps prevented an attack
World
Blair stands by move to fight in Iraq
Pakistani scientist admits selling expertise
Thousands' names deleted from Slovenian registry
Iran leader moves to reinstate barred candidates
Kids' deaths raise bird flu toll to 15
Sports
Rockets beat Bucks, end four-game skid
Harris lifts UT over Colorado
UTEP's resurgence has Rice on defensive
Texans losing Stewart to Chargers
Business
Energy giants plan no burst of drilling
Pentagon comptroller supportive of Halliburton
Texas oil-field veteran's hat in ring
Hydrogen cars may be decades away
Ruling comes down in port's favor
Online retailers' sales surge
Arts and Entertainment
Review: 'Producers' draws wows on the road
Review: Small venue makes music magic
Cube understands why 'Citizen Kane' is a cut above
Badu takes off the wraps and goes underground
Grammys likely to embrace OutKast's 'Love Below'
Back to top
|
|
|
|
|
TODAY IN HOUSTON
|
|
|
GETTING AROUND • Road closings:Texas 288: Southbound, FM 518 to Texas 6, alternate lane closed 7 a.m.-5:30 p.m.
• Real-time traffic
DATEBOOK JUST FOR FUN • Cabaret: John Kander and Fred Ebb's Tony-winning musical about an aspiring chanteuse and a young writer caught up in the decadent nightlife of Berlin on the eve of the Third Reich. At 7:30 p.m. at the Great Caruso Dinner Theater. Call<PHONE_NUMBER>. ON TV: • Friends: Danny DeVito plays a stripper at a bachelorette party for Phoebe (Lisa Kudrow). At 7 p.m. on NBC. • TV listings
|
Bob LeVitus drools over the new 20-inch iMac. Friday in Business.
|
| INSIDE |
Watch 'Em is back! Got a problem with potholes, broken light posts, clogged drainage ditches? The Chronicle puts the spotlight on problems the bureaucrats just can't seem to get fixed.
McClain Q&A: Ask NFL writer John McClain a question about the Texans or the NFL. We'll post his answers to the best questions.
The News Bizarre: Check out the news that's odd, funny or just downright weird.
| |
|
|
|
|
|


This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)
This product includes cryptographic software written by Eric Young<EMAIL_ADDRESS>This product includes the following software whose respective licenses as specified in the sahi/docs/licenses directory.
- Rhino (JS Engine)
- Apache Commons Codec Library
- OpenSSL
- TrueLicense
- H2 Database
- Fusion Charts
- Apache POI Library
- CodeMirror
- jQuery
- NicEdit
- Handsontable
- c3p0
- Javassist
- jQuery EasyUI
- jQuery MD5
This product uses IzPack for building its installer.


The speed dial supports many advanced usage scenarios. This demo shows many of them mixed together.
You can easily use ng-repeat
with the speed dial, but it requires a slightly
different HTML structure in order to support the necessary DOM changes/styling.
Simply ensure that your ng-repeat
is on a div
(or any other tag)
that wraps your items.
You can also use the buttons to open a dialog. When clicked, the buttons above will open a dialog showing a message which item was clicked.
The speed dial also supports hiding using the standard ng-hide
attribute.
Each action item supports a tooltip using the standard approach as can be seen above.


math::combinatorics - Combinatorial functions in the Tcl Math Library
The math package contains implementations of several functions useful in combinatorial problems. The math::combinatorics extends the collections based on features in Tcl 8.6. Note: the meaning of the partitionP function, Catalan and Stirling numbers is explained on the MathWorld website
Returns the natural logarithm of the Gamma function for the argument z.
The Gamma function is defined as the improper integral from zero to positive infinity of
t**(x-1)*exp(-t) dt
The approximation used in the Tcl Math Library is from Lanczos, ISIAM J. Numerical Analysis, series B, volume 1, p. 86. For "x > 1", the absolute error of the result is claimed to be smaller than 5.5*10**-10 -- that is, the resulting value of Gamma when
exp( ln_Gamma( x) )
is computed is expected to be precise to better than nine significant figures.
Returns the factorial of the argument x.
For integer x, 0 <= x <= 12, an exact integer result is returned.
For integer x, 13 <= x <= 21, an exact floating-point result is returned on machines with IEEE floating point.
For integer x, 22 <= x <= 170, the result is exact to 1 ULP.
For real x, x >= 0, the result is approximated by computing Gamma(x+1) using the ::math::ln_Gamma function, and the result is expected to be precise to better than nine significant figures.
It is an error to present x <= -1 or x > 170, or a value of x that is not numeric.
Returns the binomial coefficient C(n, k)
C(n,k) = n! / k! (n-k)!
If both parameters are integers and the result fits in 32 bits, the result is rounded to an integer.
Integer results are exact up to at least n = 34. Floating point results are precise to better than nine significant figures.
Returns the Beta function of the parameters z and w.
Beta(z,w) = Beta(w,z) = Gamma(z) * Gamma(w) / Gamma(z+w)
Results are returned as a floating point number precise to better than nine significant digits provided that w and z are both at least 1.
Return the number of permutations of n items. The returned number is always an integer, it is not limited by the range of 32-or 64-bits integers using the arbitrary precision integers available in Tcl 8.5 and later.
The number of items to be permuted.
Return the number of variations k items selected from the total of n items. The order of the items is taken into account.
The number of items to be selected from.
The number of items to be selected in each variation.
Return the number of combinations of k items selected from the total of n items. The order of the items is not important.
The number of items to be selected from.
The number of items to be selected in each combination.
Return the number of derangements of n items. A derangement is a permutation where each item is displaced from the original position.
The number of items to be rearranged.
Return the n'th Catalan number. The number n is expected to be 1 or larger. These numbers occur in various combinatorial problems.
The index of the Catalan number
Calculate a Stirling number of the first kind (signed version, m cycles in a permutation of n items)
Number of items
Number of cycles
Calculate a Stirling number of the second kind (m non-empty subsets from n items)
Number of items
Number of subsets
Calculate the number of ways an integer n can be written as the sum of positive integers.
Number in question
Return the list of permutations of the numbers 0, ..., n-1.
The number of items to be permuted.
Return the list of variations of k numbers selected from the numbers 0, ..., n-1. The order of the items is taken into account.
The number of items to be selected from.
The number of items to be selected in each variation.
Return the list of combinations of k numbers selected from the numbers 0, ..., n-1. The order of the items is ignored.
The number of items to be selected from.
The number of items to be selected in each combination.
Return the list of derangements of the numbers 0, ..., n-1.
The number of items to be rearranged.
Return the list of all subsets of the numbers 0, ..., n-1.
The number of items to be rearranged.
Create a TclOO object for returning permutations one by one. If the last permutation has been reached an empty list is returned.
The number of items to be rearranged.
Return the next permutation of n objects.
Reset the object, so that the command next returns the complete list again.
Register a list of items to be permuted, using the nextElements command.
The list of n items that will be permuted.
Return the next permulation of the registered items.
Create a TclOO object for returning combinations one by one. If the last combination has been reached an empty list is returned.
The number of items to be rearranged.
Return the next combination of n objects.
Reset the object, so that the command next returns the complete list again.
Register a list of items to be permuted, using the nextElements command.
The list of n items that will be permuted.
Return the next combination of the registered items.
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category math of the Tcllib Trackers. Please also report any ideas for enhancements you may have for either package and/or documentation.
When proposing code changes, please provide unified diffs, i.e the output of diff -u.
Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar.
Mathematics


---
layout: post
title: Pair Programming Anti-patterns
published: 1
categories:
---
Notes from Tim Mackinnon's session about Pairing anit-patterns at XPDay.
The flipchart lists the following:
- Magpie - likes shiny things
- Keyboard hog - doesn't share control
- Backseat driver - calls out typos, keyboard shortcuts
- Runaway train
- Heathcliff - silent
- Won't Go Home
A few of my own tips if you are working with a problematic pair:
- Ask for a break - tea or research strands in parallel
- Ask for a whiteboard discussion
- Switch pairs
- Continue alone and ask for review


Brand
Toggle navigation
First Item
Second Item
Third Item
LOGIN FORM
Login As
First Item
Second Item
Third Item
Log In
Forgot your email or password?


I'm an Management Information Systems major and student of Iowa State Univeirsty. I enjoy programing, developing websites, playing the drums, and producing music. Look below to find examples of my work.
Pictures. Videos. Samples.
| See More. |
Java. Python. HTML. CSS. SQL.
| See More. |
Recording. Mastering. Samples.
| See More. |
Send me an email.
| See More. |


--- layout: post title: 200 countries, 200 years, 4 minutes - Minority Report Style date: 2010-12-10 13:43:51.000000000 -05:00 comments: true categories: [] published: true ---


This appendix serves two purposes: It includes some additional low-level details, and it summarizes in one place the expressions and statements of the language, including some that we have not used elsewhere in this book. The low-level material relates primarily to the complexities of C++'s declarator syntax, and the details of the built-in arithmetic types, both of which the language inherits from the C programming language. These details are not necessary for understanding the programs in this book, and indeed are not necessary to writing good C++ programs. However, there are many programs that do require knowledge of these details, so it may be useful to review them.
In this appendix we describe syntax as follows: constant-width
symbols stand for
themselves, italic words stand for syntactic categories,... means zero or more repetitions
of the item that immediately precedes it, and phrases enclosed in italic brackets [ ]
are
optional. Moreover, we use italic curly braces { }
for grouping, and |
to show alternatives.
For example,
declaration-stmt: decl-specifiers [ declarator [ initializer ]] [, declarator [ initializer ]]... ;
means that a declaration-stmt
consists of decl-specifiers
, followed by zero or more
declarators
, each optionally followed by an initializer
, followed by a semicolon.